Thistle command line tools for OTA updates
install
subcommand can be helpful to locally test out a single given manifest file, as it makes it accepts local paths.
init
is used to initialize a working environment. This command will fetch a new device_enrollment_token
from the Thistle Platform Backend using the authentication token. In addition, the pre-enroll
option will automatically enroll a new device with the Thistle Backend and append the enrollment credentials into the newly created configuration file.
If no signing key is available at the given path (default ~/.minisign/minisign.key
) a new keypair will be generated.
trh --help
for more information related to the supported options.
THISTLE_TOKEN
. The manifest will be fetched and written on disk at the specified path.
pre-enroll
option is used, a device will be pre-enrolled with the Thistle Backend and the enrollment credentials will be appended in the identity file.