security: rotate secrets, add rate limiter, validate input, harden cookies

This commit is contained in:
valitovgaziz
2026-06-12 17:01:48 +05:00
parent 9f4fb23652
commit 5de587689c
8 changed files with 308 additions and 234 deletions
+8 -1
View File
@@ -13,7 +13,7 @@ require (
github.com/jinzhu/now v1.1.5 // indirect
github.com/stretchr/testify v1.9.0 // indirect
golang.org/x/crypto v0.25.0
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/text v0.16.0 // indirect
)
@@ -23,3 +23,10 @@ require (
gorm.io/driver/postgres v1.5.9
gorm.io/gorm v1.25.11
)
require (
github.com/go-chi/httprate v0.15.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
golang.org/x/sys v0.30.0 // indirect
)