My app is existing.
I created a bundle for the first time and tried uploading to get the following message and could not proceed.
I downloaded pepk.jar to c:\
I copied my key file tonyxxxx.keystore to c:\
just for simplicity
I run and get the following error:
I created a bundle for the first time and tried uploading to get the following message and could not proceed.
I downloaded pepk.jar to c:\
I copied my key file tonyxxxx.keystore to c:\
just for simplicity
I run and get the following error:
C:\>java -jar pepk.jar --keystore=TonysKey.keystore --alias=b4a --output=c:\ --encryptionkey=*********************************************
Enter password for store 'TonysKey.keystore':
Enter password for key 'b4a':
Error: Unable to export or encrypt the private key
java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(Unknown Source)
at sun.security.provider.JavaKeyStore.engineGetKey(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(Unknown Source)
at sun.security.provider.KeyStoreDelegator.engineGetKey(Unknown Source)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(Unknown Source)
at java.security.KeyStore.getKey(Unknown Source)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:167)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:130)