[minor] Use 3 tries for pinetry (when not using local agent)
[minor] Return PGP error on private key decryption failure
Merge pull request #31 from gdestuynder/master

Minor fixes for pgp pinentry handling