File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "time"
66
77 "github.com/getsops/sops/v3"
8+ "github.com/getsops/sops/v3/age"
89 "github.com/getsops/sops/v3/azkv"
910 "github.com/getsops/sops/v3/gcpkms"
1011 "github.com/getsops/sops/v3/hckms"
@@ -467,7 +468,7 @@ func TestExtractMetadata(t *testing.T) {
467468 },
468469 },
469470 sops.TreeItem {
470- Key : "agekey " ,
471+ Key : "age " ,
471472 Value : []interface {}{
472473 sops.TreeBranch {
473474 sops.TreeItem {
@@ -659,7 +660,7 @@ func TestExtractMetadata(t *testing.T) {
659660 },
660661 },
661662 sops.TreeItem {
662- Key : "agekey " ,
663+ Key : "age " ,
663664 Value : []interface {}{
664665 sops.TreeBranch {
665666 sops.TreeItem {
@@ -936,6 +937,10 @@ func TestExtractMetadata(t *testing.T) {
936937 EncryptedKey : "ABCD PGP" ,
937938 CreationDate : time .Unix (1742725229 , 0 ).UTC (),
938939 },
940+ & age.MasterKey {
941+ Recipient : "age recipient" ,
942+ EncryptedKey : "ABCD age" ,
943+ },
939944 },
940945 },
941946 }, metadata )
@@ -992,6 +997,10 @@ func TestExtractMetadata(t *testing.T) {
992997 EncryptedKey : "ABCD PGP (inner)" ,
993998 CreationDate : time .Unix (1742725229 , 0 ).UTC (),
994999 },
1000+ & age.MasterKey {
1001+ Recipient : "age recipient (inner)" ,
1002+ EncryptedKey : "ABCD age (inner)" ,
1003+ },
9951004 },
9961005 },
9971006 }, metadata )
You can’t perform that action at this time.
0 commit comments