From b5ee6ac430a6592b9a3d916848379759aa091544 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 20 Sep 2025 18:03:31 -0700 Subject: Revert "idk" This reverts commit 88270f9fe48149fb382441466575dbb40744d06d. --- roseh.moe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index b785ec6..8c5a967 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(privateKey.Public().(ed25519.PublicKey), msg, sig) { + if !ed25519.Verify(publicKey, msg, sig) { fmt.Printf("bad sig\n") return false } -- cgit v1.3.1