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

Confirmation request seems not to work #55

Open
guahki opened this issue Aug 4, 2021 · 1 comment
Open

Confirmation request seems not to work #55

guahki opened this issue Aug 4, 2021 · 1 comment

Comments

@guahki
Copy link

guahki commented Aug 4, 2021

Hi,

I found this project searching for a SSH Agent working with PowerShell as well as GitBash (MSYS).
I do (currently) not use the Windows-Cert (YubiKey) features, but use it as a "normal" SSH agent. While testing, I realized, ssh-add -c <key-file> does not work as expected. The key gets added, but no confirmation has to be done on usage. I took the following steps in a GitBash as PoC:

$ ssh-add -c <path-to-key-file>
Enter passphrase for <path-to-key-file> (will confirm each use):
Identity added: <path-to-key-file> (<name-of-key>)
The user must confirm each use of the key

When subsequently opening a ssh connection using this key from the agent, no confirmation is needed.

Is there any plan to implement the -c flag correctly? I tested -t (timeout) and this seems to work properly.

@guahki
Copy link
Author

guahki commented Aug 4, 2021

Further investigation of mine showed, that the problem seems to be in the library. Thus I opened golang/go#47533.

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

1 participant