ugly error when failed to sign because of wrong password
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
If I try to sign a snap, but fail the password three times, I get back this error:
error: cannot sign assertion: cannot sign assertion: cannot sign using GPG: /usr/bin/gpg --personal-digest-preferences SHA512 --default-key 0x993DD0E6F134F4FC5EC9498E212D9EBF5179F05F --detach-sign failed: exit status 2 ("gpg: Invalid passphrase; please try again ...\ngpg: Invalid passphrase; please try again ...\ngpg: no default secret key: bad passphrase\ngpg: signing failed: bad passphrase\n")
Failed to sign build assertion for u1test20161006_0.1_all.snap.
To reproduce: snapcraft sign-build test.snap, and enter the wrong password three times.
Evaluation history
No evaluation history available.