java.security.UnrecoverableKeyException: Get Key failed: / by zero

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by jcmoreira
, 2 years ago
Get Key failed: Given final block not properly padded
via Oracle Community by 843811, 1 year ago
Get Key failed: Given final block not properly padded #
via Stack Overflow by Deepak Agrawal
, 1 year ago
Get Key failed: Given final block not properly padded
via GitHub by kkrauth
, 1 year ago
Private key not stored as PKCS#8 EncryptedPrivateKeyInfo: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
via Stack Overflow by Milan Stefanovic
, 1 year ago
Get Key failed: AES SecretKeyFactory not available
java.security.UnrecoverableKeyException: Get Key failed: / by zero
at com.sun.crypto.provider.PKCS12PBECipherCore.concat(PKCS12PBECipherCore.java:136)
at com.sun.crypto.provider.PKCS12PBECipherCore.derive(PKCS12PBECipherCore.java:84)
at com.sun.crypto.provider.PKCS12PBECipherCore.implInit(PKCS12PBECipherCore.java:300)
at com.sun.crypto.provider.PKCS12PBECipherCore.implInit(PKCS12PBECipherCore.java:322)
at com.sun.crypto.provider.PKCS12PBECipherCore$PBEWithSHA1AndDESede.engineInit(PKCS12PBECipherCore.java:411)
at javax.crypto.Cipher.implInit(Cipher.java:688)
at javax.crypto.Cipher.chooseProvider(Cipher.java:737)
at javax.crypto.Cipher.init(Cipher.java:1233)
at javax.crypto.Cipher.init(Cipher.java:1173)
at sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:269)
at java.security.KeyStore.getKey(KeyStore.java:779)
at sun.security.ssl.SunX509KeyManagerImpl.(SunX509KeyManagerImpl.java:131)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
at org.xtreemfs.foundation.SSLOptions.createSSLContext(SSLOptions.java:132)
at org.xtreemfs.foundation.SSLOptions.(SSLOptions.java:111)
at org.xtreemfs.utils.xtfs_scrub.xtfs_scrub.main(xtfs_scrub.java:396)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.