diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-04 15:43:46 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-04 15:43:46 +0000 |
commit | 18587332033b48677231cc74c0e921be6588641f (patch) | |
tree | abfea81e53e58bf43a0ac06bb9a26326d14f17ae /registry/registry.go | |
parent | c1b3507df7114fba929c3f903e55c9787eb2d623 (diff) | |
download | communique-18587332033b48677231cc74c0e921be6588641f.tar.gz |
back to PKIX
Diffstat (limited to 'registry/registry.go')
-rw-r--r-- | registry/registry.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |