Commit graph

4262 commits

Author SHA1 Message Date
Paul Kehrer
9543e4e2db Merge pull request #1683 from alex/only-run-local-tests
Tell py.test to only run the tests from the local tests dir.
2015-02-20 11:50:28 -06:00
Alex Gaynor
8a58e6997b Tell py.test to only run the tests from the local tests dir.
Right now if you have a virtualenv or something in the same directory it will recurse into it to run tests.
2015-02-20 07:58:39 -08:00
Paul Kehrer
8be38b3927 Merge pull request #1681 from dstufft/fix-setuppy-test
Pass the sys.path into the subprocess
2015-02-20 09:44:34 -06:00
Donald Stufft
e8179e79bc Pass the sys.path into the subprocess
If we're running tests via ``python setup.py test`` in a clean
environment then all of our dependencies are going to be installed
into either the current directory or the .eggs directory. However the
subprocess won't know to activate these dependencies, so we'll get it
to do so by passing our entire sys.path into the subprocess via the
PYTHONPATH environment variable.
2015-02-19 22:38:42 -05:00
Alex Gaynor
1b2a616174 Merge pull request #1651 from reaperhulk/x509-signature-algorithm
X509 certificate signature algorithm support
2015-02-19 17:18:16 -08:00
Paul Kehrer
1a7ba87dcc surrender to alex's feels and name our constants consistently 2015-02-19 18:09:05 -06:00
Paul Kehrer
fa35ef8ae8 Merge pull request #1680 from alex/simplification
Simplify x509.Name.get_attributes_for_oid
2015-02-19 17:26:17 -06:00
Alex Gaynor
f957423524 Simplify x509.Name.get_attributes_for_oid 2015-02-19 13:56:50 -08:00
Alex Gaynor
bae5a64971 Merge pull request #1679 from reaperhulk/libre-support
LibreSSL support
2015-02-19 13:00:19 -08:00
Paul Kehrer
8996f672f2 move some compression things around for libre 2015-02-19 14:06:39 -06:00
Paul Kehrer
c965f0ad5b move COMP_METHOD define and change to typedef for libre 2015-02-19 13:55:34 -06:00
Steven McDonald
27e6b9c863 Update changelog for LibreSSL fixes
This changelog entry represents the previous three commits, which all
fix compile- or test-time problems running against LibreSSL.
2015-02-19 09:18:16 -06:00
Steven McDonald
3801532512 Allow the OpenSSL version string to begin with LibreSSL
LibreSSL aims to be source-compatible with OpenSSL, so there is no good
reason to fail this test simply because the name has changed.
2015-02-19 09:18:11 -06:00
Steven McDonald
fab60f1cce Disable features exclusive to newer OpenSSL when using LibreSSL
Some features added to newer OpenSSL versions are absent in LibreSSL,
so don't mark these as present if LIBRESSL_VERSION_NUMBER is defined.
2015-02-19 09:17:43 -06:00
Steven McDonald
6f711102f5 Define COMP_METHOD when building against LibreSSL
LibreSSL no longer uses compression in ssl.h, so the case that was
formerly activated by defining OPENSSL_NO_COMP is now the default, and
COMP_METHOD isn't defined (it's defined in comp.h, but that's no longer
included by ssl.h). In order to make all the type definitions here line
up with what's actually in LibreSSL's ssl.h, define COMP_METHOD as
void.

This definition is still compatible with the later type declaration in
ssl.py:

  typedef ... COMP_METHOD;
