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

Provide support for keystores with no/empty passphrase #36

Open
travis-bear opened this issue Nov 7, 2017 · 1 comment
Open

Provide support for keystores with no/empty passphrase #36

travis-bear opened this issue Nov 7, 2017 · 1 comment

Comments

@travis-bear
Copy link

I have several keystores with blank passphrases.

KeyStore.open() requires a passphrase param. Using None, \n, and '' don't work as valid values. There should be a way to open keystores that were created without a passphrase.

One solution would be to make the passphrase parameter optional.

@mahmoud
Copy link
Collaborator

mahmoud commented Dec 17, 2017

Hey @travis-bear! You wouldn't happen to have one of those blank passphrase jks files to share would you? That way we could reproduce and add to our regression tests. I'd do it myself but keytool hasn't supported creating empty-passphrase JKS files for a while.

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