Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #3008 -- expose calculate max pss salt length (#3014) | Alex Gaynor | 2016-06-27 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | * Fixed #3008 -- expose calculate max pss salt length * Fixed a few mistakes in the docs * move all the code around * oops * write a unit test * versionadded + changelog | |||||
* | Add convenience methods to sign and verify w/ RSA (#2945) | Colleen Murphy | 2016-06-04 | 1 | -0/+22 | |
| | | | | | | | | | This patch adds wrapper methods to allow the user to sign and verify a single message block without having to go through the multi-step process of creating a signer or verifier, updating it with the one message, and finalizing the result. This will make signing and verifying data more user-friendly when only using small messages. Partial bug #1529 | |||||
* | RSA OAEP SHA2 Support (#2956) | Paul Kehrer | 2016-06-04 | 1 | -0/+115 | |
| | | | | | | | | | | | | | | | | | | | | * some rsa oaep sha2 support * various improvements * fix a thing * simplify * update the test * styyyyyle * more styyyyle * fix libre, remove a skip that should never be hit * OAEP version check fixes | |||||
* | added a repr to the dsa numbers classes (#2961) | Alex Gaynor | 2016-06-03 | 1 | -0/+15 | |
| | | | | | | | | * added a repr to the dsa numbers classes * fix * another test | |||||
* | SSH serialization for public keys (#2957) | Alex Gaynor | 2016-06-03 | 3 | -0/+87 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SSH serialization for public keys * name errors ahoy! * id, ego, superego * dsa support * EC support * Don't keyerror * Documentation OpenSSH * flake8 * fix * bytes bytes bytes * skip curve unsupported * bytes! * Move a function * reorganize code for coverage | |||||
* | Random grammar stuff (#2955) | Alex Gaynor | 2016-06-02 | 1 | -1/+1 | |
| | ||||||
* | KBKDF cleanup (#2929) | Paul Kehrer | 2016-05-29 | 1 | -5/+7 | |
| | | | | | | | | * unicode characters make everything angry * changelog entry and make skip msgs more informative * typo fix | |||||
* | NIST SP 800-108 Counter Mode KDF (#2748) | Jared | 2016-05-29 | 3 | -0/+226 | |
| | | | | | | | | | | | | | | | | | | * NIST SP 800-108 Counter Mode and Feedback Mode KDF * CounterKDF unit tests * Refactor to support multiple key based KDF modes. * Extracting supported algorithms for KBKDF Counter Mode test vectors * Adding support for different rlen and counter location in KBKDF * support for multiple L lengths and 24 bit counter length. * Adding KBKDF Documentation. * Refactoring KBKDF to KBKDFHMAC to describe hash algorithm used. | |||||
* | Fixed #2887 -- implement __hash__ on EC numbers classes (#2888) | Alex Gaynor | 2016-04-30 | 1 | -0/+24 | |
| | ||||||
* | Handle two more error conditions correctly | Alex Gaynor | 2016-04-02 | 1 | -0/+11 | |
| | | | | | | * Handle two more error conditions correctly * fixed test case | |||||
* | Merge pull request #2736 from cedk/ANSI_X.923 | Paul Kehrer | 2016-03-16 | 1 | -0/+92 | |
|\ | | | | | Added support for padding ANSI X.923 | |||||
| * | Add more tests since there is no more sub-classing | Cédric Krier | 2016-03-16 | 1 | -0/+29 | |
| | | ||||||
| * | Add padding check for ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -0/+15 | |
| | | | | | | | | All padding bytes must be 0. | |||||
| * | Added support for padding ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -0/+48 | |
| | | ||||||
* | | require mode nonce/iv/tag data to be bytes | Paul Kehrer | 2016-03-07 | 1 | -0/+30 | |
| | | ||||||
* | | pass bytes to modes/algorithms like we should | Paul Kehrer | 2016-03-07 | 10 | -38/+38 | |
| | | ||||||
* | | Merge pull request #2762 from alex/dedupe-doubles | Paul Kehrer | 2016-03-06 | 8 | -95/+26 | |
|\ \ | | | | | | | Un-double the test doubles | |||||
| * | | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 8 | -95/+26 | |
| |/ | ||||||
* | | make the test function name make sense | Alex Gaynor | 2016-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | move key | Alex Gaynor | 2016-03-05 | 2 | -73/+75 | |
| | | ||||||
* | | wrap some very long lines | Alex Gaynor | 2016-03-05 | 1 | -8/+80 | |
| | | ||||||
* | | Added a failing test case for #2760 | Alex Gaynor | 2016-03-05 | 1 | -0/+36 | |
|/ | ||||||
* | support rsa key generation testing when key is not serializable | Paul Kehrer | 2016-01-30 | 1 | -1/+10 | |
| | ||||||
* | Write some tests for skip conditions in tests. | Alex Gaynor | 2016-01-10 | 3 | -25/+63 | |
| | | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed. | |||||
* | move test | Paul Kehrer | 2015-12-27 | 1 | -0/+37 | |
| | ||||||
* | use the non-deprecated name for this function | Alex Gaynor | 2015-12-19 | 1 | -3/+3 | |
| | ||||||
* | Add support for 160 bit ARC4 keys | Ehren Kret | 2015-11-28 | 1 | -0/+1 | |
| | ||||||
* | Swapping modified x509 test with modified ec test | Peter Hamilton | 2015-10-30 | 1 | -11/+2 | |
| | ||||||
* | Adding elliptic curve test fixtures | Peter Hamilton | 2015-10-29 | 1 | -0/+296 | |
| | | | | This change adds pre-generated elliptic curve keys to be used in elliptic curve tests. | |||||
* | Error cleanly if the public and private keys to an ECDH key exchange are on ↵ | Alex Gaynor | 2015-10-28 | 1 | -1/+27 | |
| | | | | different curves | |||||
* | add ellipticcurvepublicnumbers repr | Paul Kehrer | 2015-10-28 | 1 | -0/+5 | |
| | ||||||
* | address review feedback | Paul Kehrer | 2015-10-28 | 1 | -7/+0 | |
| | ||||||
* | modify approach to use EllipticCurvePublicNumbers methods | Paul Kehrer | 2015-10-27 | 2 | -73/+76 | |
| | ||||||
* | remove support for null points, improve docs | Paul Kehrer | 2015-10-27 | 1 | -2/+4 | |
| | ||||||
* | add support for encoding/decoding elliptic curve points | Paul Kehrer | 2015-10-26 | 1 | -2/+71 | |
| | | | | Based on the work of @ronf in #2346. | |||||
* | add comments on test cases to explain reasons a bit better | Paul Kehrer | 2015-10-22 | 1 | -0/+5 | |
| | ||||||
* | make skip message more verbose | Paul Kehrer | 2015-10-21 | 1 | -11/+10 | |
| | ||||||
* | AES keywrap support | Paul Kehrer | 2015-10-21 | 1 | -0/+112 | |
| | ||||||
* | better place for this test | Alex Gaynor | 2015-10-19 | 1 | -0/+16 | |
| | ||||||
* | removed unused code, and added a test | Alex Gaynor | 2015-10-19 | 1 | -12/+13 | |
| | ||||||
* | be more pro-active in handling invalid keys | Alex Gaynor | 2015-10-18 | 1 | -23/+27 | |
| | ||||||
* | unused | Alex Gaynor | 2015-10-17 | 1 | -6/+0 | |
| | ||||||
* | a refactor to the API | Alex Gaynor | 2015-10-17 | 1 | -53/+41 | |
| | ||||||
* | Add an Elliptic Curve Key Exchange Algorithm(ECDH) | Simo Sorce | 2015-10-17 | 1 | -1/+93 | |
| | | | | | | | | | The ECDH Key Exchange algorithm as standardized in NIST publication 800-56A Revision 2 Includes tests with vectors from NIST. Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | Catch Invalid X or Y points and raise a ValueError | Simo Sorce | 2015-10-12 | 1 | -0/+29 | |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | rename this file for consistency | Alex Gaynor | 2015-09-26 | 1 | -0/+0 | |
| | ||||||
* | Some cleanups | Alex Gaynor | 2015-09-24 | 1 | -3/+3 | |
| | ||||||
* | Test X9.63 with NIST test vectors | Simo Sorce | 2015-09-24 | 1 | -0/+72 | |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | Add X963KDF from ANSI X9.63:2001 | Simo Sorce | 2015-09-24 | 1 | -0/+120 | |
| | | | | | | | | | | The implemention allows the use a Hash function to implement a KDF very similar to ConcatKDFHash, just different enough to require a separate derivation function. Closes #2203 Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | skip if check on ec test | Paul Kehrer | 2015-08-12 | 1 | -1/+2 | |
| |