Intellij IDEA - view saved password

Corneliu Dascălu picture Corneliu Dascălu · Jan 17, 2014 · Viewed 19.8k times · Source

I forgot the password for my Android keystore, but it's saved in the Intellij IDEA password manager. I know the master password, so IDEA is able to auto complete the keystore password, but I can find no way to view or copy/paste the password from the text field.

Is there a plugin that can do that, maybe?

I've also tried to look for some logs or a shell, because I assume that behind the scenes IDEA is using the keytool utility from the SDK, so maybe I can spot the password in the command line.

I've ran out of ideas. Please help.

EDIT: If anyone knows where the encrypted passwords are kept, I could back up the file and use it in future IDEA installations with the same master password. Would that work?

Answer

Corneliu Dascălu picture Corneliu Dascălu · Feb 21, 2014

I've managed to understand the source code enough to put together a small utility program to decrypt the passwords in the security.xml file using the master password. https://github.com/corneliudascalu/intellij-decrypt