1
0
mirror of https://github.com/danog/tergent.git synced 2024-11-26 12:04:49 +01:00

Add latest installation steps

Replace instructions to fetch the fork, instead include a link
to the official app.
This commit is contained in:
Kaan Karaagacli 2018-09-27 22:04:42 -07:00
parent 3ae3248ed3
commit ac6581096f
No known key found for this signature in database
GPG Key ID: AC5AC44C642C454C

View File

@ -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)`.