| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Simo Sorce <simo@redhat.com>
|
|
|
|
|
|
|
| |
Also fix test vector files, they had a truncated line for the EE set in
both init and resp files.
Signed-off-by: Simo Sorce <simo@redhat.com>
|
|
|
|
|
|
| |
A.{4,5,6,7,8} are omitted as they are ECDH examples.
These are converted to the NIST KASVS format for easier loading.
|
| |
|
|
|
|
|
|
| |
unenc-rsa-pkcs8.pub.pem is PEM PKCS1 formatted public key converted from
the subjectPublicKeyInfo version
dsa.pub.pem is the DSA key from the ruby OpenSSL tests
|
| |
|
|
|
|
|
|
| |
parameters as the previous one.
If someone has a choice for a 2nd algorithm, I'm happy to do that. See previous PR for ideas about how to review
|
|
|
|
|
|
| |
MD5) to a PBES#2 based one (PBKDF2HMAC + AES)
Refs #1390
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Changed names of existing vectors to be more instructive about what the
key contains, and adapted tests to compensate, which pass. Added public
keys for all encryption types and two new private keys for PEM
serialization, documented in the README.txt in the same folder
|
|
|
|
|
|
|
| |
Generated two files with the same private key as PEM_Serialization's
ec_private_key.pem, one unencrypted and one encrypted with "123456". Also
changed existing PEMSerialization unit tests to take parameters so that
tests can be extended easily.
|
|
|
|
|
|
| |
Changed the Elliptic Curve curve type from secp256k1 to secp256r1, as this
is supported, in an attempt to pass tests on CentOS 7; also added markers
and methods to skip test functions for systems that do not support ECC.
|
|
|
|
|
|
| |
Loads Elliptic Curve private keys from .PEM files, whether encrypted or
unencrypted, given that the encryption method is supported. Also included
changes to the test files and documentation for said method.
|
|
|
|
|
|
|
| |
http://csrc.nist.gov/groups/STM/cavp/documents/keymgmt/kastestvectors.zip
Only the "Static" scheme is added here since we are only testing the
primitive DH and ECDH key agreement operation.
|
| |
|
|
|
|
| |
This is encpkcs8.pem with the base64 OID replaced with Ys
|
|
|
|
| |
This is unenc-dsa-pkcs8.pem with the base64 OID replaced with X's
|
|
|
|
| |
Generated by myself.
|
| |
|
| |
|
| |
|
| |
|
|
All vectors are now stored in the subpackage in the vectors/ folder.
This package is automatically installed by setup.py test and will also
be uploaded with a matching version number by the PyPI upload task.
|