Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test to see what coverage pypy is providing (#4411) | Paul Kehrer | 2018-08-23 | 1 | -2/+2 |
| | |||||
* | add bindings for SCT creation (#4407) | Paul Kehrer | 2018-08-20 | 2 | -0/+22 |
| | |||||
* | Added OCSP to the changelog (#4405) | Alex Gaynor | 2018-08-16 | 1 | -0/+2 |
| | |||||
* | remove freebsd11 builder (#4401) | Paul Kehrer | 2018-08-15 | 3 | -8/+0 |
| | | | | | | | | | | | | * remove freebsd11 builder it's out of date, we can't update it, and it is unreliable * we don't test against freebsd for now * what did case sensitivity ever do for me * don't assert on bsd since we don't test on for now | ||||
* | OCSP request parsing (#4393) | Paul Kehrer | 2018-08-15 | 6 | -0/+419 |
| | | | | | | | | | | | | * add public_bytes to OCSPRequest * review feedback * OCSP request parsing * change some prose * add __len__ as a required method | ||||
* | Added missing methods from CRL Interface (#4400) | Alex Gaynor | 2018-08-15 | 1 | -0/+18 |
| | |||||
* | add new OCSP request vectors (#4399) | Paul Kehrer | 2018-08-15 | 3 | -0/+4 |
| | |||||
* | port 2.3.1 changelog (#4397) | Paul Kehrer | 2018-08-14 | 1 | -0/+8 |
| | |||||
* | sigh, missed one TLSv1 (#4392) | Alex Gaynor | 2018-08-12 | 1 | -1/+2 |
| | |||||
* | Document wycheproof revision we're current as of (#4390) | Alex Gaynor | 2018-08-12 | 2 | -1/+14 |
| | | | | | | | | * Document wycheproof revision we're current as of * Wycheproof is a real word! * line length | ||||
* | Fixed #4380 -- do not assume TLSv1 is available in OpenSSL (#4389) | Alex Gaynor | 2018-08-12 | 2 | -3/+5 |
| | | | | | | | | * Fixed #4380 -- do not assume TLSv1 is available in OpenSSL Hallelujah! It's starting to become the case that some OpenSSLs are disabling it. * cover this file as well | ||||
* | Fixes #4388 -- when running the aws-encryption-sdk tests only point pytest ↵ | Alex Gaynor | 2018-08-12 | 1 | -2/+2 |
| | | | | | | | | at one directory (#4391) * Fixes #4388 -- when running the aws-encryption-sdk tests only point pytest at one directory * Drop -l, there's no purpose for how we use these | ||||
* | Refs #4375 -- added ECDH EC point wycheproof tests (#4384) | Alex Gaynor | 2018-08-06 | 1 | -0/+41 |
| | |||||
* | make a certificate expire a few years in the future, fixes doctests (#4383) | Alex Gaynor | 2018-08-06 | 1 | -1/+1 |
| | | | | | | | | * make a certificate expire a few years in the future, fixes doctests 👋 to future alex when this test breaks in two years * short lived certs are a good idea | ||||
* | Refs #4375 -- added RSA PSS wycheproof tests (#4381) | Alex Gaynor | 2018-08-03 | 1 | -1/+41 |
| | |||||
* | Refs #4375 -- integrate wycheproof AES CCM tests (#4379) | Alex Gaynor | 2018-08-02 | 3 | -3/+41 |
| | | | | | | * Refs #4375 -- integrate wycheproof AES CCM tests * Skip these tests if we don't have CCM support | ||||
* | Updated wycheproof tests for new upstream vectors (#4378) | Alex Gaynor | 2018-08-01 | 2 | -8/+18 |
| | | | | | | | | * updated tests for upstream wycheproof changes * Updated AES tests * oops, flake8 | ||||
* | Use A-label strings in tests (#4374) | Tim Burke | 2018-07-30 | 1 | -2/+2 |
| | | | | | We already have coverage of the U-label deprecation warnings in test_x509_ext.py; see TestRFC822Name.test_idna and TestUniformResourceIdentifier.test_idna_no_port | ||||
* | Test for expected CryptographyDeprecationWarnings (#4372) | Tim Burke | 2018-07-28 | 3 | -56/+48 |
| | | | | | | | The remaining calls to `signer()` and `verifier()` are exercising the deprecated API intentionally. Let's test that the deprecation warnings are being raised as expected. Closes #4311; see also #4314. | ||||
* | Update comment (#4371) | Alex Gaynor | 2018-07-26 | 1 | -2/+2 |
| | |||||
* | Fixes #3548 - add a pyproject.toml (#4363) | Alex Gaynor | 2018-07-23 | 3 | -0/+10 |
| | |||||
* | block_size isn't part of our interface and future hashes won't have it (#4366) | Paul Kehrer | 2018-07-23 | 2 | -12/+3 |
| | |||||
* | Add more SSL_CIPHER_* functions, necessary to implement ctx.get_ciphers() in ↵ | Amaury Forgeot d'Arc | 2018-07-23 | 2 | -0/+30 |
| | | | | | | | | | | | | | | | | PyPy (#4364) * Add more SSL_CIPHER_* functions, necessary to implement ctx.get_ciphers() added by Python 3.6.1. * Add placeholders for other versions * Remove parameter names * LibreSSL 2.7 has the new functions * Add entries in _conditional.py * SSL_CIPHER_get_id returns int, not char* | ||||
* | sign is a method (#4362) | Paul Kehrer | 2018-07-20 | 1 | -1/+1 |
| | |||||
* | add CVE ID to security issue (#4360) | Paul Kehrer | 2018-07-18 | 1 | -0/+1 |
| | |||||
* | reopen master (#4359) | Paul Kehrer | 2018-07-18 | 3 | -2/+9 |
| | |||||
* | bump version and changelog for 2.3 release (#4356) | Paul Kehrer | 2018-07-18 | 3 | -6/+4 |
| | |||||
* | Refs #3331 -- integrated wycheproof ECDH tests (#4354) | Alex Gaynor | 2018-07-18 | 2 | -0/+87 |
| | | | | | | | | | | | | * Refs #3331 -- integrated wycheproof ECDH tests * flake8 + missing assert * Handle this error case * skip on unsupported * shouldn't need to try here any more | ||||
* | improve skip msg when skipping an ECDH test in test_ec (#4355) | Paul Kehrer | 2018-07-18 | 1 | -2/+2 |
| | |||||
* | add wycheproof gcm tests (#4349) | Paul Kehrer | 2018-07-17 | 1 | -0/+54 |
| | | | | | | * add wycheproof gcm tests * add AEAD test | ||||
* | min_tag_length is an int (#4351) | Paul Kehrer | 2018-07-17 | 1 | -1/+1 |
| | |||||
* | also check iv length for GCM nonce in AEAD (#4350) | Paul Kehrer | 2018-07-17 | 2 | -0/+8 |
| | | | | | | * also check iv length for GCM nonce in AEAD * ugh | ||||
* | raise ValueError on zero length GCM IV (#4348) | Paul Kehrer | 2018-07-17 | 3 | -1/+8 |
| | |||||
* | add chacha20poly1305 wycheproof tests (#4345) | Paul Kehrer | 2018-07-17 | 1 | -0/+47 |
| | | | | | | | | * add chacha20poly1305 wycheproof tests * flake8 * review | ||||
* | add wycheproof tests for AES CMAC (#4344) | Paul Kehrer | 2018-07-17 | 1 | -0/+36 |
| | | | | | | * add wycheproof tests for AES CMAC * review feedback | ||||
* | disallow implicit tag truncation with finalize_with_tag (#4342) | Paul Kehrer | 2018-07-17 | 5 | -0/+28 |
| | |||||
* | Refs #3331 -- integrated wycheproof ECDSA tests (#4341) | Alex Gaynor | 2018-07-17 | 1 | -0/+76 |
| | | | | | | | | | | * Refs #3331 -- integrated wycheproof ECDSA tests * Also handle these key loading errors * review * empty commit to trigger jenkins | ||||
* | add aes cbc pkcs5 wycheproof tests (#4347) | Paul Kehrer | 2018-07-17 | 1 | -0/+42 |
| | |||||
* | add DSA wycheproof tests (#4346) | Paul Kehrer | 2018-07-17 | 1 | -0/+49 |
| | |||||
* | add crl.get_revoked_certificate method (#4331) | Paul Kehrer | 2018-07-16 | 6 | -0/+52 |
| | | | | | | | | * add crl.get_revoked_certificate method * lexicographic is the best ographic * rename | ||||
* | Refs #3331 -- added initial wycheproof integration, starting with x25519, ↵ | Alex Gaynor | 2018-07-16 | 11 | -5/+286 |
| | | | | | rsa, and keywrap (#4310) * Refs #3331 -- added initial wycheproof integration, starting with x25519 tests | ||||
* | Change the exception we raise in keywrap unwrapping on invalid length (#4337) | Alex Gaynor | 2018-07-16 | 3 | -6/+12 |
| | | | I believe this can reasonably be considered backwards compatible since other invalid inputs already lead to InvalidUnwrap, and clients shouldn't be distinguishing between these two conditions, and ValueError wasn't documented anyways. | ||||
* | document one shot AEAD length restrictions (#4322) | Paul Kehrer | 2018-07-14 | 3 | -0/+68 |
| | | | | | | | | | | | | | | * document one shot AEAD length restrictions * write a test that won't consume infinity ram continue to raise OverflowError since that's what cffi did. * this applies to associated_data too * remove unneeded arg * review feedback on docs | ||||
* | switch cryptography wheel builders back to pip wheel (#4334) | Paul Kehrer | 2018-07-14 | 1 | -13/+4 |
| | |||||
* | raise valueerror for null x25519 derived keys (#4332) | Paul Kehrer | 2018-07-12 | 2 | -1/+22 |
| | | | | | | | | | * raise valueerror for null x25519 derived keys OpenSSL errors when it hits this edge case and a null shared key is bad anyway so let's raise an error * empty commit | ||||
* | bump to latest libressl versions (#4329) | Alex Gaynor | 2018-07-11 | 1 | -2/+2 |
| | |||||
* | try compiling with asm for our custom openssl (#4328) | Paul Kehrer | 2018-07-10 | 3 | -6/+7 |
| | | | | | | | | * try compiling with asm for our custom openssl * we also need to update the cache dir * try actually compiling it | ||||
* | don't install docs when we build openssls...and do it parallel (#4327) | Paul Kehrer | 2018-07-10 | 1 | -1/+3 |
| | |||||
* | we don't actually care about the errstack here, it's an invalid signature ↵ | Paul Kehrer | 2018-07-10 | 2 | -2/+36 |
| | | | | | | | | | | | | | | (#4325) * we don't actually care about the errstack here, it's an invalid signature We previously had no cases where we could error without getting errors on the error stack, but wycheproof contains test cases that can error without adding anything to the stack. Accordingly, we should clear the stack but raise InvalidSignature no matter what (rather than InternalError if we have no error msgs) * add a test | ||||
* | fix a memory leak when calling X25519PrivateKey.public_key() (#4326) | Paul Kehrer | 2018-07-10 | 2 | -0/+12 |
| |