mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-29 03:52:49 +09:00
Add AES GCM encryption provider
This commit is contained in:
12
services/secrets/masterkey_nop_test.go
Normal file
12
services/secrets/masterkey_nop_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
package secrets
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNopMasterKey_IsSealed(t *testing.T) {
|
||||
k := NewNopMasterKeyProvider()
|
||||
assert.False(t, k.IsSealed())
|
||||
}
|
Reference in New Issue
Block a user