| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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 MCEIES plaintext and decrypted output.
Added output length where it was missing.
Changed "Public key bits" output to Base64 to match cert.toString()
|
| |
|
|
|
|
|
|
|
|
| |
Add toplevel note explaining what is going on with this module.
Print the interpreter version at startup
[ci skip]
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Components that rely on the new Lambda-functions, do not
run under Python3 - so they are blocked if Python3 is detected.
|
| |
|
|
|
|
| |
Missing path validation, probably other things
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
which were completely broken. Pointed out by Uri B on mailing list.
|
| |
|
| |
|
| |
|
|
|
|
| |
Initial very incomplete pass at error return value sanity.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Update license header line to specify the terms and refer to the file,
neither of which it included before.
|
|
|