bc-csharp
bc-csharp copied to clipboard
BouncyCastle.NET Cryptography Library (Mirror)
Move the constant data for picnic from the bz2 files embedded as resources in the assembly to be embedded as static properties in the source. Those properties can then be...
PGP encrypted armored files always contain the "Version" header, also after setting the header value to null (-> "Version: "). Could you please change this, so that when setting the...
Add SignedPublicKeyAndChallenge ASN1 strusture into Asn1/Mozilla. Signed SignedPublicKeyAndChallenge is used for certification requests without a subject name. Although it is no longer supported by Mozilla browsers.
Implement the LIBSECURE XTEA cryptography library used on PlayStation devices. This uses custom XTEA designed to be faster than the classic version. The Number of rounds by default is 16,...
Hello, starting from the version 2.3.0 (last working version 2.2.1) spaces are removed from the beginning of the Common Name (X509Name). I don't know if this change is intentional but...
Just notice that this class has another similar bug
If the returnKey size is more than one, the first deletion will change the index of returnKey.*. The follow-up deletions will delete the wrong items.
The code is as follows: ' private static PgpPublicKey RemoveCert(PgpPublicKey key, IUserDataPacket id) { PgpPublicKey returnKey = new PgpPublicKey(key); bool found = false; for (int i = 0; i
HI The error msg: ``` checksum failed at Org.BouncyCastle.Crypto.Engines.Rfc3394WrapEngine.Unwrap(Byte[] input, Int32 inOff, Int32 inLen) in BouncyCastle\\crypto\\src\\crypto\\engines\\RFC3394WrapEngine.cs:line 171 at Org.BouncyCastle.Cms.KeyAgreeRecipientInformation.UnwrapSessionKey(DerObjectIdentifier wrapAlgOid, KeyParameter agreedKey) in BouncyCastle\\crypto\\src\\cms\\KeyAgreeRecipientInformation.cs:line 159 at Org.BouncyCastle.Cms.KeyAgreeRecipientInformation.GetSessionKey(AsymmetricKeyParameter receiverPrivateKey) in BouncyCastle\\crypto\\src\\cms\\KeyAgreeRecipientInformation.cs:line...
We recently tried to update from version `2.3.1` to `2.4.0` This caused our encryption tests to break. I've produced a minimal example [here](https://github.com/rosco12345/bc-csharpV2.4-nullReferenceError-example). It's simply a test that encrypts a...