-
Notifications
You must be signed in to change notification settings - Fork 32
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
user-kafka-java-creds - avax.crypto.BadPaddingException #248
Comments
Hi @ThomasDangleterre. Which version of Java are you using? Are you able to list the contents of the Aiven generated keystores using keytool? |
Hello @dbeech, i'm using java 17. When i execute this
|
Hi @ThomasDangleterre any update on this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Credentials downloaded thanks to
avn service user-kafka-java-creds --project xxxx xxxx --username avnadmin
seems corrupted.I used the files and default properties (
changeit
...) downloaded.relevant error seems to be this one : java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption
When i use openssl and keytool with PEM files my consumer start without issue.
What did you expect to happen?
I expect my consumer to works with credentials provided.
What else do we need to know?
macOS 12.0.1
avn --version
aiven-client 2.12.0
The text was updated successfully, but these errors were encountered: