Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of BouncyCastle library #504

Open
WojciechNagorski opened this issue Dec 11, 2023 · 3 comments
Open

Size of BouncyCastle library #504

WojciechNagorski opened this issue Dec 11, 2023 · 3 comments

Comments

@WojciechNagorski
Copy link

Why is BouncyCastle so big? (is inflated 😄) Currently, the DLL has over 8 GB and the entire Nuget 14.2 MB.
image

Background

Currently, SSH.NET uses source code copied from BouncyCastle. We are considering using the official Nuget of this library which has many benefits for SSH.NET. More details sshnet/SSH.NET#1271
However, the size of the BouncyCastle DLL is out of proportion to SSH.NET
image

@harrison314
Copy link
Contributor

A large part of BouncyCastle's volume is occupied by data for post-quantum cryptography. Then some data for elliptic curves.

@jstedfast
Copy link
Contributor

At one point, the BouncyCastle.Crypto.dll (before the migration to dotnet core), it also seemed to contain Unit Test data. Is that still the case?

@harrison314
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants