Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpg-agent is started, but GPG_AGENT_INFO not recorded #126

Open
tastytea opened this issue Dec 20, 2020 · 2 comments
Open

gpg-agent is started, but GPG_AGENT_INFO not recorded #126

tastytea opened this issue Dec 20, 2020 · 2 comments

Comments

@tastytea
Copy link

OS: Gentoo Linux
Keychain version: 2.8.5
GPG version: 2.2.20

The command keychain --agents "ssh,gpg" --timeout $((60*16)) --inherit local --eval does not print GPG_AGENT_INFO and does not record it in ~/.keychain.

$ echo -e "-${SSH_AGENT_PID}-${GPG_AGENT_INFO}-"
---
$ pidof ssh-agent gpg-agent
$ rm -r ~/.keychain
$ eval $(keychain --agents "ssh,gpg" --timeout $((60*16)) --inherit local --eval)

 * keychain 2.8.5 ~ http://www.funtoo.org
 * Starting ssh-agent...
 * Starting gpg-agent...

$ echo -e "-${SSH_AGENT_PID}-${GPG_AGENT_INFO}-"
-23849--
$ pidof ssh-agent gpg-agent
23849 23876
$ cat ~/.keychain/$(hostname)-sh-gpg
@tastytea
Copy link
Author

If I call eval $(keychain --agents "ssh,gpg" --timeout $((60*16)) --inherit local --eval) a second time, GPG_AGENT_INFO is set and recorded in ~/.keychain/$(hostname)-sh-gpg.

@mrl5
Copy link

mrl5 commented Jul 16, 2022

hello @tastytea - if you'd like to report a bug kindly use https://bugs.funtoo.org/

you can also reach us on Discord - for more info check https://www.funtoo.org/Welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants