Skip to content

dspinellis/Secrets-for-Java-SE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This program allows a standard Java-SE platform to decode Secrets for Android files.

Compilation instructions

Run ant on the project's root directory. You will need an internet connection, because the build will download a cryptography provider library from http://www.bouncycastle.org/java.html. The executable jar will be placed in the lib directory.

Execution

To decode an existing file run

java -jar lib/secrets.jar inputfile outputfile

Sadly the default installation of the Jav 6 Java runtime environment doesn't offer cryptographic services, nor does it play particularly well with existing providers. If you install secrets.jar in another location you will need to copy alongside the appropriate Legion of the Bouncy Castle crypto provider library bcprov-jdk....jar. Note that the JDK 7 seems to include the required cryptographic functionality out of the box.

Furthermore, to avoid an exceception java.security.InvalidKeyException: Illegal key size you must modify your Java runtime installation to support strong cryptography. For that download the strong cryptography policy files from the location where you downloaded your Java runtime environment and install them according to the supplied instructions.

About

Decode Secrets for Android files on a Java SE platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages