Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix warning in new pylint | Jack Lloyd | 2018-03-17 | 1 | -9/+9 |
| | | | | | It doesn't like slicing using a ctypes integer as index: Slice index is not an int, None, or instance with __index__ | ||||
* | Fix incorrect return value check | Jack Lloyd | 2018-03-15 | 1 | -1/+1 |
| | |||||
* | In Python module support loading via libbotan-2.so.X soname | Jack Lloyd | 2018-03-15 | 1 | -7/+22 |
| | | | | | | Needed for distros that ship the main library symlink in the dev package. GH #1497 | ||||
* | Split Python tests out of botan2.py | Jack Lloyd | 2018-03-10 | 1 | -255/+3 |
| | | | | No reason to ship these to the end user | ||||
* | Latest pylint doesn't like these asserts | Jack Lloyd | 2017-12-17 | 1 | -2/+2 |
| | |||||
* | Fix Python tests | Jack Lloyd | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | Change http://botan.randombit.net to https URIs | Jack Lloyd | 2017-09-01 | 1 | -1/+1 |
| | | | | | | Not a big deal since the site already uses HSTS, but whatever. [ci skip] | ||||
* | Don't use len() to verify emptyness | Simon Warta | 2017-05-04 | 1 | -1/+4 |
| | |||||
* | Remove comment: FIXME without further description | Simon Warta | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | 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. |