Fix ssh systemauth handling

This commit is contained in:
Bernd Schoolmann 2023-09-19 22:13:11 +02:00
parent e53a49b47a
commit 86cafcfc83
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -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()