funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
757 stars 107 forks source link

"Too few arguments" when used with --systemd #127

Open savchenko opened 3 years ago

savchenko commented 3 years ago

Software stack:

Distribution: Debian Bullseye (testing)
Kernel: 5.9.0-5-amd64
Systemd: 247.1-3+deb11u1
gpg (GnuPG): 2.2.20
libgcrypt: 1.8.7

Minimal reproducible config:

$ keychain --systemd --agents gpg 0xDEED803629B6FA56

 * keychain 2.8.5 ~ http://www.funtoo.org
 * Starting gpg-agent...
Too few arguments.
 * Known gpg key: 0xDEED803629B6FA56

$ gpg -K | grep 0xDEED803629B6FA56
sec   rsa4096/0xDEED803629B6FA56 2017-06-03 [SC] [expires: 2021-06-23]
mrl5 commented 2 years ago

hello @savchenko - 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

SuperSandro2000 commented 2 years ago

Having the same problem but I don't want to create a Jira account nor do I know how to properly use it.

grtcdr commented 1 year ago

I found that the --systemd option will only work when many of the other options are omitted.

I've detailed how to use it in the context of a systemd user service in this comment, although I'm not sure how sane/approved the solution might be.