Corey Farwell
32c261c8a8
Switch to codecov.io from coveralls
2015-06-29 08:13:43 -05:00
Paul Kehrer
169c257a31
Merge pull request #2086 from alex/unify-parse-extensions
...
Initial stab at unifying the extension parsing code fro CSRs and certificates
2015-06-28 17:18:29 -05:00
Alex Gaynor
632c5078ca
Merge pull request #2083 from reaperhulk/nc-vector
...
Name Constraints vectors
2015-06-28 17:09:36 -04:00
Alex Gaynor
a4de4934a5
use a dict here
2015-06-28 16:31:58 -04:00
Alex Gaynor
e0aa76c148
Factor this code out.
2015-06-28 16:06:24 -04:00
Alex Gaynor
70add5fef5
Initial stab at unifying the extension parsing code fro CSRs and certificates
2015-06-28 11:34:02 -04:00
Paul Kehrer
5d3f7b7b63
add new name constraints vector with invalid IP netmask
2015-06-28 00:39:21 -05:00
Paul Kehrer
33edaf1f4a
fix permitted/excluded nameconstraints vector to have valid IP netmask
2015-06-28 00:25:20 -05:00
Alex Gaynor
ab78ba262b
Merge pull request #2081 from reaperhulk/move-int-from-bytes
...
move int_from_bytes so we can use it elsewhere
2015-06-28 00:20:32 -04:00
Paul Kehrer
bb81b34c67
move int_from_bytes so we can use it elsewhere
2015-06-27 22:28:53 -05:00
Paul Kehrer
5432f81889
Merge pull request #2080 from alex/test-coverage
...
Simplified code in the test loaders and improved branch coverage in the x509 tests
2015-06-27 17:09:38 -05:00
Alex Gaynor
0fe7db62cd
fix
2015-06-27 17:20:59 -04:00
Alex Gaynor
ece3872d09
Simplified code in the test loaders and improved branch coverage in the x509 tests
2015-06-27 17:19:30 -04:00
Alex Gaynor
6e355b5ded
Merge pull request #2079 from reaperhulk/branch-fixes
...
Branch fixes
2015-06-27 15:55:21 -04:00
Paul Kehrer
b9504ffb65
require serialization in asym tests
2015-06-27 14:28:35 -05:00
Paul Kehrer
7e1fc28ded
Merge pull request #2078 from alex/ssh-load-coverage
...
Improvemed branch coverage for ssh public key loading
2015-06-27 14:12:05 -05:00
Alex Gaynor
cc3ba51f73
Improvemed branch coverage for ssh public key loading
2015-06-27 14:43:43 -04:00
Paul Kehrer
fad53a2ef0
Merge pull request #2076 from alex/more-branch-coverage
...
More branch coverage improvements. By virtue of reorganization and a new test
2015-06-27 10:12:03 -05:00
Paul Kehrer
46e12ee864
Merge pull request #2075 from alex/x509-branch-coverage
...
Reorganized some code to improve branch coverage
2015-06-27 09:34:07 -05:00
Alex Gaynor
1c453c25e3
More branch coverage improvements. By virtue of reorganization and a new test
2015-06-27 10:33:56 -04:00
Alex Gaynor
b63fc96254
Reorganized some code to improve branch coverage
2015-06-27 09:53:22 -04:00
Alex Gaynor
e4f01bedb4
Merge pull request #2074 from glyph/im-helping
...
Add Glyph to AUTHORS.rst.
2015-06-27 08:25:06 -04:00
Glyph
f2216c6b05
Add Glyph to AUTHORS.rst.
2015-06-26 23:38:50 -07:00
Paul Kehrer
72d4212784
Merge pull request #2072 from alex/require-subject
...
Fixed #2067 -- raise an error if a CSRbuilder doesn't hav a subject
2015-06-27 01:11:16 -05:00
Alex Gaynor
ba19c2e73f
Fixed #2067 -- raise an error if a CSRbuilder doesn't hav a subject
2015-06-27 00:07:09 -04:00
Alex Gaynor
7d85341b21
Merge pull request #2071 from reaperhulk/wildcard-oh-no
...
handle wildcard DNSNames with IDNA.
2015-06-27 00:03:00 -04:00
Paul Kehrer
666252ce9e
do this much more simply
2015-06-26 22:31:05 -05:00
Paul Kehrer
b7c7b39bd1
Merge pull request #2069 from alex/param-ordering
...
Make the parameter ordering in sign() consistent with other code
2015-06-26 21:16:38 -05:00
Paul Kehrer
3c6bba5729
handle wildcard DNSNames with IDNA.
...
fixes #2054
2015-06-26 19:57:47 -05:00
Alex Gaynor
be7294e17f
Merge pull request #2068 from reaperhulk/wildcard-idna-san-vector
...
add wildcard IDNA SAN
2015-06-26 20:38:19 -04:00
Alex Gaynor
76a0a64442
fix this test
2015-06-26 20:26:25 -04:00
Alex Gaynor
cde1ecbf18
Merge branch 'master' into param-ordering
2015-06-26 20:25:45 -04:00
Alex Gaynor
f728ee5397
Merge pull request #2066 from reaperhulk/csr-builder-set-subject
...
fix coverage in CSR builder
2015-06-26 20:13:56 -04:00
Alex Gaynor
de9e584d5c
fixed docs
2015-06-26 20:11:23 -04:00
Alex Gaynor
b3b0fbe2fb
Make the parameter ordering in sign() consistent with other code
2015-06-26 19:57:18 -04:00
Paul Kehrer
7e2fbe670a
test notimplementederror for unsupported csr extensions in backends
2015-06-26 18:51:29 -05:00
Paul Kehrer
3f0522f038
add wildcard IDNA SAN
2015-06-26 18:46:19 -05:00
Paul Kehrer
ff9178064d
add test for CSR builder setting subject twice
2015-06-26 17:29:04 -05:00
Alex Gaynor
354fc56e6a
Merge pull request #2064 from reaperhulk/simplify-x509
...
simplify x509 csr builder tests
2015-06-26 16:49:56 -04:00
Alex Gaynor
d847bb9ab7
Merge pull request #2063 from reaperhulk/improve-backend-docs
...
Improve backend interface docs
2015-06-26 13:05:29 -04:00
Paul Kehrer
7d9a0d4746
simplify x509 csr builder tests
2015-06-26 11:39:10 -05:00
Paul Kehrer
a9732f587b
add two missing methods to backend interface docs
2015-06-26 11:36:10 -05:00
Paul Kehrer
8f768dc5b9
Merge pull request #2045 from sigmavirus24/csr-builder
...
Adds CSR Builder (Redux of #1927 )
2015-06-26 09:43:39 -05:00
Ian Cordasco
8cdcdfc1bd
Use SECP256R1 instead of SECT283K1 in CSR tests
2015-06-24 22:00:26 -05:00
Ian Cordasco
13cdc7bf08
Add test for unicode attributes in CSRs
...
This creates a CSR, converts it to bytes, and then loads it again to ensure
that the unicode strings are parsed properly.
2015-06-24 21:45:57 -05:00
Ian Cordasco
22e69b58a9
Skip tests when the EC curve is unsupported
2015-06-24 20:09:43 -05:00
Ian Cordasco
87d61f8a6e
Use utf8 to encode attribute values instead of ascii
2015-06-24 19:31:26 -05:00
Ian Cordasco
8ed8edce17
Add tests to the CSR Builder for EC and DSA keys
...
This skips certain tests on certain versions of differences in how
X509_REQ_sign works on those versions. A separate pull request will address
those differences.
2015-06-24 19:30:04 -05:00
Ian Cordasco
34853f362f
Simplify test for unsupported extensions
2015-06-24 13:35:50 -05:00
Ian Cordasco
f06b6be823
Address review comments around add_extension method
...
- Fix typo in the docs (s/buidlder/builder/)
- Remove default from the method declaration and docs
- Replace ValueError with NotImpelementedError for unsupported X.509
extensions
- Add TODO comment as requested by Alex
- Fix test to pass critical=False since it no longer is a default value
2015-06-24 13:35:50 -05:00