diff --git a/go.mod b/go.mod index ff7d17e..20b6eca 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( // Test dependencies. require ( - c2sp.org/CCTV/age v0.0.0-20250426113718-46fad5b26cb2 + c2sp.org/CCTV/age v0.0.0-20251208015420-e9274a7bdbfd github.com/rogpeppe/go-internal v1.14.1 golang.org/x/tools v0.39.0 // indirect ) diff --git a/go.sum b/go.sum index 8549784..baad7f4 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -c2sp.org/CCTV/age v0.0.0-20250426113718-46fad5b26cb2 h1:CgfUtBNKpcGa3dLCktwniIKTMkxlELJcvS+EQRlGeGs= -c2sp.org/CCTV/age v0.0.0-20250426113718-46fad5b26cb2/go.mod h1:SrHC2C7r5GkDk8R+NFVzYy/sdj0Ypg9htaPXQq5Cqeo= +c2sp.org/CCTV/age v0.0.0-20251208015420-e9274a7bdbfd h1:ZLsPO6WdZ5zatV4UfVpr7oAwLGRZ+sebTUruuM4Ra3M= +c2sp.org/CCTV/age v0.0.0-20251208015420-e9274a7bdbfd/go.mod h1:SrHC2C7r5GkDk8R+NFVzYy/sdj0Ypg9htaPXQq5Cqeo= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= filippo.io/hpke v0.4.0 h1:p575VVQ6ted4pL+it6M00V/f2qTZITO0zgmdKCkd5+A= diff --git a/testkit_test.go b/testkit_test.go index 35caeae..8c29b24 100644 --- a/testkit_test.go +++ b/testkit_test.go @@ -94,7 +94,11 @@ func parseVector(t *testing.T, test []byte) *vector { } v.fileKey = (*[16]byte)(h) case "identity": + var i age.Identity i, err := age.ParseX25519Identity(value) + if err != nil { + i, err = age.ParseHybridIdentity(value) + } if err != nil { t.Fatal(err) }