Update genkey's passwd input mechanism to support gpg2
genkey: fix backup key generation
Merge pull request #2 from tg-x/master

Update genkey's passwd input mechanism to support gpg2