podman and gpg-agent #24830
matejvasek
started this conversation in
General
Replies: 1 comment 1 reply
-
Probably related #23659 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I run
podman
5.3.1 on Fedora 40 and I use smartcard (yubikey) for GPG. I also use GPG also for git authorization/commit signing.It appears that
podman image sign
launches its owngpg-agent
process. This is an issue for me since it conflicts with already runninggpg-agent
launched bygpg
CLI (either directly by callinggpg
command or indirectly by callinggit
).It means I have to restart the
pcscd.service
(smartcard) service each time different agent access the smartcard.Observations:
gpg-agent
launched bygpg/git
is started as/usr/bin/gpg-agent --supervised
and it has sockets under$XDG_RUNTIME_DIR/gnupg
.gpg-agent
launched bypodman
is started asgpg-agent --homedir $HOME/.gnupg --use-standard-socket --daemon
and it has sockets under$HOME/.gnupg
.Weirdest thing is that when I try do what
podman
does it correctly indicates that somegpg-agent
is already running.This makes absolutely no sense to me.
Is this intended behaviour? Am I doing anything wrong? Can I fix it, so podman uses the already running
gpg-agent
?Beta Was this translation helpful? Give feedback.
All reactions