Commit graph

2196 commits

Author SHA1 Message Date
Paul Kehrer
7aa92312a4 Merge pull request #665 from public/evp-pkey-attributes
Bind X509 attribute methods for EVP_PKEYs
2014-02-22 09:51:21 -06:00
Paul Kehrer
017d0fd513 Merge pull request #666 from public/pkcs8-bindings
PKCS8 bindings that let you specify the encryption
2014-02-22 09:32:18 -06:00
Alex Stapleton
00d4a70ff5 Unencrypted PKCS8 ECC private keys from Botan
4917f26a2b/src/tests/data/ecc
2014-02-22 14:53:20 +00:00
Alex Stapleton
41ca184b13 Private keys from GnuTLS tests/pkcs12_s2k_pem.c
f8d943b38b: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.
2014-02-22 14:41:01 +00:00
Alex Stapleton
ecb85ba279 Encrypted RSA private key from GnuTLS tests
f8d943b38b:tests/pkcs8-decode/enc2pkcs8.pem

Password is "baz"
2014-02-22 14:40:16 +00:00
Alex Stapleton
3b1dfda986 Unencrypted RSA private key from GnuTLS tests
f8d943b38b:tests/pkcs8-decode/unencpkcs8.pem

There is no password.
2014-02-22 14:36:24 +00:00
Alex Stapleton
0a622927dc Encrypted PKCS8 RSA key From the GnuTLS test suite
f8d943b38b:tests/pkcs8-decode/encpkcs8.pem

Password is "foobar"
2014-02-22 14:35:17 +00:00
Alex Stapleton
c663ff37d5 PKCS8 bindings that let you specify the encryption 2014-02-22 10:16:38 +00:00
Alex Stapleton
973fc268f7 Bind X509 attribute methods for EVP_PKEYs 2014-02-22 09:30:10 +00:00
Paul Kehrer
33f0f0ca07 Merge pull request #662 from public/fix-interface-more
Remove backend arg from the backend interface
2014-02-21 14:04:05 -06:00
Alex Stapleton
5eed941af2 Remove backend arg from the backend interface
I don't know.
2014-02-21 19:41:06 +00:00
Paul Kehrer
8897944898 Merge pull request #661 from alex/fix-interface
Include 'self' in the interface
2014-02-21 12:52:22 -06:00
Alex Gaynor
693cc67a92 Include 'self' in the interface 2014-02-21 12:28:12 -06:00
Paul Kehrer
c85157b5fb Merge pull request #619 from public/openssl-key-loading-interfaces
Interfaces for loading OpenSSL "traditional" format private keys.
2014-02-21 11:21:28 -06:00
Alex Gaynor
26084d8c15 Merge pull request #660 from reaperhulk/osrandom-more-robust
Cryptography_add_osrandom_engine should be safe to call multiple times
2014-02-20 21:11:41 -08:00
Paul Kehrer
3d487a6f46 c89, thanks microsoft... 2014-02-20 22:50:12 -06:00
Paul Kehrer
ea7416a993 add a comment to explain this damn function 2014-02-20 22:27:43 -06:00
Paul Kehrer
6f45b8762c clear the error you get if you get a NULL engine back 2014-02-20 22:24:59 -06:00
Paul Kehrer
3c0de81384 Merge pull request #598 from Ayrx/hotp-impl
HOTP Implementation
2014-02-20 22:11:56 -06:00
Paul Kehrer
f8c53ea2d8 test to confirm calling Cryptography_add_osrandom_engine > 1 is safe 2014-02-20 21:30:44 -06:00
Ayrx
c2e5340924 Fixed HOTP test path, added changelog and myself to author list. 2014-02-21 11:30:02 +08:00
Paul Kehrer
7f25030b53 Cryptography_add_osrandom_engine should be safe to call multiple times 2014-02-20 21:21:47 -06:00
Ayrx
94c73592a8 Added "version added" to docs 2014-02-21 11:13:35 +08:00
Ayrx
8c1ad596b0 Changed module name from otp to twofactor. 2014-02-21 11:13:35 +08:00
Ayrx
26d276f2a9 Updated documentation. 2014-02-21 11:13:35 +08:00
Ayrx
64a3fbd636 Final changes to module names 2014-02-21 11:13:35 +08:00
Ayrx
ebadb6b293 Updated docs with notes on throttling and resynchronization. 2014-02-21 11:13:35 +08:00
Ayrx
b5189afaf1 Added a max limit of 8 on length parameter. Updated documentation. 2014-02-21 11:13:35 +08:00
Ayrx
25b1d21b40 Updated documentation. 2014-02-21 11:13:35 +08:00
Ayrx
a7769110ef Updated according to code review feedback. 2014-02-21 11:13:35 +08:00
Ayrx
b2ee044298 Minor changes for python3 compat and documentation changes 2014-02-21 11:13:35 +08:00
Ayrx
18ca44bfef Added documentation for HOTP implementation. 2014-02-21 11:13:35 +08:00
Ayrx
00cc90018a Added HOTP implementation and associated tests 2014-02-21 11:13:35 +08:00
Paul Kehrer
d2f24580aa Merge pull request #659 from alex/release-cleanup
A tiny formatting cleanup
2014-02-20 18:33:31 -06:00
Alex Gaynor
8c9911e976 Merge pull request #658 from reaperhulk/int-to-bn
Add private _int_to_bn method to openssl backend
2014-02-20 16:21:13 -08:00
Alex Gaynor
6629fa5c3d A tiny formatting cleanup 2014-02-20 16:10:53 -08:00
Paul Kehrer
b73dd29234 bytes and strings...yes. 2014-02-20 18:01:03 -06:00
Paul Kehrer
83274d581e add private _int_to_bn method to openssl backend 2014-02-20 17:59:03 -06:00
Alex Gaynor
5a2496b03e Merge pull request #656 from reaperhulk/fix-openssl-backend-variables
backend -> self
2014-02-20 15:18:54 -08:00
Paul Kehrer
aa8af51fe6 This works but we should really be using self.
Also assert RSA_new doesn't return NULL
2014-02-20 16:57:14 -06:00
Alex Gaynor
dfee2f9522 Merge pull request #655 from reaperhulk/third-release-open-for-business
Reopen master for third release development
2014-02-20 13:26:21 -08:00
Alex Stapleton
2fb76a3d39 OpenSSL "traditional" key format loading...
Backend interface only.
2014-02-20 19:48:51 +00:00
Paul Kehrer
f933572455 boilerplate to reopen master for third release work 2014-02-20 13:37:51 -06:00
Paul Kehrer
6a364d5262 Merge pull request #654 from alex/release-0.2
Bump version numbers for 0.2 release
2014-02-20 13:22:51 -06:00
Alex Gaynor
63614e8671 Bump version numbers for 0.2 release 2014-02-20 10:44:16 -08:00
Paul Kehrer
2f15224a3f Merge pull request #653 from alex/ssl-cipher-bindings
Ssl cipher bindings
2014-02-20 12:31:49 -06:00
Alex Gaynor
0b648b3939 Move for OpenSSL 0.9.8 2014-02-20 09:56:41 -08:00
Paul Kehrer
4cfb1495ff Merge pull request #651 from alex/upload-wheels
Upload windows wheels
2014-02-20 11:53:58 -06:00
Alex Gaynor
6c77b34268 python 2.6 2014-02-20 09:32:55 -08:00
Alex Gaynor
6ab3f46b6f Upload windows wheels 2014-02-20 09:07:53 -08:00