diff options
Diffstat (limited to 'pkg/web')
| -rw-r--r-- | pkg/web/cookie.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "--" |
