mirror of
https://github.com/go-gitea/gitea
synced 2025-10-26 08:58:24 +00:00
Revert "Add AES GCM encryption provider"
This reverts commit 4af45f7bc9.
This commit is contained in:
@@ -141,13 +141,10 @@ func runGenerateMasterKey(c *cli.Context) error {
|
||||
fmt.Printf("%s\n", base64.StdEncoding.EncodeToString(secret))
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Println("Setting changes required:")
|
||||
fmt.Println("[secrets]")
|
||||
if providerType == secrets.MasterKeyProviderTypePlain && len(scrts) == 1 {
|
||||
fmt.Printf("%s", base64.StdEncoding.EncodeToString(scrts[0]))
|
||||
|
||||
if isatty.IsTerminal(os.Stdout.Fd()) {
|
||||
fmt.Printf("\n")
|
||||
}
|
||||
fmt.Printf("MASTER_KEY = %s\n", base64.StdEncoding.EncodeToString(scrts[0]))
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user