Question: what does it mean when someone puts their finger on their nose?
Answer: So it can be used as a way of signaling knowledge, that someone is clever, or a threat (as in, I'll sniff out whatever trouble you're up to). The use to mean 'secret' - which is how I know it - is another extension of this, and indeed the most common.