gpg: signing failed: Bad secret key
Ingo Klöcker
kloecker at kde.org
Thu Jan 25 13:05:12 CET 2024
On Mittwoch, 24. Januar 2024 22:05:53 CET Leo Coogan via Gnupg-users wrote:
> It looks like there's only that non-functioning signing subkey. Huh. Do
> I need to create a new signing subkey?
Copy the content of ~/.gnupg/private-keys-v1.d from your fedora machine to
your nixox machine (after making a backup) to restore the missing secret key.
Regards,
Ingo
> On 1/24/24 12:37, Werner Koch wrote:
> > On Tue, 23 Jan 2024 12:38, Leo Coogan said:
> >> sec# ed25519 2023-03-03 [SC] [expires: 2025-03-02]
> >>
> >> C0156FFBE02B4E03F7792EB53D7F617CDE5C9A9B
> >> Keygrip = 38953FFD2BD558606473A90A6EDD5B26F03FA3CB
> >
> > You don't have a signing key. Ther primary key has been taken offline
> > ('#') and can thus not be used for signing.
> >
> >> ssb cv25519 2023-03-03 [E] [expires: 2025-03-02]
> >>
> >> 143454E3276F11C51D01B35363D14EA6FDB00D9F
> >> Keygrip = 02EE4AA6089E9DEF7792F548C01FFD8C05F1EC21
> >
> > The subkey is not capable of signing (by usage flags and algorithm).
> >
> > Did you had another signing subkey and that one expired?
> > Add
> >
> > --list-options show-unusable-subkeys
> >
> > to the listing command to check.
> >
> >
> > Salam-Shalom,
> >
> > Werner
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gnupg-users
-------------- 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: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20240125/c54d8195/attachment-0001.sig>
More information about the Gnupg-users
mailing list