Commit graph

1411 commits

Author SHA1 Message Date
Paul Kehrer
5d3f7b7b63 add new name constraints vector with invalid IP netmask 2015-06-28 00:39:21 -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
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
3f0522f038 add wildcard IDNA SAN 2015-06-26 18:46:19 -05:00
Paul Kehrer
a9732f587b add two missing methods to backend interface docs 2015-06-26 11:36:10 -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
Ian Cordasco
4d46eb7217 Properly use RSA fixtures to generate private keys 2015-06-24 13:35:50 -05:00
Ian Cordasco
0112b02427 Address code review regarding style and gc
- Use keyword arguments for x509.BasicConstraints in several places
- Use SHA256 instead of SHA1 in documented examples
- Give function variables meaningful names in _encode_asn1_str
- Accept a x509.BasicConstraints object in _encode_basic_constraints
- Properly garbage-collect some things
- Raise a NotImplementedError instead of a ValueError
2015-06-24 13:35:50 -05:00
Andre Caron
a9a5117f9a Removes set_ prefix on CSR builder method. 2015-06-24 13:35:49 -05:00
Andre Caron
24f9bf4ba5 Lists support for DSA and EC in CSR builder. 2015-06-24 13:35:49 -05:00
Andre Caron
341ff85a7c Fully qualifies symbols in doc references. 2015-06-24 13:35:49 -05:00
Andre Caron
472fd6991e Changes builder extension API. 2015-06-24 13:35:49 -05:00
Andre Caron
d259ee51ab Polishes builder documentation, 2015-06-24 13:35:49 -05:00
Andre Caron
6d7e39b039 Adds updates docs for method chaining in CSR builder. 2015-06-24 13:35:49 -05:00
Andre Caron
0ef595f1d9 Adds CSR builder. 2015-06-24 13:35:48 -05:00
Alex Gaynor
3aadabf82f Added teh OID for ECDSA with SHA1.
In practice this is rare because the BR requires ECDSA signatures to use SHA256+ (or maybe the requirements for SHA256 just came at the same time as ECDSA, idk)
2015-06-23 22:06:21 -04:00
Paul Kehrer
e651b7f301 add wildcard SAN x509 test vector 2015-06-23 08:31:15 -05:00
Paul Kehrer
e0017be396 add nameconstraints classes 2015-06-21 21:09:44 -05:00
Alex Gaynor
677c531068 Fixed the anchor of a URL that changed on wikipedia 2015-06-20 20:53:50 -04:00
Alex Gaynor
77e4739f31 Merge pull request #2040 from reaperhulk/policy-constraints-vectors
add x509 policy constraints test vectors
2015-06-18 07:21:05 -04:00
Alex Gaynor
c10c446dde Merge pull request #2043 from reaperhulk/nc-vectors
add name constraints test vectors
2015-06-18 07:19:18 -04:00
Paul Kehrer
cf1109d85b add name constraints test vectors 2015-06-17 22:40:06 -06:00
Paul Kehrer
769e7f215e add issuer alternative name test vector 2015-06-17 22:28:29 -06:00
Paul Kehrer
773356295f add x509 policy constraints test vectors 2015-06-17 21:52:32 -06:00
Alex Gaynor
926f8ac492 Merge pull request #2017 from reaperhulk/issuer-alternative-name
issuer alternative name support
2015-06-13 07:31:03 -04:00
Alex Gaynor
9692dbc36d Merge pull request #2018 from reaperhulk/ocsp-nocheck-vector
add OCSPNoCheck test vector
2015-06-13 07:29:35 -04:00
Terry Chia
dae4076e6c Remove mention of extract/expand operations from ConcatKDF docs. 2015-06-13 11:26:16 +08:00
Paul Kehrer
66f380c30a cleanup a doctest and add a changelog entry for concatkdf 2015-06-12 11:23:34 -05:00
Simo Sorce
8a690fba1f Add ConcatKDF from NIST SP 800-56A
The implemention allows the use an HMAC function as per Revision 2 of the
document.
Conformance of the formatting of the OtherInfo argument is responsability
of the calling application.

Signed-off-by: Simo Sorce <simo@redhat.com>
2015-06-12 10:50:53 -04:00
Paul Kehrer
d59b07cfa2 add OCSPNoCheck test vector 2015-06-07 18:51:50 -05:00
Paul Kehrer
99125c9add issuer alternative name support 2015-06-07 18:37:10 -05:00
Paul Kehrer
724617c447 some docs cleanup for OTP 2015-06-03 23:02:06 -05:00
Paul Kehrer
d3532d4dc0 Merge pull request #1990 from tonyseek/key-uri
Add "get_provisioning_uri" utility for HOTP/TOTP.
2015-06-03 16:41:58 -05:00
Jiangge Zhang
840a99b253 Move the external link to page bottom. 2015-06-03 23:58:10 +08:00
Jiangge Zhang
0d9dbbe40d add license header and fix grammar errors. 2015-06-03 20:37:39 +08:00
Jiangge Zhang
d4e0a839ef Remove a default argument and rename a private function. 2015-06-03 17:39:59 +08:00
Jiangge Zhang
e9f8eb9af0 Describe provisioning URI in the document. 2015-06-03 04:03:51 +08:00
Paul Kehrer
43cd3d2e38 Merge pull request #1907 from simo5/ECDHKDFTests
Ecdh kdf tests
2015-06-02 08:42:44 -05:00
Erik Trauschke
70d3138aa9 docfix 2015-05-29 14:29:28 -07:00
Erik Trauschke
0150e3dd88 add example CRL PEM files to vectors 2015-05-29 13:54:19 -07:00
Alex Gaynor
13dcdf8ca1 Merge pull request #1954 from reaperhulk/inhibitanypolicy
InhibitAnyPolicy class
2015-05-29 07:37:01 -04:00
Paul Kehrer
02166c4af2 Merge pull request #1956 from etrauschke/crl_bindings_interfaces
add bindings and interfaces for CRL objects
2015-05-28 18:59:39 -05:00
Erik Trauschke
c5a8d1724d removed verify(), various small fixes 2015-05-28 10:24:25 -07:00
Erik Trauschke
abb7b6ed99 doc fixes, rename rekoked -> revoked_certificates 2015-05-27 15:07:35 -07:00
Erik Trauschke
2dcce90056 add bindings and interfaces for CRL objects 2015-05-27 09:26:09 -07:00
Paul Kehrer
16fae766a4 InhibitAnyPolicy class 2015-05-26 19:49:48 -05:00
Paul Kehrer
506a215915 update all 0.10 to 1.0 2015-05-26 08:01:18 -05:00
Eeshan Garg
0bef7722f4 Add the word 'Nonces' to docs/spelling_wordlist.txt 2015-05-20 22:06:24 +05:30
Eeshan Garg
9475900768 Docs for CTR and GCM should say that IV/nonce must be unique 2015-05-20 20:35:33 +05:30