aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-04 15:10:06 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-04 15:10:06 +0000
commitfba1cfee6677c4f61d4c6977f7e82228e6791118 (patch)
tree196ea7685bedcb7e9660c3cafc3b29e23b0db731 /registry
parent66396ff79d72cfaa1aea89ad25a9648f08b2f0ea (diff)
downloadcommunique-fba1cfee6677c4f61d4c6977f7e82228e6791118.tar.gz
back to PKIX
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.go2
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
}