Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Work around name conflict of symbol "rng" | Simon Warta | 2017-05-04 | 1 | -13/+14 |
| | |||||
* | Add base exception type: BotanException | Simon Warta | 2017-05-04 | 1 | -22/+30 |
| | |||||
* | Fix various pylint warnings | Simon Warta | 2017-05-04 | 1 | -8/+10 |
| | |||||
* | Avoid redefining build-in name "hash" | Simon Warta | 2017-05-04 | 1 | -3/+3 |
| | | | | | this breaks applications using a parameter labels, e.g. pubkey.fingerprint(hash='SHA-512') | ||||
* | Silence invalid name warning for module "botan" | Simon Warta | 2017-05-04 | 1 | -2/+2 |
| | |||||
* | Silence pylint invalid class name warnings | Simon Warta | 2017-05-04 | 1 | -12/+12 |
| | |||||
* | Use comments to organize code sections | Simon Warta | 2017-05-04 | 1 | -35/+40 |
| | |||||
* | Remove trailing whitespace | Simon Warta | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | Break long lines | Simon Warta | 2017-05-04 | 1 | -14/+29 |
| | |||||
* | Expose BigInt API subset to C API | Jack Lloyd | 2017-03-28 | 1 | -10/+5 |
| | | | | Also adds RSA key constructors using BN | ||||
* | Rename Python module to botan2 | Jack Lloyd | 2017-01-24 | 1 | -0/+0 |
| | | | | | | | Makes it easier to support side by side installs. And for the programmer it is easier if `import botan2` can always be used to refer to a specific version. GH #847 | ||||
* | Fix some (not all) pylint warnings in botan.py | Jack Lloyd | 2017-01-12 | 1 | -54/+52 |
| | |||||
* | Fix pyflakes warnings in Python wrapper code | Jack Lloyd | 2017-01-12 | 1 | -16/+21 |
| | |||||
* | Update shared object naming for new versioning scheme. | Jack Lloyd | 2017-01-06 | 1 | -2/+2 |
| | | | | | | | | | | | | Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running. | ||||
* | fix python 3 bindings | Kai Michaelis | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | fix python bindings | Kai Michaelis | 2016-06-01 | 1 | -4/+4 |
| | |||||
* | Removed empty line | Mouse | 2016-04-06 | 1 | -1/+0 |
| | |||||
* | Fixed bcrypt() argument problem. Fixed buffer overread in bcrypt(). | Mouse | 2016-04-05 | 1 | -3/+13 |
| | |||||
* | Remove tab | René Korthaus | 2016-02-20 | 1 | -1/+1 |
| | |||||
* | Improvements in X.509 cert handling for python bindings | René Korthaus | 2016-02-20 | 1 | -16/+69 |
| | | | | | | | | Add implementation for ffi botan_x509_cert_get_public_key(). Add subject_dn() function to python x509_cert class. Have python x509_cert constructor take a buffer alternatively. Have python x509_cert functions time_starts() and time_expires() return a python timestamp. | ||||
* | Added comments explaining when .decode() is needed on mce_decrypt | Uri Blumenthal | 2015-10-23 | 1 | -2/+7 |
| | |||||
* | Fix minor output problem. | Mouse | 2015-10-23 | 1 | -8/+13 |
| | | | | | | Added MCEIES plaintext and decrypted output. Added output length where it was missing. Changed "Public key bits" output to Base64 to match cert.toString() | ||||
* | Add workaround for Python 3.2/3.3 behavior in binascii. GH #305 | Jack Lloyd | 2015-10-22 | 1 | -1/+1 |
| | |||||
* | Fix a bug in botan.py found by PyPy's ctypes | Jack Lloyd | 2015-10-22 | 1 | -3/+12 |
| | | | | | | | | Add toplevel note explaining what is going on with this module. Print the interpreter version at startup [ci skip] | ||||
* | Reverted version comparison relaxation, per Jack Lloyd's comment. | Uri Blumenthal | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/randombit/botan | Uri Blumenthal | 2015-10-20 | 1 | -293/+262 |
|\ | |||||
| * | Fix botan.py for Python3 | Jack Lloyd | 2015-10-20 | 1 | -245/+255 |
| | | | | | | | | | | | | | | | | | | Remove any need for callers to do version checks or encode values specially to handle Python2 vs Python3 ctypes differences. API users shouldn't have to care about that - encapsulate the differences in a few functions for handling the conversions. Add botan_cipher_query_keylen to ffi | ||||
* | | Made most of botan.py run under Python3. | Uri Blumenthal | 2015-10-20 | 1 | -60/+101 |
|/ | | | | | Components that rely on the new Lambda-functions, do not run under Python3 - so they are blocked if Python3 is detected. | ||||
* | Add McEliece keygen and MCEIES to C89 API. Plus random fiddling | Jack Lloyd | 2015-10-01 | 1 | -24/+60 |
| | |||||
* | Export X.509 certificates to ffi and python | Jack Lloyd | 2015-10-01 | 1 | -41/+129 |
| | | | | Missing path validation, probably other things | ||||
* | Changed tabs to 4 spaces | Mouse | 2015-08-14 | 1 | -5/+5 |
| | |||||
* | Restored Darwin compatibility | Uri Blumenthal | 2015-08-14 | 1 | -1/+4 |
| | |||||
* | Ported python demo script to python-3 | Uri Blumenthal | 2015-08-14 | 1 | -61/+129 |
| | |||||
* | Fixing platform independence that previous patch broke | Mouse | 2015-08-12 | 1 | -1/+1 |
| | |||||
* | Made output prettier and more understandable | Uri Blumenthal | 2015-08-11 | 1 | -31/+65 |
| | |||||
* | Fix Python MAC wrapper, add an example/test | lloyd | 2015-05-30 | 1 | -2/+12 |
| | |||||
* | Fix Python cipher update_granularity() and default_nonce_length() | lloyd | 2015-03-09 | 1 | -4/+5 |
| | | | | which were completely broken. Pointed out by Uri B on mailing list. | ||||
* | Fix decrypt in FFI/Python. Github issue 53 | lloyd | 2015-03-01 | 1 | -5/+16 |
| | |||||
* | FFI header cleanup, small Python additions | lloyd | 2015-02-24 | 1 | -3/+19 |
| | |||||
* | Python cleanups | lloyd | 2015-02-19 | 1 | -12/+17 |
| | |||||
* | Python: docs, key agreement, fix bcrypt trailing null byte. | lloyd | 2015-02-16 | 1 | -23/+78 |
| | | | | Initial very incomplete pass at error return value sanity. | ||||
* | Add new module `ffi` which provides a plain C interface, plus a new | lloyd | 2015-02-16 | 7 | -802/+517 |
| | | | | | | | | | | | | ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it. | ||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 2 | -7/+0 |
| | | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available). | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 5 | -4/+6 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Move python to src, add to main makefile | lloyd | 2014-01-07 | 6 | -0/+807 |