mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-18 14:44:06 +09:00
Revert "Add simple master key provider for secret encryption"
This reverts commit d4e84c0433
.
This commit is contained in:
@ -66,8 +66,3 @@ func NewSecretKey() (string, error) {
|
||||
|
||||
return secretKey, nil
|
||||
}
|
||||
|
||||
// NewMasterKey generate a new value intended to be used by MASTER_KEY.
|
||||
func NewMasterKey() ([]byte, error) {
|
||||
return util.CryptoRandomBytes(32)
|
||||
}
|
||||
|
Reference in New Issue
Block a user