Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
nelenkov Merge pull request #4 from zOrg1331/master
Support PEM format output
Latest commit 83d02b3 Mar 5, 2017
Permalink
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
README.md fixed typo Jun 8, 2015
build.gradle Update build.gradle Feb 14, 2017
gradlew initial import Jun 5, 2015
gradlew.bat

README.md

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.

Usage:

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:

http://nelenkov.blogspot.com/2015/06/keystore-redesign-in-android-m.html

You can’t perform that action at this time.