[–] nyir 11y ago ↗ Cool, sounds a lot like https://wiki.gentoo.org/wiki/Keychain, although probably a bit smaller.
[–] beagle3 11y ago ↗ If you're using gpg for key management, is there any reason to ever use the ssh-agent rather than the gpg-agent? [–] p4bl0 11y ago ↗ I was wondering the same thing, I use gpg-agent for both and it works perfectly well for me, and it seems to be the same for the author of the linked post.
[–] p4bl0 11y ago ↗ I was wondering the same thing, I use gpg-agent for both and it works perfectly well for me, and it seems to be the same for the author of the linked post.
[–] anon4 11y ago ↗ 1. Write a systemd service, name it e.g. mygpg.service and put it in ~/.config/systemd/user/mygpg.service2. systemctl --user --enable mygpg3. never write yet another race-prone startup script in your life [–] untothebreach 11y ago ↗ The author is a FreeBSD user[1], so doesn't have access to systemd.1: http://kouk.surukle.me/2013/11/06/my-linux-os-history/
[–] untothebreach 11y ago ↗ The author is a FreeBSD user[1], so doesn't have access to systemd.1: http://kouk.surukle.me/2013/11/06/my-linux-os-history/
[–] r4um 11y ago ↗ I wrote this https://github.com/r4um/ssh-authsock-hack to tackle these kind of problems.Uses LD_PRELOAD functionality to dynamically set the SSH_AUTH_SOCK environment variable.
6 comments
[ 3.4 ms ] story [ 23.3 ms ] thread2. systemctl --user --enable mygpg
3. never write yet another race-prone startup script in your life
1: http://kouk.surukle.me/2013/11/06/my-linux-os-history/
Uses LD_PRELOAD functionality to dynamically set the SSH_AUTH_SOCK environment variable.