podman and gpg-agent #24830
Replies: 2 comments 1 reply
-
|
Probably related #23659 |
Beta Was this translation helpful? Give feedback.
-
|
This same problem breaks My use case was using gpg agent forwarding over ssh to push from a remote server. The new @matejvasek's workaround fixes this use case too; I'm just commenting here with more keywords to help the next guy find this post sooner. |
Beta Was this translation helpful? Give feedback.
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
podman5.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 signlaunches its owngpg-agentprocess. This is an issue for me since it conflicts with already runninggpg-agentlaunched bygpgCLI (either directly by callinggpgcommand or indirectly by callinggit).It means I have to restart the
pcscd.service(smartcard) service each time different agent access the smartcard.Observations:
gpg-agentlaunched bygpg/gitis started as/usr/bin/gpg-agent --supervisedand it has sockets under$XDG_RUNTIME_DIR/gnupg.gpg-agentlaunched bypodmanis started asgpg-agent --homedir $HOME/.gnupg --use-standard-socket --daemonand it has sockets under$HOME/.gnupg.Weirdest thing is that when I try do what
podmandoes it correctly indicates that somegpg-agentis 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