Skip to content

Commit

Permalink
fix: fall back to keyfile when yubikey unplugged
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Aug 8, 2021
1 parent c1a5038 commit dc30888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pivservice/list.go
Expand Up @@ -47,7 +47,7 @@ func (p *PIVService) reloadSecurityKeys() error {
p.securityKeys = append(p.securityKeys, sk)
}
if len(p.securityKeys) == 0 {
return fmt.Errorf("no valid security keys found")
p.log.Warn("no valid security keys found")
}
return nil
}
Expand Down

0 comments on commit dc30888

Please sign in to comment.