aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * raise error on unnamed EC curve certificates when calling public_keyPaul Kehrer2014-12-151-0/+20
| | | | | | | | ...for now
| * move to macros due to const/non-constPaul Kehrer2014-12-151-1/+1
| |
| * try using ASN1_TIME_print to get ASN1_TIME dataPaul Kehrer2014-12-152-14/+6
| |
| * simplify serial conversionPaul Kehrer2014-12-151-3/+2
| |
| * reorganize a bunch of things related to the x509certificate interfacePaul Kehrer2014-12-152-2/+44
| |
| * move mem_bio creation/reading to backendPaul Kehrer2014-12-152-18/+24
| |
| * change it to not_valid_* why notPaul Kehrer2014-12-152-4/+4
| |
| * py3 fixesPaul Kehrer2014-12-151-1/+1
| |
| * address review feedbackPaul Kehrer2014-12-153-7/+6
| |
| * improve tests, remove some outdated commentsPaul Kehrer2014-12-151-3/+0
| |
| * improve x509 load error handlingPaul Kehrer2014-12-151-2/+8
| |
| * update docs, test invalid x509 versionPaul Kehrer2014-12-152-1/+8
| |
| * move x509 to top level, add more docsPaul Kehrer2014-12-153-6/+25
| |
| * initial x509 version supportPaul Kehrer2014-12-151-1/+11
| | | | | | | | Adds enum34 as a dependency
| * initial x509 openssl implementationPaul Kehrer2014-12-153-1/+120
| |
* | Merge pull request #1532 from reaperhulk/fix-1531Alex Gaynor2014-12-171-10/+37
|\ \ | | | | | | add OpenSSH DSS public key loading
| * | use the right comparisonPaul Kehrer2014-12-171-2/+2
| | |
| * | update docs, hoist b64decode up and re-add test for itPaul Kehrer2014-12-171-10/+11
| | |
| * | add OpenSSH DSS public key loadingPaul Kehrer2014-12-161-7/+33
| | | | | | | | | | | | fixes #1531
* | | Merge pull request #1534 from callidus/masterAlex Gaynor2014-12-175-2/+29
|\ \ \ | |/ / |/| | Adding more X509 related cffi bindings
| * | Moving things about to prevent compiler warnings with newer OpenSSLTim Kelsey2014-12-172-4/+4
| | | | | | | | | | | | | | | - some of these bindings changed to const in various newer OpenSSL versions. Moving them to macros section to acccount for this
| * | Making EVP_sha* bindings none conditional.Tim Kelsey2014-12-171-7/+4
| | | | | | | | | | | | - these were added in OpenSSL 0.9.8, a supported version.
| * | Adding more cffi bindings to openssl backend.Tim Kelsey2014-12-175-1/+31
| | | | | | | | | | | | - specifically adding items relating to X509 certificates.
* | | fix some cffi related warningsPaul Kehrer2014-12-161-20/+20
| | |
* | | properly remove flags that don't exist when CMS is not availablePaul Kehrer2014-12-161-0/+20
| | |
* | | bind some cms flagsPaul Kehrer2014-12-161-0/+41
| |/ |/|
* | Merge pull request #1527 from alex/pr/1517Paul Kehrer2014-12-152-3/+81
|\ \ | | | | | | Added SSH public key loading
| * | two flake8 fixesAlex Gaynor2014-12-151-2/+0
| | |
| * | A handful of tiny fixesAlex Gaynor2014-12-152-22/+34
| | |
| * | Added optimization for Python 3 to use int.from_bytes instead of Python codeMark Adams2014-12-141-1/+7
| | |
| * | Made a couple of minor tweaks to clean up _read_next_string and _read_next_mpintMark Adams2014-12-141-3/+1
| | |
| * | Added better parsing for RFC 4251 string and mpint values.Mark Adams2014-12-141-22/+40
| | | | | | | | | | | | | | | Also moved several of the SSH key splitting and validation checks up into the load_ssh_public_key method since they will apply to more than just RSA. Added additional checks to make sure the key doesn't contain extraneous data
| * | Removed redundant tests for _load_ssh_rsa_public_key since it is now a ↵Mark Adams2014-12-131-2/+1
| | | | | | | | | | | | non-public part of the API and made a number of minor changes to tests and documentation
| * | Privatized the load_ssh_rsa_public_key function and fixed some coverage ↵Mark Adams2014-12-131-2/+2
| | | | | | | | | | | | issues on test_serialization.
| * | Added load_ssh_rsa_public_key to hazmat.primitives.serialization to allow ↵Mark Adams2014-12-131-0/+47
| | | | | | | | | | | | | | | | | | for loading of OpenSSH RSA public keys Also added load_ssh_public_key as a generic method that can be later extended to support more public key algorithms.
* | | A few more style fixesAlex Gaynor2014-12-133-9/+9
| | |
* | | Fixed a few other places as wellAlex Gaynor2014-12-133-8/+8
| | |
* | | Fixed the bio bindings to match our style guideAlex Gaynor2014-12-131-1/+1
|/ /
* | Bind it.Jean-Paul Calderone2014-12-111-0/+2
| |
* | add NotImplemented handlingPaul Kehrer2014-12-103-0/+21
| |
* | add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classesPaul Kehrer2014-12-103-0/+63
| | | | | | | | fixes #1449
* | Fixed #1494 -- switch which define we look for for SSLv3 disabled. We're now ↵Alex Gaynor2014-12-081-5/+5
| | | | | | | | using the same one as CPython.
* | Merge pull request #1502 from reaperhulk/fix-1285Alex Gaynor2014-12-081-0/+46
|\ \ | |/ |/| Support decoding RFC 6979 signatures to (r, s)
| * directly test r, s for integer-nessPaul Kehrer2014-12-071-5/+9
| |
| * catch PyAsn1Error for encoding signature as wellPaul Kehrer2014-12-071-3/+7
| |
| * catch PyAsn1Error when decoding rfc6979 signaturePaul Kehrer2014-12-061-1/+6
| |
| * assign tuple to multiple vars for better readabilityPaul Kehrer2014-11-301-4/+4
| |
| * error if signature has trailing bytesPaul Kehrer2014-11-301-0/+4
| |
| * add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-271-1/+8
| |
| * add decode_rfc6979_signature helper for DSA/ECDSAPaul Kehrer2014-11-271-0/+22
| |