diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-03 10:06:32 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-03 10:06:32 +0200 |
| commit | f4898f746d03ff5dcf57d3967c594d98a9da7fe0 (patch) | |
| tree | bb15f3a887942327b9aa3ec4eaef218e9b6410b2 /internal/ssh/server/authkeystore.go | |
| parent | d0436c0040732592db861c6eebbf05a1d04e09f1 (diff) | |
feat(ssh-server): check auth key cache in public key callback
Diffstat (limited to 'internal/ssh/server/authkeystore.go')
| -rw-r--r-- | internal/ssh/server/authkeystore.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/ssh/server/authkeystore.go b/internal/ssh/server/authkeystore.go index 45855ff..6e4ca37 100644 --- a/internal/ssh/server/authkeystore.go +++ b/internal/ssh/server/authkeystore.go @@ -17,6 +17,8 @@ type authKeyEntry struct { registeredAt time.Time } +var authKeyStore = NewAuthKeyStore(0, 0) + // AuthKeyStore is an in-memory, per-user cache of SSH public keys. type AuthKeyStore struct { mu sync.RWMutex |
