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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user