How can I retrieve a saved keystore password from Android Studio?

后端 未结 6 1442
逝去的感伤
逝去的感伤 2020-12-24 12:00

The new Android Studio allows us to save keystore passwords for later use. Where are these passwords stored on my computer (OSX), and is there a way to retrieve the saved v

6条回答
  •  隐瞒了意图╮
    2020-12-24 12:52

    On macOS the latest versions of Android Studio (tested on 3.2) store keystore/key passwords in the Keychain under the following items:

    • org.jetbrains.android.exportSignedPackage.KeystoreStep$KeyStorePasswordRequestor
    • org.jetbrains.android.exportSignedPackage.KeystoreStep$KeyPasswordRequestor

    The former stores the password of the keystore itself, and the latter – the password to the key.

    You can access them using system Keychain Access app. Locate corresponding entry and double-click it. The Account field should contain the path to your keystore or the path to the key alias within the keystore in the following form: KEY_STORE_PASSWORD__/Users/username/keystorename or KEY_STORE_PASSWORD__/Users/username/keystorename__alias

    Click Show password and enter your macOS password when requested. That's it!

提交回复
热议问题