You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
veypi 69efc4284b fix(api/oauth): encrypt ClientSecret in database
Encrypt OAuth Provider ClientSecret before storing in database to prevent
sensitive credential exposure in case of database breach.

- Encrypt ClientSecret on create using cfg.Config.Key.Encrypt()
- Encrypt ClientSecret on update when provided
- Decrypt ClientSecret before use in OAuth token exchange
- Add AES-GCM encryption/decryption functions to crypto package
- Gracefully handle legacy plaintext secrets during transition
1 week ago
..
init.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 week ago
login.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 week ago
me.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 week ago
methods.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 1 week ago
register.go fix(api/auth): reset count variable before uniqueness checks 1 week ago
thirdparty.go fix(api/oauth): encrypt ClientSecret in database 1 week ago