From 18587332033b48677231cc74c0e921be6588641f Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Wed, 4 Jan 2023 10:43:46 -0500 Subject: back to PKIX --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/registry.go b/registry/registry.go index 58bf439..c81e11b 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -216,7 +216,7 @@ func (r *Registry) Inbox(name string, req *http.Request) error { return fmt.Errorf("no public key found in PEM block") } - decodedKey, err := x509.ParsePKCS1PublicKey(pemObj.Bytes) + decodedKey, err := x509.ParsePKIXPublicKey(pemObj.Bytes) if err != nil { return err } -- cgit v1.2.3