Skip to content

Commit

Permalink
Update to TRH v1.1.0 (#27)
Browse files Browse the repository at this point in the history
Use TRH `v1.1.0` for the action. This version of TRH introduces the
`keygen` subcommand, which separates the key management functionality
from the initialization step.
  • Loading branch information
syncom authored May 29, 2024
1 parent 429092b commit 86bce8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ Update Client (TUC)](https://docs.thistle.tech/update/cli#update-client-usage).
To use this action, one needs to create an account in the [Thistle Control
Center](https://app.thistle.tech), and obtain the API token ("Project Access
Token"). In case a locally managed OTA update signing key is used (which is the
only supported option currently), one also needs to go through the
[Configuration
step](https://docs.thistle.tech/update/get_started/file_update#configuration) to
create a password-protected [Minisign](https://jedisct1.github.io/minisign/)
private key with the `trh init` command.
only supported option currently), one needs run the `trh keygen` (requiring
[TRH](https://docs.thistle.tech/download#thistle-update-client-tuc-and-release-helper-trh)
v1.1.0 or above) command to create a password-protected
[Minisign](https://jedisct1.github.io/minisign/) private key.

An example workflow for [file
update](https://docs.thistle.tech/update/get_started/file_update) is as follows.
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SCRIPT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
readonly SCRIPT_DIR
TRH_BINARY_PATH="${SCRIPT_DIR}/trh"
readonly TRH_BINARY_PATH
TRH_DOWNLOAD_URL="https://downloads.thistle.tech/embedded-client/1.0.1/trh-1.0.1-x86_64-unknown-linux-musl.gz"
TRH_DOWNLOAD_URL="https://downloads.thistle.tech/embedded-client/1.1.0/trh-1.1.0-x86_64-unknown-linux-musl.gz"
readonly TRH_DOWNLOAD_URL

# Set environment variables
Expand Down

0 comments on commit 86bce8f

Please sign in to comment.