aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #723 from reaperhulk/nist-rsa-vectorsAlex Gaynor2014-03-0415-0/+21212
|\ | | | | NIST RSA Test Vectors
| * NIST RSA PKCS1 v1.5 vulnerability test vectorsPaul Kehrer2014-03-031-0/+1452
| | | | | | | | from: http://csrc.nist.gov/groups/STM/cavp/documents/dss/SigVer15EMTest.txt
| * add 186-2 RSA test vectors from NISTPaul Kehrer2014-03-0314-0/+19760
| | | | | | | | | | from: http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2rsatestvectors.zip
* | Merge pull request #395 from reaperhulk/idea-vectorsDonald Stufft2014-03-031-0/+5404
|\ \ | | | | | | ECB vectors for the IDEA cipher
| * | update IDEA ECB vectors to contain 100/1000 iteration resultsPaul Kehrer2014-03-031-0/+900
| | |
| * | ECB vectors for the IDEA cipher.Paul Kehrer2014-03-031-0/+4504
| |/ | | | | | | | | Vectors from NESSIE and reformatted for NIST loader. https://www.cosic.esat.kuleuven.be/nessie/testvectors/bc/idea/Idea-128-64.verified.test-vectors
* / Added length type check to HOTP and corresponding testAyrx2014-03-031-0/+6
|/
* Merge pull request #709 from public/dsa-test-vectorsPaul Kehrer2014-03-0219-0/+16668
|\ | | | | DSA test vectors
| * Add the FIPS 186-3 DSA test vectorsAlex Stapleton2014-03-028-0/+16063
| | | | | | | | http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-3dsatestvectors.zip
| * Add NIST FIPS 186-2 DSA test vectorsAlex Stapleton2014-03-028-0/+545
| | | | | | | | http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2dsatestvectors.zip
| * Plaintext DSA test keys from GnuTLSAlex Stapleton2014-03-023-0/+60
| | | | | | | | https://gitorious.org/gnutls/gnutls/commit/ad2061deafdd7db78fd405f9d143b0a7c579da7b
* | Merge pull request #703 from alex/change-exceptino-typePaul Kehrer2014-03-021-2/+2
|\ \ | |/ |/| Change exception in use
| * Switch to TypeErrorAlex Gaynor2014-03-011-1/+1
| |
| * Update tests as wellAlex Gaynor2014-03-011-2/+2
| |
* | Added vectors for scrypt from the draft RFCAlex Gaynor2014-03-011-0/+38
|/
* address some review commentsPaul Kehrer2014-02-261-2/+6
|
* kwargs and class renames to bring verification up to datePaul Kehrer2014-02-251-15/+35
|
* more kwargsPaul Kehrer2014-02-251-1/+4
|
* add RSA verification supportPaul Kehrer2014-02-251-0/+88
|
* Merge pull request #673 from reaperhulk/rsa-pkcs1-signature-onlyAlex Gaynor2014-02-251-0/+80
|\ | | | | Add RSA PKCS1 signing (and structure for PSS + verification)
| * more kwargsPaul Kehrer2014-02-241-1/+5
| |
| * rename PKCS1->PKCS1v15 & UnsupportedAsymmetricPadding->UnsupportedPaddingPaul Kehrer2014-02-241-3/+3
| |
| * incorporate review feedback. kwarg!Paul Kehrer2014-02-231-1/+10
| |
| * keyword argsPaul Kehrer2014-02-231-1/+5
| |
| * fix pep8Paul Kehrer2014-02-231-1/+0
| |
| * some style fixesPaul Kehrer2014-02-231-3/+7
| |
| * add RSA PKCS1 signing (and structure for PSS + verification)Paul Kehrer2014-02-231-0/+60
| |
* | Do some nitpicking cleanup of the twofactor code and documentation.David Reid2014-02-252-2/+0
| |
* | Seperated the totp tests based on different hash typesAyrx2014-02-251-17/+80
| |
* | Fixed documentation based on alexs' comments.Ayrx2014-02-251-0/+8
| |
* | Added documentation for TOTP.Ayrx2014-02-251-0/+1
| |
* | Added TOTP implementation and tests.Ayrx2014-02-252-7/+72
|/
* Unencrypted PKCS8 ECC private keys from BotanAlex Stapleton2014-02-225-0/+40
| | | | https://github.com/randombit/botan/tree/4917f26a2b154e841cd27c1bcecdd41d2bdeb6ce/src/tests/data/ecc
* Private keys from GnuTLS tests/pkcs12_s2k_pem.cAlex Stapleton2014-02-2210-0/+170
| | | | | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs12_s2k_pem.c Part of a regression test in GnuTLS for a PKCS#12 parsing bug http://thread.gmane.org/gmane.network.gnutls.general/1663 Password is "123456" for all of them.
* Encrypted RSA private key from GnuTLS testsAlex Stapleton2014-02-221-0/+40
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/enc2pkcs8.pem Password is "baz"
* Unencrypted RSA private key from GnuTLS testsAlex Stapleton2014-02-221-0/+79
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/unencpkcs8.pem There is no password.
* Encrypted PKCS8 RSA key From the GnuTLS test suiteAlex Stapleton2014-02-221-0/+38
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/encpkcs8.pem Password is "foobar"
* Fixed HOTP test path, added changelog and myself to author list.Ayrx2014-02-211-1/+1
|
* Changed module name from otp to twofactor.Ayrx2014-02-212-1/+1
|
* Final changes to module namesAyrx2014-02-212-0/+83
|
* Add OpenSSL PEM vector docsAlex Stapleton2014-02-194-0/+0
|
* Add GnuTLS OpenSSL compatibility test keysAlex Stapleton2014-02-192-0/+24
| | | | | | | | key1.pem is encrypted with the password `123456` key2.pem is encrypted with the password `a123456` From commit GnuTLS commit f16ef39ef0303b02d7fa590a37820440c466ce8d
* Add testrsa.pem from the OpenSSL repoAlex Stapleton2014-02-192-0/+21
| | | | | | | | | | | Found in test/testrsa.pem. Has been around since the SSLeay fork. testrsa-encrypted.pem was encrypted with AES128 using OpenSSL 1.0.1e-3ubuntu1.1 under the password `password`. The command used was: openssl rsa -in testrsa.pem -out testrsa-encrypted.pem -aes128
* Explicitly pass the key parameters instead of using **kwargs. Now we don't ↵David Reid2014-02-191-3/+14
| | | | have to pop some stuff.
* Merge pull request #636 from reaperhulk/rsa-signature-loaderDavid Reid2014-02-191-0/+1
|\ | | | | Expand PKCS1 loader to load PKCS1 v1.5 and PSS signature examples
| * fix rsa key loader testPaul Kehrer2014-02-171-0/+1
| |
* | Fixed TOTP test vectors.Ayrx2014-02-182-12/+12
|/
* name things the right name for varietyPaul Kehrer2014-02-161-1/+1
|
* add CAST5 CTR support to commoncrypto + testsPaul Kehrer2014-02-161-0/+17
|
* Merge pull request #626 from reaperhulk/cast5-ctr-vectorsAlex Gaynor2014-02-161-0/+22
|\ | | | | CAST5 CTR vectors