googleapis / googleapis/enterprise-certificate-proxy

Consider deriving PKCS #11 public key from certificate

Open
#71 1 comment 0 reactions 1 assignee Assigned to @andyrzhao View on GitHub
priority: p3 type: question
Dominant language
Go
Stars
33
Forks
22
Avg merge
21m
Merged PRs (30d)
1

Description

Currently PKCS#11 requires a public key to be token. Alternatively, the public key can be derived from the certificate, similar to the windows and macos implementations.

This would:

1. Reduce work. There is no reason to have the public key stored in the HSM, our use case only cares about the certificate.
1. Reduce mistakes. Most users of ECP will likely think a certificate and private key is enough. Extracting and loading the Public key is an awkward and extra step.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.