-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for P384 public key algorithm
I found that I could not use root certificates which use a P384 public key algorithm. More specifically, passing in a certificate with ``` $ openssl x509 -noout -text -in root.der … Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (384 bit) pub: … ASN1 OID: secp384r1 NIST CURVE: P-384 … ``` gives me ``` EcX509Error(UnsupportedPublicKeyAlgorithm("ObjectIdentifier(1.2.840.10045.2.1)")) ``` back. The changes here seem to fix this, but I’ll admit that they were made very mechanically based on the existing code. This would be a continuation of the work in #190.
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters