-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various small fixes #151
Various small fixes #151
Changes from all commits
2d5be7c
ea86407
8a41d86
6d21643
62b18de
e1ce641
bd92fac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -819,10 +819,10 @@ unseal() | |
######################################## | ||
|
||
verify_unsealed_usage=' | ||
## verify_unsealed | ||
## verify-unsealed | ||
Usage: | ||
``` | ||
tpm2-attest verify_unsealed DIR | ||
tpm2-attest verify-unsealed DIR | ||
``` | ||
|
||
Assets returned by successful remote attestation should be signed. This | ||
|
@@ -836,11 +836,6 @@ verify-unsealed() | |
show_help "$1" "$verify_unsealed_usage" | ||
(($# == 1)) || die "No arguments expected.$verify_unsealed_usage" | ||
|
||
# We must either know a priori an anchor for the signer's certificate, | ||
# or we must know the signature key. | ||
[[ -n ${ENROLL_SIGN_ANCHOR:-} ]] \ | ||
|| die "neither enrollment server public key certificate nor anchor configured" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. a signing anchor is no longer required? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, it is, just not here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Specifically, it's handled in the signature verification code in |
||
|
||
cd "$1" || die "Not a directory: $1" | ||
|
||
# Validate the signer's certificate | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usage text has
verify_unsealed
, although the command isverify-unsealed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing...