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

Migration spongycastle -> bouncycastle #515

Closed
Neustradamus opened this issue Apr 13, 2020 · 9 comments
Closed

Migration spongycastle -> bouncycastle #515

Neustradamus opened this issue Apr 13, 2020 · 9 comments

Comments

@J-Jamet
Copy link
Member

J-Jamet commented Apr 13, 2020

Duplicate of #315
I have not yet studied the feasibility.

@J-Jamet J-Jamet closed this as completed Apr 13, 2020
@Neustradamus
Copy link
Author

@J-Jamet: Thanks for your reply!
Since several years, a lot of projects have already change it.

@J-Jamet
Copy link
Member

J-Jamet commented Apr 13, 2020

In this case, you can help me, I just prioritized developments, which is why the 2.5 version is not yet finished. ;) As we have the conversation on this issue, I close the old one. (but the next time, it is better to continue on an existing issue)

rtyley/spongycastle#34

@J-Jamet J-Jamet reopened this Apr 13, 2020
@J-Jamet J-Jamet changed the title For more security spongycastle -> bouncycastle Migration spongycastle -> bouncycastle Apr 13, 2020
@J-Jamet
Copy link
Member

J-Jamet commented Apr 13, 2020

What I am afraid with this migration is that the package of the same name (bouncycastle) is used on old devices (in the system) and that the classes use methods that do not work with the requested algorithms. Do you have link to a thread for Android projects that have already migrated with min SDK 14?

Otherwise we have to keep a different package name (spongycastle) with manual compilation for the latest version, which makes the process very cumbersome.

Can you tell me what are the major bugs and their impacts on the app that require the migration from version 1.58 to version 1.65?

@J-Jamet
Copy link
Member

J-Jamet commented Apr 14, 2020

OK, I made a branch which replaces Spongy Castle by Bouncy Castle, it seems to work with the technique of:
Security.removeProvider(BouncyCastleProvider.PROVIDER_NAME);
before
Security.addProvider(new BouncyCastleProvider());

I'm going to do some tests and integrate it into the develop branch.

@Neustradamus
Copy link
Author

@J-Jamet: Thanks for your changes! :)

@Neustradamus
Copy link
Author

@J-Jamet: Can you update to 1.69?
Note: There are CVEs corrections between the current and the latest.

@J-Jamet
Copy link
Member

J-Jamet commented Jul 20, 2021

Why do you answer in the closed issue? My constraints are still the same so please indicate the impacted CVEs in KeePassDX.
#833

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

No branches or pull requests

2 participants