We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cea11f commit 19f3782Copy full SHA for 19f3782
age/keysource_test.go
@@ -241,6 +241,7 @@ func TestMasterKey_Decrypt(t *testing.T) {
241
})
242
243
t.Run("loaded identities", func(t *testing.T) {
244
+ overwriteUserConfigDir(t, t.TempDir())
245
key := &MasterKey{EncryptedKey: mockEncryptedKey}
246
t.Setenv(SopsAgeKeyEnv, mockIdentity)
247
@@ -295,6 +296,7 @@ func TestMasterKey_Decrypt(t *testing.T) {
295
296
297
298
t.Run("invalid encrypted key", func(t *testing.T) {
299
300
key := &MasterKey{EncryptedKey: "invalid"}
301
302
0 commit comments