VirtusLab / gpki

Git Public Key Infrastructure
1 stars 0 forks source link

WARNING:gnupg:gpg returned a non-zero error code: 2 #66

Open mzarnowski opened 2 years ago

mzarnowski commented 2 years ago

We are asking gpg for a specific key to check for its existence. When it doesn't exist, we get this warning.

We need do the filtering by name/fingerprint in our wrapper, not delegating it to the python-gnupg.

mzarnowski commented 2 years ago

67 shows that there are still some instances of this warning left

mzarnowski commented 2 years ago

It seems the warning also happens when deleting a public key while private one still exists. It's worth adding a test for that probably