Fix empty passphrase for PGP and return undefined for validSign for wrong public key