bc-csharp
bc-csharp copied to clipboard
BouncyCastle.NET Cryptography Library (Mirror)
Perhaps you've already considered it, but in case you haven't: The library has many duplicate code paths, one using a Span implementation for higher targets (.NET) and one using arrays...
Hello On https://www.bouncycastle.org/download/bouncy-castle-c/ there is a nuget link On https://www.bouncycastle.org/download/bouncy-castle-c-fips/ there is no nuget link. Also on nuget.org I could not find the FIPS package. I would appreciate it if...
_**TL;DR:**_ * We'd like to use BouncyCastle's OpenPGP RSA/ECDSA keys with _HSM-backed private keys_. * This is a change request proposal to open `PgpSignatureGenerator` for extension to enable to adapt...
**Describe the Bug** When looping through the PgpPublicKeyRing.GetPublicKeys in a supplied Public Key File, the Primary Key is reported to possess a capability of the Subkey (Encryption) GPG generates key...
I create a new TLS-PSK client using the following code (credentials are changed). I Use BouncyCastle.Cryptography in v2.5.1 ```c# using Org.BouncyCastle.Tls; using Org.BouncyCastle.Tls.Crypto.Impl.BC; // ---- var pskTlsClient = new PskTlsClient(...
A type conflict has been encountered in the project due to the `PublicKeyFactory` type being 'maybe' defined in both of the following assemblies: - `BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942` - `itextsharp,...
**Describe the Bug** Kleopatra generates OpenPGP keys with the unofficial AEAD Encrypted Data packet (type 20). BouncyCastle fails to recognize this key packet and throws an exception whenever such key...
https://tools.ietf.org/html/draft-irtf-cfrg-xchacha-01#section-2 ``` AEAD_XChaCha20_Poly1305 XChaCha20-Poly1305 is a variant of the ChaCha20-Poly1305 AEAD construction as defined in [RFC7539] that uses a 192-bit nonce instead of a 96-bit nonce. ```
**Describe the Bug** Client certificate generated when creating whole chain (CA, server, and client certificates) is not loading. It fails `AllowDuplicates` check added in .Net 9 (check discussion about it...
** Issue ** New compiler warnings are generated when compiling under .Net 8+. This is because the many Exception-derived classes in the BouncyCastle.Cryptography library implement or override code which has...