Skip to content

Commit 42ed6fb

Browse files
kbulabsAndreas Fuchs
authored andcommitted
Fix - 2020-06-12-Remote-Attestation-With-tpm2-tools.md - typo in tpm2_pcrextend example
Signed-off-by: kbu <kbu@kbulabs.fr>
1 parent 95cd215 commit 42ed6fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2020-06-12-Remote-Attestation-With-tpm2-tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ tpm2_pcrread sha1:0,1,2+sha256:0,1,2
260260
# Let's see how we got one of these values as a demonstration of PCR extension.
261261
INITIAL_SHA1_DATA="0000000000000000000000000000000000000000"
262262
CONCATENATED=`echo -ne $INITIAL_SHA1_DATA; echo $SHA1_DATA`
263-
echo $CONCATENATE | xxd -r -p | openssl dgst -sha1
263+
echo $CONCATENATED | xxd -r -p | openssl dgst -sha1
264264
# This should output 0xA3EBF00F6520B2C85DBBF3D32B6A8B3A30ABB748
265265
```
266266

@@ -1739,4 +1739,4 @@ exit 0
17391739
"policysecret" to reference the authorization of the endorsement hierarchy.
17401740

17411741
# Author
1742-
Imran Desai
1742+
Imran Desai

0 commit comments

Comments
 (0)