gpgsm: can't sign using 'email at gmail.com': No public key
Nick
atod101101 at gmail.com
Mon May 12 18:47:38 CEST 2025
> On May 12, 2025, at 9:27 AM, Werner Koch <wk at gnupg.org> wrote:
>
> On Sun, 11 May 2025 12:08, Nick said:
>
>> Is it because --list-keys shows 0 for signed keys?
>> gpgsm: can't sign using 'email at gmail.com <mailto:email at gmail.com>': No
>> public key
>
> The error message might be confusing, as it should show "no secret key"
> but in your case it seems that you don't vene have the public key for
> "email at gmail.com".
>
> BTW, having mailto: as part of the mail address in angle brackets is not
> the best idea: For gpg any many other tools this looks like the real
> mail address is "mailto:email at gmail.com" and not "email at gmail.com”.
mailto: per your description was part of the problem from what I recall.
More information about the Gnupg-users
mailing list