diff --git a/README.md b/README.md index a197eec..05990f6 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,13 @@ Alternatively, you can download a debug build for ARM64 Android from the release Usage ----- -1. (This step will be updated if the patches to termux are merged) -Make sure you have termux-api app with [this patch](https://github.com/aeolwyr/termux-api/commit/ef3a0af0f6cebf667385034be2c5698c7d3946f2) installed. Inside Termux, install the latest version of the termux-api package using `pkg install termux-api`. Finally, grab a copy of `termux-keystore` script from [this fork](https://github.com/aeolwyr/termux-api-package/blob/master/scripts/termux-keystore). +1. Make sure you have the latest version of [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api) installed. Don't forget to install the scripts using the command `pkg install termux-api`. -2. Generate a key using the command `./termux-keystore generate myAlias`, where myAlias is the name you want to give to the key. - - This command creates an RSA key - to create an ECDSA key, use the argument "-a EC": `./termux-keystore generate myAlias -a EC`. - - To specify a key size, use the argument "-s", e.g. `./termux-keystore generate myAlias -s 4096` or `./termux-keystore generate myAlias -a EC -s 521`. +2. Generate a key using the command `termux-keystore generate myAlias`, where myAlias is the name you want to give to the key. + - This command creates an RSA key - to create an ECDSA key, use the argument "-a EC": `termux-keystore generate myAlias -a EC`. + - To specify a key size, use the argument "-s", e.g. `termux-keystore generate myAlias -s 4096` or `termux-keystore generate myAlias -a EC -s 521`. -3. Verify the key is generated by running the command `./termux-keystore list`. +3. Verify the key is generated by running the command `termux-keystore list`. 4. Run tergent with this command: `eval $(./tergent)`.