Error on gpg key exported from linux to Mac

Ingo Klöcker kloecker at
Sun Mar 19 09:02:01 CET 2023

On Samstag, 18. März 2023 21:23:43 CET yung mgc via Gnupg-users wrote:
> I have exported a gpg key from linux to Mac. Exporting commands on linux
> are as follows
> And when I tried to change its passwd, gpg said
> ```
> error getting keyinfo from agent: System error w/o errno
> pKey has only stub or on-card key items - no passphrase to change.
> ```
> The versions of gpgs on Linux and Mac are 2.2.41 and 2.4.0

What does `gpg -K <KEYID of your key>` output on Linux and Mac?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Gnupg-users mailing list