Add support for ISO oids 1.3.14.3.2.29 and 1.3.14.3.2.27 that are somtimes used instead of the PKCS defined oids 1.2.840.113549.1.1.5 and 1.2.840.10040.4.3. Add function pkix_sign_types:/1 that translates oids to to algorithm atoms ex:
> public_key:pkix_sign_types({1,3,14,3,2,29}). {sha,rsa}
Own Id: OTP-10873
Integrate elliptic curve contribution from Andreas Schultz
In order to be able to support elliptic curve cipher suites in SSL/TLS, additions to handle elliptic curve infrastructure has been added to public_key and crypto.
This also has resulted in a rewrite of the crypto API to gain consistency and remove unnecessary overhead. All OTP applications using crypto has been updated to use the new API.
Impact: Elliptic curve cryptography (ECC) offers equivalent security with smaller key sizes than other public key algorithms. Smaller key sizes result in savings for power, memory, bandwidth, and computational cost that make ECC especially attractive for constrained environments.
Own Id: OTP-11009
Fix subjectPublicKeyInfo type comment in public_key. Thanks to Ryosuke Nakai.
Own Id: OTP-10670
public_key now supports CRL validation and documents the function public_key:pkix_path_validation/3
Own Id: OTP-7045
Some examples overflowing the width of PDF pages have been corrected.
Own Id: OTP-10665
Fixed typo's in public_key spec.
Own Id: OTP-10723
Corrected PKCS-10 documentation and added some PKCS-9 support that is fairly commonly used by PKCS-10. Full support for PKCS-9 will be added later.
Own Id: OTP-10767
ssh_decode now handles comments, at the end of the line, containing withe spaces correctly
Own Id: OTP-9361
Add missing references to sha224 and sha384
Own Id: OTP-9362 Aux Id: seq12116
public_key now supports PKCS-10 and includes exprimental support for PKCS-7
Own Id: OTP-10509 Aux Id: kunagi-291 [202]
Add crypto and public_key support for the hash functions SHA224, SHA256, SHA384 and SHA512 and also hmac and rsa_sign/verify support using these hash functions. Thanks to Andreas Schultz for making a prototype.
Own Id: OTP-9908
Optimize RSA private key handling in
Own Id: OTP-10065
Changed ssh implementation to use the public_key application for all public key handling. This is also a first step for enabling a callback API for supplying public keys and handling keys protected with password phrases.
Additionally the test suites where improved so that they do not copy the users keys to test server directories as this is a security liability. Also ipv6 and file access issues found in the process has been fixed.
This change also solves OTP-7677 and OTP-7235
This changes also involves some updates to public_keys ssh-functions.
Own Id: OTP-9911
public_key, ssl and crypto now supports PKCS-8
Own Id: OTP-9312
The asn1 decoder/encoder now uses a runtime nif from the asn1 application if it is available.
Own Id: OTP-9414
replace "a ssl" with "an ssl" reindent pkix_path_validation/3 Trivial documentation fixes (Thanks to Christian von Roques )
Own Id: OTP-9464
The public_key application now supports encode/decode of ssh public-key files.
Own Id: OTP-9144
Allows the public_key module to decode and encode RSA and DSA keys encoded using the SubjectPublicKeyInfo format. When pem_entry_encode is called on an RSA or DSA public key type, the key is wrapped in the SubjectPublicKeyInfo format.
Own Id: OTP-9061
Improved dialyzer specs.
Own Id: OTP-8964
Updated ssl to ignore CA certs that violate the asn1-spec for a certificate, and updated public key asn1 spec to handle inherited DSS-params.
Own Id: OTP-7884
Changed ssl implementation to retain backwards compatibility for old option {verify, 0} that shall be equivalent to {verify, verify_none}, also separate the cases unknown ca and selfsigned peer cert, and restored return value of deprecated function public_key:pem_to_der/1.
Own Id: OTP-8858
Better handling of v1 and v2 certificates. V1 and v2 certificates does not have any extensions so then validate_extensions should just accept that there are none and not end up in missing_basic_constraints clause.
Own Id: OTP-8867
Changed the verify fun so that it differentiate between the peer certificate and CA certificates by using valid_peer or valid as the second argument to the verify fun. It may not always be trivial or even possible to know when the peer certificate is reached otherwise.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-8873
Handling of unknown CA certificates was changed in ssl and public_key to work as intended.
Own Id: OTP-8788
Revise the public_key API - Cleaned up and documented the public_key API to make it useful for general use, also changed ssl to use the new API.
Own Id: OTP-8722
Added the functionality so that the verification fun will be called when a certificate is considered valid by the path validation to allow access to each certificate in the path to the user application. Also try to verify subject-AltName, if unable to verify it let the application verify it.
Own Id: OTP-8825
Certificates without any extensions could not be handled by public_key.
Own Id: OTP-8626
Code cleanup and minor bugfixes.
Own Id: OTP-8649
Support for Diffie-Hellman. ssl-3.11 requires public_key-0.6.
Own Id: OTP-7046
Moved extended key usage test for ssl values to ssl.
Own Id: OTP-8553 Aux Id: seq11541, OTP-8554
Added
Own Id: OTP-8372
The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.
Own Id: OTP-8250
Unknown attributes in certificates are left encoded instead of crashing. Patch by Will "wglozer" thanks.
Own Id: OTP-8100
Allow public_key:pem_to_der/[1,2] to take a binary as argument in addition to a filename. Patch by Geoff Cant, thanks.
Own Id: OTP-8142
X509 certificate handling has been extended and improved as a result of more extensive testing of both the ssl and public_key application. Even more extensions of the certificate handling is yet to be implemented.
Own Id: OTP-7860
First version.
Own Id: OTP-7637