Skip to content
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

Illegal key size exception #40

Closed
tubaman opened this issue Mar 1, 2016 · 1 comment
Closed

Illegal key size exception #40

tubaman opened this issue Mar 1, 2016 · 1 comment

Comments

@tubaman
Copy link

tubaman commented Mar 1, 2016

I get this when trying to decrypt a Android 6.0 backup from Nexus 5x

This backup is encrypted, please provide the password
Password: 
Exception in thread "main" java.lang.RuntimeException: java.security.InvalidKeyException: Illegal key size
    at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:203)
    at org.nick.abe.Main.main(Main.java:40)
Caused by: java.security.InvalidKeyException: Illegal key size
    at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1024)
    at javax.crypto.Cipher.implInit(Cipher.java:790)
    at javax.crypto.Cipher.chooseProvider(Cipher.java:849)
    at javax.crypto.Cipher.init(Cipher.java:1348)
    at javax.crypto.Cipher.init(Cipher.java:1282)
    at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:118)
    ... 1 more

@nelenkov
Copy link
Owner

nelenkov commented Mar 1, 2016

You need to install the JCE unlimited strength jurisdiction policy, see the README

@nelenkov nelenkov closed this as completed Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants