import of GPG key doesn't work and doesn't give an error message
Robert J. Hansen
rjh at sixdemonbag.org
Sat Nov 16 23:34:31 CET 2024
> It won't be listed by --list-keys and doesn't give an error message.
It does, in fact.
rjh at sarah ~ % gpg --recv-keys 0x020898F03962F8B76B42D9F1E805C860F0E3CCB5
--verbose
gpg: Note: '--verbose' is not considered an option
gpg: "--verbose" not a key ID: skipping
gpg: key E805C860F0E3CCB5: no user ID
gpg: Total number processed: 1
"--verbose" needs to come before any commands. That's why you're not
seeing verbose output.
The reason why you're not importing the certificate is because the
certificate is corrupt or malformed. According to the OpenPGP
specification, a certificate must have at least one user ID. This
certificate has no user IDs, which means it's garbage data and GnuPG is
doing the right thing by not importing a corrupt or malformed certificate.
Hope this helps!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x1E7A94D4E87F91D5.asc
Type: application/pgp-keys
Size: 1355 bytes
Desc: OpenPGP public key
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241116/79de2ef9/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241116/79de2ef9/attachment.sig>
More information about the Gnupg-users
mailing list