Aloha everyone

https://play.google.com/console/u/0/developers/6275825903879277961/app/4972731188565988087/keymanagement


I am right where I want to be. I am here:

brahmanathaswami@Sannyasins-MacBook-Pro-2 HAP Android Key %
brahmanathaswami@Sannyasins-MacBook-Pro-2 HAP Android Key % ls

    AndroidDeveloperKeyRegistrationData.txt
    GDrelease.keystore
    GDrelease.keystore 2
    GDrelease.keystore.zip
    pepk.jar
    pepk-src.jar

So why doesn't it want to work?

java -jar pepk.jar --keystore=GDrelease.keystore  alias=sivasiva 
--encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a
 --output=sivasiva_private_key.pepk

??

I put the paths in:

java -jar pepk.jar 
--keystore=/Users/brahmanathaswami/Documents/App-Development/certs-keys-identifiers\
 \ -\ Tools\ Debugging/HAP\ Android\ Key/GDrelease.keystore  alias=sivasiva 
--output=/Users/brahmanathaswami/Documents/App-Development/certs-keys-identifiers\
 \ -\ Tools\ Debugging/HAP\ Android\ Key/sivasiva_key.pepk 
--encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a

Still no go:

There is an error. No matter what I do this is error:

See below.

and it does not put in the hyphens

java -jar pepk.jar --keystore <release_keystore> --alias <key_alias> 
--encryptionkey=<encryption_key_hex> --output=<output_file> [--signing-keystore 
<keystore> [--signing-key-alias=<alias>]] [--include-cert]


Svasti Astu – Be Well
Brahmanathaswami

Get SivaSiva.app – It free!
https://www.himalayanacademy.com/view/sivasiva


--------------

Takes to you to a page. I use the second method

Takes you to a page:
---------
Play App Signing

1. Export and upload a key from Android Studio

# we use this:
2. Export and upload a key from Java keystore

    1. Download PEPK tool
        Download the Play Encrypt Private Key (PEPK) tool. Download source code

    2. Run the tool using the command below to export and encrypt your private 
key. Replace the arguments, and enter your keystore and key passwords when 
prompted.

$ java -jar pepk.jar --keystore=foo.keystore --alias=foo 
--output=encrypted_private_key_path 
--encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a

    3. Upload private key

    4. For increased security, create a new upload key (optional).
Show instructions


3. Export and upload a key (not using Java Keystore)


"brahmanathaswami@Sannyasins-MacBook-Pro-2 HAP Android Key % java -jar pepk.jar 
--keystore=GDrelease.keystore  alias=Gurudeva 
--encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a
 --output=sivasiva_private_key.pepk

Error: Unable to parse the input: [--keystore=GDrelease.keystore, 
alias=sivasiva, 
--encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a,
 --output=sivasiva_private_key.pepk]
java.lang.IllegalArgumentException: Invalid argument: alias=Gurudeva
       at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.Utils.processArgs(Utils.java:32)
       at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:83)

USAGE:
       java -jar pepk.jar --keystore <release_keystore> --alias <key_alias> 
--encryptionkey=<encryption_key_hex> --output=<output_file> [--signing-keystore 
<keystore> [--signing-key-alias=<alias>]] [--include-cert]

pepk (Play Encrypt Private Key) is a tool for exporting private keys from a
Java Keystore and encrypting them for transfer to Google Play as part of
enrolling in App Signing by Google Play.


        REQUIRED FLAGS

--keystore            Path to the keystore containing the private key to export

--alias               Alias of the private key in the keystore

--encryptionkey       Public key to encrypt the private key with. This will be
                      be the hex encoded bytes of the public key. The public key
                      is a 4-byte identity followed by a 64-byte P256 point.

--output              File in which to output the encrypted private key.

flag is set.

-----------------

_______________________________________________
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

Reply via email to