aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2535 from alex/encode-dssPaul Kehrer2015-12-191-3/+3
|\ | | | | use the non-deprecated name for this function
| * use the non-deprecated name for this functionAlex Gaynor2015-12-191-3/+3
| |
* | Merge pull request #2530 from nbastin/20151214-oid-valPaul Kehrer2015-12-182-36/+72
|\ \ | |/ |/| OID validation
| * Avoid IndexError on too-short OIDs, add test for regressionNick Bastin2015-12-171-0/+4
| |
| * OID validationNick Bastin2015-12-142-36/+68
| |
* | require not_valid_after >= not_valid_beforePaul Kehrer2015-12-131-0/+22
|/
* add some missing skipsPaul Kehrer2015-12-031-0/+2
|
* expose tbs_certrequest_bytes and signature on CertificateSigningRequestPaul Kehrer2015-12-031-0/+132
|
* implement support for encoding name constraintsPaul Kehrer2015-12-021-0/+35
|
* Add support for 160 bit ARC4 keysEhren Kret2015-11-281-0/+1
|
* test name fixErik Trauschke2015-11-191-1/+1
|
* add tbsCertList and signature interfaces to CRLsErik Trauschke2015-11-191-0/+38
|
* rename tbs_certificate to tbs_certificate_bytes, add a commentPaul Kehrer2015-11-031-9/+9
|
* skip checkPaul Kehrer2015-11-031-0/+1
|
* add support for Certificate signature and tbs_certificatePaul Kehrer2015-11-031-1/+184
|
* Swapping modified x509 test with modified ec testPeter Hamilton2015-10-302-14/+4
|
* Fixing fixture import orderPeter Hamilton2015-10-301-1/+1
|
* Adding test usage for elliptic curve fixturesPeter Hamilton2015-10-301-2/+3
| | | | This change enables test coverage for the elliptic curve fixtures by adding elliptic curve fixtures to an x509 test case.
* Adding elliptic curve test fixturesPeter Hamilton2015-10-291-0/+296
| | | | This change adds pre-generated elliptic curve keys to be used in elliptic curve tests.
* Error cleanly if the public and private keys to an ECDH key exchange are on ↵Alex Gaynor2015-10-281-1/+27
| | | | different curves
* add ellipticcurvepublicnumbers reprPaul Kehrer2015-10-281-0/+5
|
* Merge pull request #2447 from reaperhulk/encode-decode-pointAlex Gaynor2015-10-271-0/+67
|\ | | | | add support for encoding/decoding elliptic curve points
| * address review feedbackPaul Kehrer2015-10-281-7/+0
| |
| * modify approach to use EllipticCurvePublicNumbers methodsPaul Kehrer2015-10-272-73/+76
| |
| * remove support for null points, improve docsPaul Kehrer2015-10-271-2/+4
| |
| * add support for encoding/decoding elliptic curve pointsPaul Kehrer2015-10-261-2/+71
| | | | | | | | Based on the work of @ronf in #2346.
* | Merge pull request #2435 from reaperhulk/fix-2407Alex Gaynor2015-10-271-0/+41
|\ \ | |/ |/| encode countryName with PrintableString
| * work on py3Paul Kehrer2015-10-271-2/+2
| |
| * remove unneeded strPaul Kehrer2015-10-271-2/+2
| |
| * switch to using pyasn1_modules for the testPaul Kehrer2015-10-271-12/+14
| |
| * encode countryName with PrintableStringPaul Kehrer2015-10-201-0/+39
| | | | | | | | | | | | | | This commit adds a dependency on asn1crypto for testing purposes to parse the certificate and confirm that countryName is encoded with PrintableString while other fields are UTF8String. This is a test only dep.
* | Merge pull request #2220 from reaperhulk/encode-cpAlex Gaynor2015-10-241-0/+89
|\ \ | | | | | | support encoding certificate policies in CertificateBuilder
| * | support encoding certificate policies in CertificateBuilderPaul Kehrer2015-10-241-0/+89
| | |
* | | Merge pull request #2293 from reaperhulk/idempotent-engine-addAlex Gaynor2015-10-241-2/+2
|\ \ \ | |/ / |/| | idempotent engine add
| * | make engine addition idempotentPaul Kehrer2015-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Threading issues keep cropping up. ENGINE_add already acquires a lock at the C layer via CRYPTO_w_lock (provided you have registered the locking callbacks) so let's try to use that. As part of this we'll try to init the openssl locks, but of course there's potentially a race there as well. Clearly this isn't the real fix but it might improve the situation while we try to determine what to do.
* | | typoAlex Gaynor2015-10-241-1/+1
| | |
* | | Fixed #2444 -- added an __hash__ to x509 NamesAlex Gaynor2015-10-241-0/+17
| | |
* | | add comments on test cases to explain reasons a bit betterPaul Kehrer2015-10-221-0/+5
| | |
* | | make skip message more verbosePaul Kehrer2015-10-211-11/+10
| | |
* | | AES keywrap supportPaul Kehrer2015-10-211-0/+112
|/ /
* | fix some indentationPaul Kehrer2015-10-211-2/+2
| |
* | test fixErik Trauschke2015-10-211-0/+2
| |
* | remove convenience functions for revoked extensionsErik Trauschke2015-10-211-10/+11
| | | | | | | | fix docs regarding CRL PEM format
* | Merge branch 'master' into crl_ossl_backendErik Trauschke2015-10-206-8/+163
|\ \
| * | add __repr__ to x509.ExtensionsPaul Kehrer2015-10-201-0/+14
| |/ | | | | | | fix #2434
| * better place for this testAlex Gaynor2015-10-192-7/+16
| |
| * another testAlex Gaynor2015-10-191-0/+7
| |
| * removed unused code, and added a testAlex Gaynor2015-10-191-12/+13
| |
| * be more pro-active in handling invalid keysAlex Gaynor2015-10-181-23/+27
| |
| * unusedAlex Gaynor2015-10-171-6/+0
| |