Skip to content

Commit 2ee5bfc

Browse files
authored
change trustlist link in command example
1 parent f67f03a commit 2ee5bfc

File tree

1 file changed

+1
-1
lines changed
  • 2.Cryptographic_security_and_block_ciphers

1 file changed

+1
-1
lines changed

2.Cryptographic_security_and_block_ciphers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ We will use that as an example.
146146

147147
By using the command line, we can download the public trust list of EU countries as following:
148148
```console
149-
curl [https://dgcg.covidbevis.se/tp/trust-list](https://raw.githubusercontent.com/ouspg/CryptoCourse/main/2.Cryptographic_security_and_block_ciphers/files/trustlist.json) | jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' <<< '$(cat "${JWT}")' > trustlist.json
149+
curl https://raw.githubusercontent.com/ouspg/CryptoCourse/main/2.Cryptographic_security_and_block_ciphers/files/trustlist.json | jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' <<< '$(cat "${JWT}")' > trustlist.json
150150
```
151151
Trust list is in [JWT format](https://jwt.io/), which is correctly parsed with the above command and actual JSON is generated into file `trustlist.json`.
152152
We'll pass signature verification at this time, but you can do it if you want. The JWT header contains algorithm information and the signature could be found from the final section. Sections were separated with dots.

0 commit comments

Comments
 (0)