From e014be957502b0fef29b4789582a52a8d1e7b075 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 26 Jul 2025 22:36:28 +0000 Subject: [PATCH] fix(lib): reduce challenge string size Signed-off-by: Xe Iaso --- lib/anubis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/anubis.go b/lib/anubis.go index 123b517..4a5972a 100644 --- a/lib/anubis.go +++ b/lib/anubis.go @@ -118,7 +118,7 @@ func (s *Server) issueChallenge(ctx context.Context, r *http.Request) (*challeng return nil, err } - var randomData = make([]byte, 256) + var randomData = make([]byte, 64) if _, err := rand.Read(randomData); err != nil { return nil, err }