From e9b9d1058504f8331bf03e6168074ef7cedab519 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 8 May 2025 09:29:32 -0600 Subject: chore: add link to signed cookie issue --- pkg/web/cookie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/web/cookie.go') diff --git a/pkg/web/cookie.go b/pkg/web/cookie.go index 5123bbe..c60121f 100644 --- a/pkg/web/cookie.go +++ b/pkg/web/cookie.go @@ -14,7 +14,7 @@ import ( "github.com/xlgmokha/x/pkg/x" ) -var key []byte = x.Must(pls.GenerateRandomBytes(32)) // TODO:: Read fix key from environment variable +var key []byte = x.Must(pls.GenerateRandomBytes(32)) // TODO:: https://gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/-/issues/2 var Signer *crypt.HMACSigner = x.New[*crypt.HMACSigner](crypt.WithKey(key), crypt.WithAlgorithm(sha256.New)) var delimiter string = "--" -- cgit v1.2.3