No pinentry but pinentry installed

2023-11-29 Thread Caleb Herbert

OS: GNU Guix System

caleb@miller ~ which pinentry
/home/caleb/.guix-home/profile/bin/pinentry
caleb@miller ~ cat ~/.gnupg/gpg-agent.conf
───┬───
   │ File: /home/caleb/.gnupg/gpg-agent.conf
   │ Size: 191 B
───┼───
   1   │ pinentry-program 
/gnu/store/rfy36kapnhx9djhxdi3a54x5p2n097xv-pinentry-gtk2-1.2.1/bin/pinentry-gtk-2

   2   │ default-cache-ttl 600
   3   │ max-cache-ttl 7200
   4   │ default-cache-ttl-ssh 1800
   5   │ max-cache-ttl-ssh 7200
───┴───
caleb@miller ~ gpg --export-secret-keys
gpg: key 1D8491A90EAAF79C2C4703847BD4B05F950655F8: error receiving key 
from agent: No pinentry - skipped
gpg: key 9759A4302192716BF627EB09F8FA778FF955FB20: error receiving key 
from agent: No pinentry - skipped
gpg: key DE84748EB625295D3DA758528B0AAA3568A35C3C: error receiving key 
from agent: No pinentry - skipped

gpg: WARNING: nothing exported
caleb@miller ~ 
/gnu/stor/gnu/store/rfy36kapnhx9djhxdi3a54x5p2n097xv-pinentry-gtk2-1.2.1/bin/pinentry-gtk-2


(pinentry-gtk-2:4807): Gtk-WARNING **: 13:13:03.314: Unable to locate 
theme engine in module_path: "adwaita",


(pinentry-gtk-2:4807): Gtk-WARNING **: 13:13:03.323: Unable to locate 
theme engine in module_path: "adwaita",

OK Pleased to meet you
^C
caleb@miller ~


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Failed to use GPG key for SSH

2023-07-12 Thread Caleb Herbert
On Wed, 2023-07-12 at 13:55 +0300, Teemu Likonen wrote:
> Secret keys are missing from this keyring, tells the "#" mark. Text
> "sec#" means that the primary secret key is missing and "ssb#" tells
> the
> same about secret subkeys. Those should read as "sec" and "ssb",
> without
> the "#" mark, or "sec>" or "ssb>" if the key data is actually on a
> smart
> card.
> 

That doesn't sound good. But I can decrypt and encrypt mail, and
connect to SSH, now that I've restarted gpg-agent.

-- 
Caleb Herbert
https://bluehome.net/csh/



signature.asc
Description: This is a digitally signed message part
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users


Failed to use GPG key for SSH

2023-07-12 Thread Caleb Herbert
I've followed the guide at
https://opensource.com/article/19/4/gpg-subkeys-ssh before, with
success. But lately, I haven't been able to use SSH.

I'll try to provide enough info below.

OS: Fedora Silverblue 38

[caleb@farnsworth ~]$ gpg --list-secret-keys 
/var/home/caleb/.gnupg/pubring.kbx
--
sec#  rsa3072 2023-06-29 [SC]
  631CC434A56B5CBDFF21234697643795FA3E4BCE
uid   [ultimate] Caleb Herbert 
ssb#  rsa3072 2023-06-29 [E]
ssb#  rsa2048 2023-06-29 [A]

[caleb@farnsworth ~]$ ls -la ~/.gnupg/
total 76
drwx--. 1 caleb caleb   230 Jul 11 21:59 .
drwx--. 1 caleb caleb   378 Jul 11 19:55 ..
drw---. 1 caleb caleb14 Jul  9 02:26 crls.d
-rw---. 1 caleb caleb19 Jul  8 22:00 gpg-agent.conf
drw---. 1 caleb caleb88 Jul  8 22:00 openpgp-revocs.d
drw---. 1 caleb caleb   264 Jul  8 22:00 private-keys-v1.d
-rw---. 1 caleb caleb  6498 Jul  9 00:37 pubring.kbx
-rw---. 1 caleb caleb  2718 Jul  8 22:00 pubring.kbx~
-rw---. 1 caleb caleb   600 Jul 11 19:46 random_seed
-rw---. 1 caleb caleb   758 Jul 11 21:59 sshcontrol
-rw---. 1 caleb caleb 49152 Jul  8 22:00 tofu.db
-rw---. 1 caleb caleb  1280 Jul  8 22:00 trustdb.gpg

[caleb@farnsworth ~]$ cat .gnupg/gpg-agent.conf 
enable-ssh-support

[caleb@farnsworth ~]$ tail .bashrc 
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi

unset rc

export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent

[caleb@farnsworth ~]$ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-
ssh-socket)
[caleb@farnsworth ~]$ gpgconf --launch gpg-agent
[caleb@farnsworth ~]$ ssh-add -L
The agent has no identities.

-- 
Caleb Herbert
https://bluehome.net/csh/


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users