From 5a944f9ba2bf10457e47eee1e26a5d5f4d79fa6a Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Wed, 8 Feb 2023 11:01:07 +0200 Subject: [PATCH] examples: More tweaks to uploader README Signed-off-by: Jussi Kukkonen --- examples/uploader/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/uploader/README.md b/examples/uploader/README.md index 4eec3802..670b2b6d 100644 --- a/examples/uploader/README.md +++ b/examples/uploader/README.md @@ -32,15 +32,13 @@ In another terminal, run uploader: # Initialize with Trust-On-First-Use ./uploader tofu -# Then claim a delegation for yourself (this also creates and stores a new signing key): +# Then claim a delegation for yourself (this also creates a new signing key): ./uploader add-delegation myrole -# Then add a new downloadable target file to your delegated role[^1]: +# Then add a new downloadable target file to your delegated role (to keep the +# example simple, the target file content is always the targetpath): ./uploader add-target myrole myrole/mytargetfile ``` At this point "myrole/mytargetfile" is downloadable from the repository with the [client example](../client/). - -[^1]: To keep the example simple, the content of every target file is the targetpath -as a string: This is why the upload of actual content is not implemented.