"In the end if the individual who told me wants to tell the police they are welcome to do that," Mr Key said at a media conference at the time.
The question of Mr Key's knowledge became public after a a new chapter in the book John Key: Portrait of a Prime Minister quoted Mr Key saying: "Someone phoned and told me who the hacker was, but other than having a look at this person, I thought, 'Oh well ... nothing will come of it. Life goes on'."
The Prime Minister's knowledge of the identity of the hacker was a feature in documents released from a High Court file in which journalist Nicky Hager is challenging police efforts to search his house to find the identity of Rawshark.
Rawshark was a central figure in last year's election drama after he claimed to have hacked the computer of blogger Cameron Slater, passing the information to journalist Nicky Hager who used it to write the book Dirty Politics. The book purported to show an alliance between the National Party and elements in the blogosphere.
After publication, a police investigation was launched into the hacking of the computer which led to a search warrant executed on Nicky Hager's home. In a court case challenging the search warrant, Hager's lawyers claimed police hadn't exhausted investigative avenues, which they were obliged to before creating a situation which put a journalist's source protection in jeopardy. Hager has challenged the search warrant used by police to search his home. A judgment is expected from the High Court shortly.