Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
nelenkov Merge pull request #4 from zOrg1331/master
Support PEM format output
Latest commit 83d02b3 Mar 5, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper initial import Jun 5, 2015
src/org/nick/ksdecryptor printing certificate and private key in PEM format Mar 3, 2017
.gitignore Initial commit Jun 5, 2015
LICENSE Initial commit Jun 5, 2015 fixed typo Jun 8, 2015
build.gradle Update build.gradle Feb 14, 2017
gradlew initial import Jun 5, 2015

Android key blob decryptor

This tool decrypts Android keystore key and certificate blobs, given the .masterkey file and the device's PIN or password. Key blobs that are protected by a hardware-backed key cannot be decrypted.

The tool supports Android M keymaster v1.0 blobs, encrypted with the default (all zero) key. Blobs from later versions may not be supported.


Build using the provided Gradle script. Then invoke as follows:

$ java -jar ksdecryptor-all.jar <master key file> <key file> <password>

See this blog post for more details about the tool and Android keystore implementation:

You can’t perform that action at this time.