You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add TDX CCEL support to token command and refactor flags
* Move `teeTechnology` flag to flags.go to share it between `attest` and `token` commands.
* Update `token` command to support TDX CCEL attestation.
* Enable `tee-nonce` and `tee-technology` flags for the `token` command.
cmd.PersistentFlags().StringVar(&key, "key", "AK", "indicates type of attestation key to use <gceAK|AK>")
184
175
}
185
176
186
-
funcaddTeeTechnology(cmd*cobra.Command) {
187
-
cmd.PersistentFlags().StringVar(&teeTechnology, "tee-technology", "", "indicates the type of TEE hardware. Should be either empty or one of sev-snp or tdx")
cmd.PersistentFlags().BytesHexVar(&teeNonce, "tee-nonce", []byte{}, "hex encoded teenonce for hardware attestation, can be empty")
193
202
}
194
203
204
+
funcaddTeeTechnology(cmd*cobra.Command) {
205
+
cmd.PersistentFlags().StringVar(&teeTechnology, "tee-technology", "", "indicates the type of TEE hardware. Should be either empty or one of sev-snp or tdx")
206
+
}
207
+
195
208
// alwaysError implements io.ReadWriter by always returning an error
0 commit comments