pyjks icon indicating copy to clipboard operation
pyjks copied to clipboard

Provide support for keystores with no/empty passphrase

Open travis-bear opened this issue 8 years ago • 1 comments

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.

travis-bear avatar Nov 07 '17 23:11 travis-bear

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.

mahmoud avatar Dec 17 '17 01:12 mahmoud