diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-04 15:10:06 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-04 15:10:06 +0000 |
commit | fba1cfee6677c4f61d4c6977f7e82228e6791118 (patch) | |
tree | 196ea7685bedcb7e9660c3cafc3b29e23b0db731 /registry | |
parent | 66396ff79d72cfaa1aea89ad25a9648f08b2f0ea (diff) | |
download | communique-fba1cfee6677c4f61d4c6977f7e82228e6791118.tar.gz |
back to PKIX
Diffstat (limited to 'registry')
-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 2833d57..501edb5 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -213,7 +213,7 @@ func (r *Registry) Inbox(name string, req *http.Request) error { if pemObj == nil { return fmt.Errorf("no PEM block found") } - decodedKey, err := x509.ParsePKCS1PublicKey(pemObj.Bytes) + decodedKey, err := x509.ParsePKIXPublicKey(pemObj.Bytes) if err != nil { return err } |