funtoo / keychain

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

Cannot pipe passphrase into keychain #105

Closed kim366 closed 5 years ago

kim366 commented 5 years ago

I retrieve the passphrase from another source's stdout and would like to pipe it into keychain. The contents that are piped in do not seem to be recognized, however; I am still being asked for the passphrase. Do I need to add an additional step?

An aternative solution would be getting the passphrase from the clipboard, but this would require implementation of this feature.

kim366 commented 5 years ago

I see the issue: keychain spawns SSH askpass and doesn't forward stdin. I'll try to make a PR