diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-08 09:29:32 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-08 09:29:32 -0600 |
| commit | e9b9d1058504f8331bf03e6168074ef7cedab519 (patch) | |
| tree | 148dd7c92ee0d3b0afd9bf6496b10a189c8d6c6e /pkg/web/cookie.go | |
| parent | 054b714965cb44c0b25ac6ec72abcb7fc152e7d7 (diff) | |
chore: add link to signed cookie issue
Diffstat (limited to 'pkg/web/cookie.go')
| -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 = "--" |
