Skip to content

Commit

Permalink
docs(quickstart, user): cut sha512sum output to get only digest (#302)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Zaytsev <[email protected]>
Signed-off-by: Aleksei Igrychev <[email protected]>
Co-authored-by: Aleksei Igrychev <[email protected]>
  • Loading branch information
nervgh and alexey-igrychev authored Feb 21, 2025
1 parent 47700e3 commit ce6bb3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages_en/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ In our case, the user gets the following data from the vendor:
```shell
URL=https://storage.googleapis.com/trdl-test-project-tuf
ROOT_VERSION=1
ROOT_SHA512=$(curl -Ls ${URL}/${ROOT_VERSION}.root.json | sha512sum)
ROOT_SHA512=$(curl -Ls ${URL}/${ROOT_VERSION}.root.json | sha512sum | cut -c 1-128)
```
Next, the user adds a repository with an arbitrary name:
Expand Down
2 changes: 1 addition & 1 deletion docs/pages_ru/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ git signatures push
```shell
URL=https://storage.googleapis.com/trdl-test-project-tuf
ROOT_VERSION=1
ROOT_SHA512=$(curl -Ls ${URL}/${ROOT_VERSION}.root.json | sha512sum)
ROOT_SHA512=$(curl -Ls ${URL}/${ROOT_VERSION}.root.json | sha512sum | cut -c 1-128)
```
Далее пользователь добавляет репозиторий, указав произвольное имя:
Expand Down

0 comments on commit ce6bb3d

Please sign in to comment.