Closed aronowski closed 4 months ago
Good catch thank you, I'll look into it.
I've reproduced the issue, it happens only with a PKCS#12 keystore when the password is not specified. The keystore can be loaded with no password, the aliases can be listed, but the keys and certificates can't be accessed.
Assuming that one wants to sign a
binary.bin
file using anexample.p12
file, which has no password, the command below, which doesn't provide any storepass, prints a contradicting message:But specifying and empty storepass works just fine:
The point of this issue is that the error message should rather print something that provides a hint, rather than contradicting itself, maybe:
Wrong password for keystore example.p12.
?