From 88270f9fe48149fb382441466575dbb40744d06d Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 20 Sep 2025 17:46:35 -0700 Subject: idk --- roseh.moe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roseh.moe.go b/roseh.moe.go index 8c5a967..b785ec6 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -162,7 +162,7 @@ func checkCookie(w http.ResponseWriter, r *http.Request) bool { return false } msg, sig := bytes[:len(bytes)-ed25519.SignatureSize], bytes[len(bytes)-ed25519.SignatureSize:] - if !ed25519.Verify(publicKey, msg, sig) { + if !ed25519.Verify(privateKey.Public().(ed25519.PublicKey), msg, sig) { fmt.Printf("bad sig\n") return false } -- cgit v1.3.1