-
Notifications
You must be signed in to change notification settings - Fork 69
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
Should update target JKS/PKCS when password changed #433
Comments
I think this is the way JKS/keytool works. The password is just an integrity check, and when the password is omitted, the integrity check is just skipped. But I think a truststore should be updated if the password changes. Even if cert-manager does not yet support this, ref. cert-manager/cert-manager#3450. But in cert-manager solving this is more complex, since the password is externalized. And not inlined, as in trust-manager. /kind bug |
It seems this was my task - introduction of security trust stores by passwords |
We should probably add a new hash annotation for the truststore password (if any). And reconcile the target if hash doesn't match . Similar to what we do with bundle data. |
How is this issue urgent? I can tackle this. |
/assign |
Hello, |
Hi !
I noticed some problems around password for generated p12 and JKS file.
short description:
For JKS you can alway open it with a no password and the password you setup in the bundle
For p12 and JKS if the password is updated after the bundle creation the created resources in destination namespace are not re generated and keep the old password, even if the bundle update it's generation.
Reproduction of the problem
and
(this is like entering the command and hit enter when the keytool prompt for jks password)
in both cas the keytool list the jks content.
Is that normal that we can open the JKS with no password (and not empty password) ?
For the p12:
here the status will update in:
for p12
for JKS
Suggestion
For me there is two options:
The text was updated successfully, but these errors were encountered: