1
0
mirror of https://github.com/coalaura/up.git synced 2025-07-17 21:44:35 +00:00

cleanup sessions and challenges

This commit is contained in:
Laura
2025-06-20 17:18:42 +02:00
parent 80b9989dd0
commit 3aa63cf62b
6 changed files with 17 additions and 46 deletions

View File

@ -1,20 +1,16 @@
package internal
import (
"time"
"golang.org/x/crypto/ssh"
)
type ChallengeEntry struct {
Challenge []byte
PublicKey ssh.PublicKey
Expires time.Time
}
type SessionEntry struct {
PublicKey ssh.PublicKey
Expires time.Time
}
type AuthRequest struct {