You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to provide a PR here, but I do not know what the best solution is.
What did you expect to happen instead?
I expect that devpod lets me input the information that ssh-add needs to add the key (e.g. pin for the gpg smartcard or ssh key passphrase). Currently, the dialog spawned by Gnome pinentry is just closed after the 2s timeout.
How can we reproduce the bug? (as minimally and precisely as possible)
Install devpod
Enable the ssh integration for gpg
Run a provider which calls ExecuteCommand in the ssh package.
Hey @MartinLoeper, thanks for opening this issue.
I am personally not familiar with pinentry so I've just added support for passphrase based SSH keys.
Is it possible for you to check out the linked PR and see if this also works for your setup before we merge it into main?
What happened?
I am running ssh agent via gpg. As I found out in a provider repository, there is an issue with this setup as soon as the AddPrivateKeysToAgent(ctx context.Context, log log.Logger) error method is called. The method has a timeout of 2s by default which is not nearly enough to input a passphase for the
ssh-add
command.I would like to provide a PR here, but I do not know what the best solution is.
What did you expect to happen instead?
I expect that devpod lets me input the information that
ssh-add
needs to add the key (e.g. pin for the gpg smartcard or ssh key passphrase). Currently, the dialog spawned by Gnome pinentry is just closed after the 2s timeout.How can we reproduce the bug? (as minimally and precisely as possible)
ExecuteCommand
in the ssh package.Local Environment:
DevPod Provider:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: