-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: auto detect tee env on issuer side #32
Conversation
cmd/proxy-client/main.go
Outdated
@@ -45,8 +45,8 @@ var flags []cli.Flag = []cli.Flag{ | |||
}, | |||
&cli.StringFlag{ | |||
Name: "client-attestation-type", | |||
Value: string(proxy.AttestationNone), | |||
Usage: "type of attestation to present (" + proxy.AvailableAttestationTypes + ")", | |||
Value: "auto", |
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.
Similar comment as on the previous one — I think none is the correct default.
README.md
Outdated
@@ -39,7 +39,7 @@ Client | |||
|
|||
- `--listen-addr`: address to listen on (default: "127.0.0.1:8080") | |||
- `--target-addr`: address to proxy requests to (default: "https://localhost:80") | |||
- `--server-attestation-type`: type of attestation to present (none, azure-tdx) (default: "azure-tdx") | |||
- `--server-attestation-type`: type of attestation to present (none, auto, dcap-tdx, azure-tdx) (default: "none") |
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.
default is now auto
for this one right?
README.md
Outdated
@@ -39,7 +39,7 @@ Client | |||
|
|||
- `--listen-addr`: address to listen on (default: "127.0.0.1:8080") | |||
- `--target-addr`: address to proxy requests to (default: "https://localhost:80") | |||
- `--server-attestation-type`: type of attestation to present (none, azure-tdx) (default: "azure-tdx") | |||
- `--server-attestation-type`: type of attestation to present (none, auto, dcap-tdx, azure-tdx) (default: "none") | |||
- `--tls-certificate-path`: Path to certificate (PEM file) to present. Only valid for --server-attestation-type=none and with `--tls-private-key-path`. | |||
- `--tls-private-key-path`: Path to private key file for the certificate (PEM). Only valid with --tls-certificate-path. | |||
- `--client-attestation-type`: type of attestation to expect and verify (none, azure-tdx) (default: "none") |
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.
dcap missing in this line?
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.
lgtm. only one comment on the readme
No description provided.