rnp
rnp copied to clipboard
Check the problem with import of key with revoked subkeys.
Description
RNP reports rnp/src/librepgp/stream-key.cpp:1117 No secret key data
during attempt to import of the secret key with revoked subkeys.
Probably GnuPG deletes the secret key data if subkey is revoked, or it was stored on the smartcard.
See more details here: https://bugzilla.mozilla.org/show_bug.cgi?id=1674715
Tried exporting revoked subkeys from GnuPG and importing/decrypting on RNP side, and wasn't able to reproduce the issue.
Probably some older versions of GnuPG didn't use dummy s2k but just exported empty secret key data.