Package: impass Version: 0.12.2-1 After transitioned to a new key (but failing to update ~/.impass/keyid), i tried to use impass to create a new password (yes, i saw the red warning message about being unable to verify the signature). Clicking "Create" in the gui after entering the new context string did nothing -- it just silently failed. on stderr, i see:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gpg/core.py", line 308, in encrypt self.op_encrypt_sign(recipients, flags, plaintext, ciphertext) File "/usr/lib/python3/dist-packages/gpg/core.py", line 163, in wrapper return _funcwrap(self, *args) File "/usr/lib/python3/dist-packages/gpg/core.py", line 141, in _funcwrap return errorcheck(result, name) File "/usr/lib/python3/dist-packages/gpg/errors.py", line 129, in errorcheck raise GPGMEError(retval, extradata) gpg.errors.GPGMEError: gpgme_op_encrypt_sign: Unspecified source: Unusable secret key During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/impass/gui.py", line 466, in simpleclicked self.create(None) File "/usr/lib/python3/dist-packages/impass/gui.py", line 486, in create self.db.save() File "/usr/lib/python3/dist-packages/impass/db.py", line 227, in save encdata = self._encryptDB(cleardata, keyid) File "/usr/lib/python3/dist-packages/impass/db.py", line 124, in _encryptDB encdata, _, _ = self._gpg.encrypt(data, [recipient], File "/usr/lib/python3/dist-packages/gpg/core.py", line 324, in encrypt raise errors.InvalidSigners( gpg.errors.InvalidSigners: F20691179038E5C6: No secret key It's appropriate that impass should not be able to make such a signature (and therefore probably appropriate to fail), but inappropriate to fail silently. there should be clearer diagnostics presented to the user in this case. --dkg
signature.asc
Description: PGP signature