aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #577 from public/backend-rsa-interfacePaul Kehrer2014-02-082-0/+30
|\ \ | | | | | | RSABackend interface
| * | Start of an RSABackend interfaceAlex Stapleton2014-02-082-0/+30
| |/ | | | | | | Only has key generation for now.
* | Merge pull request #559 from public/rsa-keysPaul Kehrer2014-02-075-0/+381
|\ \ | | | | | | RSA keys
| * | Make tests more explicit.Alex Stapleton2014-02-071-38/+89
| | |
| * | .Alex Stapleton2014-02-071-1/+1
| | |
| * | Add warning about untrusted private keysAlex Stapleton2014-02-071-0/+7
| | |
| * | Check that public_exponent is oddAlex Stapleton2014-02-072-12/+26
| | |
| * | Use os.path.join to make pathsAlex Stapleton2014-02-061-1/+4
| | |
| * | More sanity checksAlex Stapleton2014-02-063-3/+24
| | |
| * | Test alias propertiesAlex Stapleton2014-02-051-0/+5
| | |
| * | Use a version check when counting bit_lengthAlex Stapleton2014-02-051-2/+4
| | |
| * | RSA key docsAlex Stapleton2014-02-052-0/+52
| | |
| * | Check p*q=n in the testsAlex Stapleton2014-02-051-0/+2
| | |
| * | Sanity check keys.Alex Stapleton2014-02-052-1/+50
| | | | | | | | | | | | Taken from RFC 3447.
| * | RSA keysAlex Stapleton2014-02-053-0/+175
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are implemented such that they don't depend on the backend. This means we don't have to worry about passing an RSA key created with one backend to a different one so much at the expense of having to create a backend specific context on demand. This is slightly non-trivial in (at least) OpenSSL as there are 3 additional derived parameters kept in its RSA struct. They aren't difficult to generate but it requires adding 30-40 lines of BN_* stuff to the backend so I'm leaving that out for now. We'll need to implement that before we can actually do any useful operations with the keys. This also adds a loader for some of the PKCS #1 test vectors. It only extracts the 10 key pairs from pss_vect.txt currently be should be extenable to include the example signatures and other files later.
* | Merge pull request #578 from dreid/no-random-doctest-because-reasonsAlex Gaynor2014-02-071-1/+1
|\ \ | | | | | | Use a pycon codeblock instead...
| * | Use a pycon codeblock instead...David Reid2014-02-071-1/+1
|/ /
* | Merge pull request #575 from alex/development-statusDavid Reid2014-02-071-1/+0
|\ \ | | | | | | We're now past pre-alpha
| * | Just drop the classifier entirelyAlex Gaynor2014-02-071-1/+0
| | |
| * | We're now past pre-alphaAlex Gaynor2014-02-071-1/+1
|/ /
* | Merge pull request #573 from manuels/patch-1Paul Kehrer2014-02-061-0/+4
|\ \ | | | | | | Add support for DTLSv1
| * | Add support for DTLSv1manuels2014-02-061-0/+4
|/ /
* | Merge pull request #572 from alex/rephrasePaul Kehrer2014-02-062-17/+17
|\ \ | | | | | | Rephrase for additional clairyt
| * | Rephrase for additional clairytAlex Gaynor2014-02-062-17/+17
| | |
* | | Merge pull request #570 from alex/use-urandomPaul Kehrer2014-02-062-0/+21
|\ \ \ | |/ / |/| | Fixed #568 -- Document that users should use urandom for all their rando...
| * | Be more alarmistAlex Gaynor2014-02-061-2/+2
| | |
| * | Fixed #568 -- Document that users should use urandom for all their random ↵Alex Gaynor2014-02-062-0/+21
| | | | | | | | | | | | numbers
* | | Merge pull request #571 from parlarjb/patch-1Alex Gaynor2014-02-061-1/+1
|\ \ \ | |/ / |/| | Update padding.rst
| * | Update padding.rstJay Parlar2014-02-061-1/+1
|/ / | | | | Small typo fix
* | Merge pull request #567 from alex/filename-matchPaul Kehrer2014-02-051-5/+12
|\ \ | | | | | | Make the filename match
| * | Rewrite this to be more streamlinedAlex Gaynor2014-02-051-3/+6
| | |
| * | Make the filename matchAlex Gaynor2014-02-051-2/+6
|/ /
* | Merge pull request #377 from reaperhulk/urandom-engineAlex Gaynor2014-02-056-2/+355
|\ \ | | | | | | Set default RAND engine to urandom/cryptgenrandom
| * | improve commentsPaul Kehrer2014-02-051-5/+5
| | |
| * | add os random engine to changelogPaul Kehrer2014-02-051-0/+1
| | |
| * | remove unregisters from wordlist as it's not in the docs nowPaul Kehrer2014-02-051-1/+0
| | |
| * | get urandom fd flag and bitwise OR it with FD_CLOEXEC. comment updatePaul Kehrer2014-02-051-2/+6
| | |
| * | remove deactivate and replace with activate_builtin_randomPaul Kehrer2014-02-053-179/+21
| | |
| * | Merge branch 'master' into urandom-enginePaul Kehrer2014-02-0511-20/+436
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: PKCS #1 RSA test vector loader Removed pointless anchor Docs need virtualenv as well Everything about bash is the worst Some reST markup nonsense Fix for OS X More clearly describe the behavior of constant_time.bytes_eq Run the doc tests under OS X Made OpenSSL's derive_pbkdf2_hmac raise the right exception Document which backends implement which itnerfaces. Fixes #538 pep8 Fixed a typo in the docs Make the default backend be a multi-backend Conflicts: tests/hazmat/backends/test_openssl.py
| * | add some more comments to clarify what the ENGINE_ calls in backend doPaul Kehrer2014-02-041-1/+15
| | |
| * | assert the right thingPaul Kehrer2014-02-041-1/+1
| | |
| * | rename osrand_engine to osrandom_enginePaul Kehrer2014-02-042-1/+1
| | |
| * | forward declaration wooPaul Kehrer2014-02-041-0/+2
| | |
| * | cryptgenrandom returns all requested bytes or errors, so no loop requiredPaul Kehrer2014-02-041-10/+3
| | |
| * | close the fd if fcntl failsPaul Kehrer2014-02-041-0/+1
| | |
| * | Merge branch 'master' into urandom-enginePaul Kehrer2014-02-0332-47/+25156
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (66 commits) Chanloge + versionadded Added an example usage Typo fix Added to toctree Rename and document Linkify the things we have that others don't add HKDF to changelog Strings have quote marks at both ends. HKDF example. Properly mark all test cases as dependant on HMAC. Remove language about the separate stages of HKDF until we expose multiple stages of HKDF. Don't forget InvalidKey. Fix typo Import exception classes instead of the exceptions module. Lose the bit about passwords. https a bunch of links. Pseudorandom is a word. Backtick the entire equation. Clarify salt language and link to the paper in addition to the RFC. Don't expose extract and expand on this class yet because we don't know how best to expose verify functionality, continue testing the stages using the private methods. ... Conflicts: docs/hazmat/backends/openssl.rst
| * | | add catastrophic failure check to testsPaul Kehrer2014-02-021-0/+7
| | | |
| * | | change register/unregister to activate/deactivatePaul Kehrer2014-01-313-34/+31
| | | |
| * | | more explanation of what an active osrandom engine meansPaul Kehrer2014-01-311-4/+10
| | | |
| * | | address review comments on osrandom engine, reorganize some codePaul Kehrer2014-01-302-60/+79
| | | |