Mailing List Archive

gpg: signing failed: No secret key
I get these endearing messages.

I cannot sign my message with the key.


I cannot delete the secret key.

I can decrypt with the secret key





gpg: signing failed: No secret key
gpg: message: clear-sign failed: No secret key

gpg: key "6O0PDA84A36B6C98B261AC2020546703CDADFA53" not found
gpg: 6O0PDA84A36B6C98B261AC2020546703CDADFA53: delete key failed: Not found

sec# nistp521 2023-08-11 [SC]

6O0PDA84A36B6C98B261AC2020546703CDADFA53
uid [ unknown] Richardh Bostrom <bostrom.richardh@proton.me>
ssb nistp521 2023-08-11 [E]

gpg --delete-secret-keys CDSXFA53
gpg (GnuPG) 2.2.27; Copyright (C) 2021 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


gpg: key "CDSXFA53" not found
gpg: CDSXFA53: delete key failed: Not found




Thank you.
Re: gpg: signing failed: No secret key [ In reply to ]
Please don't send HTML to this list.

> gpg: key "6O0PDA84A36B6C98B261AC2020546703CDADFA53" not found

That's not a valid key ID. Key IDs are strings of hexadecimal digits.
Your second 'digit' there is the letter O, which is not a valid hexit.

> gpg --delete-secret-keys CDSXFA53

That's not a valid key ID. Neither S nor X are valid hexits.