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

View File

@ -36,6 +36,8 @@ func (vaultAgent vaultAgent) List() ([]*agent.Key, error) {
if !vaultAgent.unlockRequestAction() { if !vaultAgent.unlockRequestAction() {
return nil, errors.New("vault is locked") return nil, errors.New("vault is locked")
} }
systemauth.CreatePinSession(vaultAgent.context)
} }
vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys() vaultSSHKeys := (*vaultAgent.vault).GetSSHKeys()