From 86cafcfc83dd22c1429caf6204272845c844eb0a Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Tue, 19 Sep 2023 22:13:11 +0200 Subject: [PATCH] Fix ssh systemauth handling --- agent/ssh/ssh.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent/ssh/ssh.go b/agent/ssh/ssh.go index 677ea8a..3f6fcf8 100644 --- a/agent/ssh/ssh.go +++ b/agent/ssh/ssh.go @@ -36,6 +36,8 @@ func (vaultAgent vaultAgent) List() ([]*agent.Key, error) { if !vaultAgent.unlockRequestAction() { return nil, errors.New("vault is locked") } + + systemauth.CreatePinSession(vaultAgent.context) } vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys()