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

Keystore conflict with crypto providers #224

Closed
simlei opened this issue Aug 25, 2020 · 3 comments
Closed

Keystore conflict with crypto providers #224

simlei opened this issue Aug 25, 2020 · 3 comments
Assignees
Milestone

Comments

@simlei
Copy link
Member

simlei commented Aug 25, 2020

Keystore loading and item retrieval behavior is subject to the global static java.security.Security policy, which we set in https://github.com/jcryptool/core/blob/develop/de.flexiprovider/src/de/flexiprovider/FlexiProviderController.java

The keystore file from 2018 has beein reinstated (in a non-develop branch!) here: 0e5b753

It looks like TLS is only working when sun providers have preference, while our keystore files only work when with flexiprovider Providers have preference. The branch keystore_provider_experiment has these changes: https://github.com/jcryptool/core/compare/keystore_provider_experiment

However, at least as of 82e3b99, The change is only effective when the workspace is created fresh, i.e. when the shipped 2018 keystore is used. Then, it seems the format is saved to disk in the sun format. as of 280dcf8 only an unrelated error is thrown:

@simlei
Copy link
Member Author

simlei commented Aug 25, 2020

merged branch keystore_provider_experiment as it seems to be what we're going for but is untested

@simlei simlei self-assigned this Oct 20, 2020
@grthor
Copy link
Member

grthor commented Nov 7, 2020

Fix works in WB 11.07.20
Would suggest to close it.

@simlei
Copy link
Member Author

simlei commented Nov 10, 2020

Also have not seen this again since the fix introduced with 2ca1760

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

2 participants