Re: gpg: signing failed: Bad secret key

2024-01-25 Thread Ingo Klöcker
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

Re: gpg: signing failed: Bad secret key

2024-01-25 Thread Leo Coogan via Gnupg-users
Here's the command run on my fedora machine: ``` > gpg -K  --list-options show-unusable-subkeys /home/lcoogan/.gnupg/pubring.kbx sec   ed25519 2023-03-03 [SC] [expires: 2025-03-02]   C0156FFBE02B4E03F7792EB53D7F617CDE5C9A9B uid   [ultimate] Leo

Re: gpg: signing failed: Bad secret key

2024-01-24 Thread Werner Koch via Gnupg-users
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

Re: gpg: signing failed: Bad secret key

2024-01-23 Thread Leo Coogan via Gnupg-users
This is Nixos. I don't believe I have two binaries of gpg. My Nixos config contains: ```nix     programs.gnupg.agent = {     enable = true;     enableSSHSupport = true;     }; ``` and the package pinentry-gnome is installed. I did `which` gpg and gpg2, and

Re: gpg: signing failed: Bad secret key

2024-01-20 Thread Werner Koch via Gnupg-users
On Fri, 19 Jan 2024 14:19, Leo Coogan said: > When I run `git commit -m` on nixos, I receive this error: For debugging add "verbose" to ~/.gnupg/gpg.conf . This should give you more information what's up. Shalom-Salam, Werner -- The pioneers of a warless world are the youth that refuse