botan icon indicating copy to clipboard operation
botan copied to clipboard

Cryptography Toolkit

Results 267 botan issues
Sort by recently updated
recently updated
newest added

I have been having trouble locating a definitive guide or code examples to both create a RSA keypair and Encrypt/ decrypt using said keys. My first method was using the...

usage question
documentation

At the moment, I only want: tls, system_rng, bcrypt. I am achieving this using --minimized and --enable-modules=tls,system_rng,bcrypt I do something like this (1) ./configure.py --minimized --enable-modules=tls,system_rng,bcrypt --amalgamation --os=macos --cpu=x86_64 --cc=clang...

enhancement

The comparison of distinguished names (DN) seems to be defined in [section 7.1 of RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280#section-7.1). Although the algorithm requires that the relative distinguished names (RDN) are in the same...

bug

Can you please help us understand how we can decode the multiple hierarchies for example, if we have the following SEQUENCE : SEQUENCE : SET : SEQUENCE : OBJECT IDENTIFIER...

usage question
documentation

Using the same parameters as with the raw PKCS11 library I get a PKCS11 error 19 (Attribute Invalid) when trying to generate an AES key with the LowLevel API of...

usage question

I have the following code in C to generate an AES Key object for a PKCS11 token: CK_RV generateAESKey(CK_SESSION_HANDLE hSession, const char* tokenLabel, CK_MECHANISM_TYPE ckMechType, const char* keyLabel, CK_ULONG keyLen,...

documentation

#ifdef __APPLE__ #if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wshorten-64-to-32" #pragma clang diagnostic ignored "-Wcomma" #pragma clang diagnostic ignored "-Wdeprecated-volatile" #endif #elif defined(__ANDROID__) #if defined(__GNUC__) #pragma GCC...

enhancement
needs more info

We are currently testing compatibility of our SmartCard-HSM with the PKCS#11 classes in Botan. I was wondering how we should provide the test results, so they can be integrated in...

Hi, I'm currently trying hard to construct a DER encoded PKCS#7 version 1.5 SignedData structure (RFC2315) using `Botan::DER_Encoder` and could need some help with the encoding. This is what I...

It is too easy for inlines or such to end up in this file and nothing in our CI will detect this so it easily ends up being shipped in...

task