Correction in the command: --signing-key-alias=upload-key-alias needs to be : --signing-key-alias=sehenkey
But same errors. :-/ > Am 27.08.2024 um 21:19 schrieb Klaus major-k via use-livecode > <use-livecode@lists.runrev.com>: > > Hi Mark, > >> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode >> <use-livecode@lists.runrev.com>: >> >> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote: >>> ------------------------------------------------------------------------------------ >>> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey >>> --output=output.zip signing-keystore=android_upload.keystore >>> --signing-key-alias=upload-key-alias --rsa-aes -encryption >>> --encryption-key-path=upload_certificate.pem >> There's a missing `--` in front of `signing-keystore` - that's causing the >> args error: >>> Error: Unable to parse the input: [--keystore=android_upload.keystore, >>> --alias=sehenkey, --output=output.zip, >>> signing-keystore=android_upload.keystore, >>> --signing-key-alias=upload-key-alias, --rsa-aes, -encryption, >>> --encryption-key-path=upload_certificate.pem] >>> java.lang.IllegalArgumentException: Invalid argument: >>> signing-keystore=android_upload.keystore >> >> Warmest Regards, >> >> Mark. > > thank you, but that was not it. > > Here is what Matthias got with the two -- > ------------------------------------------------------------ > java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey > --output=output.zip --signing-keystore=android_upload.keystore > --signing-key-alias=upload-key-alias --rsa-aes-encryption > --encryption-key-path=upload_certificate.pem java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey --output=output.zip --signing-keystore=android_upload.keystore --signing-key-alias=sehenkey --rsa-aes-encryption --encryption-key-path=upload_certificate.pem > Enter password for store 'android_upload.keystore': > Enter password for key 'sehenkey': > Error: Unable to export or encrypt the private key > java.security.spec.InvalidKeySpecException: > java.security.InvalidKeyException: Unable to decode key > at > java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241) > at java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351) > at > com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309) > at > com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283) > at > com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213) > at > com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165) > Caused by: java.security.InvalidKeyException: Unable to decode key > at java.base/sun.security.x509.X509Key.decode(X509Key.java:368) > at java.base/sun.security.x509.X509Key.decode(X509Key.java:374) > at > java.base/sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:148) > at > java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:80) > at > java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324) > at > java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237) > ... 5 more > Caused by: java.io.IOException: DerValue.getOID, not an OID 2 > at java.base/sun.security.util.DerValue.getOID(DerValue.java:552) > at java.base/sun.security.util.DerInputStream.getOID(DerInputStream.java:165) > at java.base/sun.security.x509.AlgorithmId.parse(AlgorithmId.java:398) > at java.base/sun.security.x509.X509Key.decode(X509Key.java:361) > ... 10 more > ------------------------------------------------------------ > :-( > > Any ideas? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode