aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/openssl.rst
Commit message (Collapse)AuthorAgeFilesLines
* FreeBSD 10 and higher use Fortuna, not Yarrow (#3652)Jeroen Ruigrok van der Werven2017-06-011-2/+4
|
* Be on brand: it's macOS (#3456)Alex Gaynor2017-03-151-1/+1
| | | | | | * Be on brand: it's macOS * line wrap
* add openssl_version_number & doc openssl_version_text (#3329)Paul Kehrer2016-12-211-0/+14
| | | | | | | | | | * add openssl_version_number & doc openssl_version_text fixes #3315 * more docs + actually assert on the test... * text
* Drop 1.0.0 (#3312)Alex Gaynor2016-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * delete the 1.0.0 support * drop the version check * drop the AES-CTR stuff * Update the example * openssl truncates for us now * delete unused test * unused imports * Remove a bunch of conditional bindings for NPN * no more 1.0.0 builders * libressl fix * update the docs * remove dead branches * oops * this is a word, damnit * spelling * try removing this * this test is not needed * unused import
* document DHBackend is implemented for OpenSSL (#3304)Paul Kehrer2016-12-111-0/+1
|
* New osrandom_engine in C (#3229)Christian Heimes2016-12-091-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New osrandom_engine in C Inspired by Python/random.c and the old implementation. Signed-off-by: Christian Heimes <christian@python.org> * osrandom_engine * Fix naming bug caused by search 'n replace mistake * Make it easier to override osrandom auto-detection * Add engine ctrl and backend API to get implementation from ENGINE Signed-off-by: Christian Heimes <christian@python.org> * Better test coverage, documentation, LICENSE Signed-off-by: Christian Heimes <christian@python.org> * Coverage is hard. Signed-off-by: Christian Heimes <christian@python.org> * * enable win32 check * read() returns size_t Signed-off-by: Christian Heimes <christian@python.org> * Add macOS to spelling list. Remove dead code from header file. Signed-off-by: Christian Heimes <christian@python.org> * remove CCRandomGenerateBytes path and update getentropy to work on macOS This change allows us to test all the engines in our CI: * getentropy (tested by macOS sierra) * getrandom (tested on several linux builders) * /dev/urandom (tested on FreeBSD, OS X 10.11 and below, & older linux) * CryptGenRandom (tested on windows builders) I also fixed bugs preventing compilation in the getentropy code * getentropy() returns int and is restricted to 256 bytes on macOS, too. Signed-off-by: Christian Heimes <christian@python.org> * add versionadded * Re-add import of os module * Fixes related to Alex's recent review. Signed-off-by: Christian Heimes <christian@python.org> * Add error reporting and fail for EAGAIN Add error reporting strings for various error cases. This gives us much nicer and understandable error messages. SYS_getrandom() EAGAIN is now an error. Cryptography refuses to initialize its osrandom engine when the Kernel's CPRNG hasn't been seeded yet. Signed-off-by: Christian Heimes <christian@python.org>
* Scrypt Implementation (#3117)Terry Chia2016-09-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Scrypt implementation. * Docs stuff. * Make example just an example and not a doctest. * Add changelog entry. * Docs cleanup. * Add more tests. * Add multibackend tests. * PEP8. * Add docs about Scrypt parameters. * Docs cleanup. * Add AlreadyFinalized.
* Drop OpenSSL 0.9.8 (#2978)Alex Gaynor2016-06-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop OpenSSL 0.9.8 * Drop this test, it's not relevant any longer * unused import * Remove CRYPTOGRAPHY_ALLOW_OPENSSL_098=1 from our tox * removed unused code for Cryptography_HAS_PKEY_CTX * return unused code for _AESCTRCipherContext * syntax :-( * remove some unused tests and skips * remove unused code for Cryptography_HAS_PBKDF2_HMAC * Revert "return unused code for _AESCTRCipherContext" This reverts commit 7d149729205aa4c9735eb322414b167a75b302df. * Remove unused RSA code * Remove unused test code for conditional bindings * Remove unused dsa code * unused import * Remove unused x509 extension code * Remove unused EC code * Attempt to remove unused DER key loading code * document this * grammar * Added back this paragraph * Update docs
* Make a paragraph slightly more clear (#2874)Alex Gaynor2016-04-211-1/+1
|
* Fixed the anchor of a URL that changed on wikipediaAlex Gaynor2015-06-201-1/+1
|
* support DER public and private key loading in the openssl backendPaul Kehrer2015-02-191-0/+1
|
* This link is also HTTPSAlex Gaynor2015-02-181-1/+1
|
* Update OpenSSL backend docs.Terry Chia2014-12-281-2/+3
|
* Use HTTPS for a number of URLs in the docsAlex Gaynor2014-12-121-1/+1
|
* add some missing docs for PKCS8SerializationBackend, update changelogPaul Kehrer2014-05-311-0/+2
|
* Word wrap some long lines in teh docsAlex Gaynor2014-05-171-5/+5
|
* document that the OpenSSL backend conforms to the CMACBackend interfacePaul Kehrer2014-05-011-0/+1
|
* Add DSA verification docsMohammed Attia2014-04-301-0/+1
|
* New Anchor hereAlex Gaynor2014-04-231-1/+1
|
* Standardise on sentence case for titlesAlex Stapleton2014-03-181-3/+3
|
* document our oldest supported openssl and deny older supportPaul Kehrer2014-03-101-1/+3
|
* typoPaul Kehrer2014-02-111-1/+1
|
* less confusing languagePaul Kehrer2014-02-111-2/+3
|
* be accurate when telling users what CryptGenRandom uses under the hoodPaul Kehrer2014-02-111-2/+3
|
* Generate RSA KeysAlex Stapleton2014-02-111-0/+1
|
* remove deactivate and replace with activate_builtin_randomPaul Kehrer2014-02-051-5/+2
|
* Merge branch 'master' into urandom-enginePaul Kehrer2014-02-031-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fixes #539 -- document which interfaces a backend implementsAlex Gaynor2014-01-311-1/+10
| |
* | change register/unregister to activate/deactivatePaul Kehrer2014-01-311-8/+5
| |
* | 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-301-1/+1
| |
* | add a hyphen to please the spellcheck godsPaul Kehrer2014-01-291-1/+1
| |
* | rst syntaxPaul Kehrer2014-01-291-1/+1
| |
* | add a little info about the various system randoms. maybe useful?Paul Kehrer2014-01-291-0/+12
| |
* | update random engine docsPaul Kehrer2014-01-291-10/+20
| |
* | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-291-28/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (108 commits) PBKDF2HMAC requires a PBKDF2HMACBackend provider. one more replacement simplify hmac supported and hash supported calls for commoncrypto simplify check for algorithm a bit more language work + changelog changes for pbkdf2hmac one more style fix a few typo fixes, capitalization, etc switch to private attributes in pbkdf2hmac expand docs to talk more about the purposes of KDFs update docs re: PBKDF2HMAC iterations add test for null char replacement Added installation section to index.rst called -> used quotes inside, diff examples Expose this method because probably someone will need it eventually fix spacing, remove versionadded since HashAlgorithm was in 0.1 document HashAlgorithm Added canonical installation document with details about various platforms, fixes #519 update docs for pbkdf2 Add bindings for X509_REQ_get_extensions. ... Conflicts: cryptography/hazmat/bindings/openssl/binding.py docs/hazmat/backends/openssl.rst
| * Added canonical installation document with details about various platforms, ↵skeuomorf2014-01-291-48/+0
| | | | | | | | fixes #519
| * Mark that tehse are console sections so they syntax highlightAlex Gaynor2014-01-241-6/+12
| |
| * add instructions on how to install openssl via homebrewPaul Kehrer2014-01-241-2/+5
| |
| * add env so homebrew instructions work in fish as well as bash on OS XPaul Kehrer2014-01-241-1/+2
| |
| * add doc info about how to link against homebrew OpenSSL on OS XPaul Kehrer2014-01-241-0/+11
| |
* | first pass at adding docs for the engine.Paul Kehrer2014-01-201-1/+28
|/ | | | | lvh has graciously agreed to draft some language to explain the rationale behind choosing the system random over userspace rand
* fix docsPaul Kehrer2014-01-191-2/+2
|
* update docs for name attributePaul Kehrer2014-01-191-2/+2
|
* docs for explicit backend selection and document name attribute of backendPaul Kehrer2014-01-181-1/+5
|
* Split OpenSSL bindingAlex Stapleton2014-01-011-15/+2
|
* Document compiling OpenSSL to avoid conflictsAlex Stapleton2013-12-311-0/+27
|
* Slightly reorganize and cleanuip the backend docsAlex Gaynor2013-12-241-2/+2
|
* Renamed bindings to backendsAlex Gaynor2013-12-131-0/+25