2015-02-19 09:17:37 -06:00
Paul Kehrer
1165473f74 conditionally bind cryptodev engine for LibreSSL 2015-02-19 09:16:45 -06:00
Paul Kehrer
16a95ead46 conditionally bind EGD for libressl 2015-02-19 09:14:16 -06:00
Paul Kehrer
4680b1d3a0 Merge pull request #1676 from alex/more-https
This link is also HTTPS
2015-02-19 08:22:10 -06:00
Paul Kehrer
71d40c6af6 address review feedback, fix short names for sig alg OIDs 2015-02-19 08:21:04 -06:00
Alex Gaynor
3fad19086d This link is also HTTPS 2015-02-18 12:48:29 -08:00
Paul Kehrer
21bb2480b9 Merge pull request #1672 from alex/https-all-the-things
Use HTTPS for a few URLs in the docs that support it
2015-02-18 14:46:06 -06:00
Alex Gaynor
111aff2f75 Use HTTPS for a few URLs in the docs that support it 2015-02-17 14:47:49 -08:00
Paul Kehrer
04cd2efcf0 Merge pull request #1671 from alex/update-link
Fixed a link that the EFF moved
2015-02-17 16:40:32 -06:00
Alex Gaynor
6201230cdd Fixed a link that the EFF moved 2015-02-17 10:49:22 -08:00
Alex Gaynor
fb20a42e1e Merge pull request #1670 from reaperhulk/pypy25
use pypy 2.5 on our os x builders
2015-02-17 10:27:13 -08:00
Paul Kehrer
4d9a2c9528 use pypy 2.5 on our os x builders 2015-02-17 10:00:48 -06:00
Alex Gaynor
0be5ef9551 Merge pull request #1668 from reaperhulk/move-kdf-interfaces
move KDF interface
2015-02-17 07:34:23 -08:00
Paul Kehrer
42de05cbf5 Merge pull request #1667 from alex/update-url
Fixed URL in the docs
2015-02-17 08:09:15 -06:00
Paul Kehrer
48402ffeef move KDF interface 2015-02-16 22:32:57 -06:00
Alex Gaynor
543031abfa Fixed URL in the docs 2015-02-16 20:27:35 -08:00
Alex Gaynor
5e208e7be5 Merge pull request #1666 from reaperhulk/move-asym-interfaces
move asymmetric signature/verification interfaces
2015-02-16 20:24:12 -08:00
Paul Kehrer
25bbc15075 move asymmetric signature interface docs 2015-02-16 18:24:36 -06:00
Paul Kehrer
e19201e625 attempt to clarify signature hash algorithm a bit more 2015-02-16 18:05:20 -06:00
Paul Kehrer
0d6203f25a move asymmetric signature/verification interfaces 2015-02-16 14:34:11 -06:00
Alex Gaynor
426eee7e73 Merge pull request #1665 from reaperhulk/move-asym-padding-interface
move asymmetric padding interface to primitives.asymmetric.padding
2015-02-16 12:33:37 -08:00
Paul Kehrer
e612ec74f6 try to make this a bit more clear 2015-02-16 14:33:35 -06:00
Paul Kehrer
a308f9f9fa add changelog entry 2015-02-16 13:40:03 -06:00
Paul Kehrer
64ddb7a87d move asymmetric padding interface to primitives.asymmetric.padding 2015-02-16 11:14:23 -06:00
Alex Stapleton
99c1b803ae Merge pull request #1659 from reaperhulk/move-cipher-interfaces
Move cipher and mode interfaces
2015-02-16 15:59:50 +00:00
Alex Stapleton
ebc1717d73 Merge pull request #1664 from alex/flake8
Fixed new flake8 warnings from teh latest version
2015-02-16 09:18:25 +00:00
Alex Gaynor
e0a879f72f Fixed new flake8 warnings from teh latest version 2015-02-15 20:54:34 -08:00
Paul Kehrer
2b6ba0c633 document vector provenance 2015-02-14 18:58:20 -06:00
Paul Kehrer
7c5c9fedd5 export interfaces from base in ciphers, update docs 2015-02-14 10:36:24 -06:00
Paul Kehrer
2e776e20eb refactor obj2txt to be a separate method 2015-02-14 10:12:26 -06:00
Paul Kehrer
42a87cbde1 address review feedback 2015-02-14 10:12:26 -06:00
Paul Kehrer
8802a5bae7 implement signature_hash_algorithm instead 2015-02-14 10:12:25 -06:00
Paul Kehrer
b01622d154 add legacy Verisign PCA (MD2) root to vectors 2015-02-14 10:12:25 -06:00
Paul Kehrer
b0a803942a add changelog entry 2015-02-14 10:12:25 -06:00
Paul Kehrer
56da2a50cd add support for signature_algorithm in x509.Certificate 2015-02-14 10:12:25 -06:00
Alex Gaynor
b8dc2f03ff Merge pull request #1612 from reaperhulk/x509-dn
X509 distinguished name parsing support in the OpenSSL backend
2015-02-14 11:11:55 -05:00