lukesampson / pshazz

Give your powershell some pizazz.
The Unlicense
577 stars 40 forks source link

Replacing ssh agent with gpg-agent #15

Closed jyrkij closed 5 years ago

jyrkij commented 9 years ago

Is there any way to replace ssh-agent with gpg-agent? I'd like to do this to get my smart card working properly for OpenSSH.

lukesampson commented 9 years ago

It should be possible in theory, but I don't think anyone has done this yet. You would need to create a plugin that handles the gpg-agent calls (you could use the SSH Plugin as a starting point). And then you would need to modify your Pshazz theme to use the new plugin.

Sorry I haven't had any experience with gpg-agent, but I'd love to get a Pull Request if you can work out how to do it.