mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00: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