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
feat: auto handle attestation type on the validator side (#33)
* feat: auto handle attestation type on the validator side
* fix: indentation
* chore: readds but deprecates validator attestation type flag
---------
Co-authored-by: Frieder Paape <[email protected]>
Co-authored-by: fnerdman <[email protected]>
log.With("attestation-type", cCtx.String("client-attestation-type")).Error("invalid client-attestation-type passed, see --help")
107
-
returnerr
102
+
ifserverMeasurements!=""&&verifyTLS {
103
+
log.Error("invalid combination of --verify-tls and --server-measurements passed (cannot add server measurements and verify default TLS at the same time)")
104
+
returnerrors.New("invalid combination of --verify-tls and --server-measurements passed (cannot add server measurements and verify default TLS at the same time)")
returnerrors.New("invalid combination of --tls-certificate-path, --tls-private-key-path and --server-attestation-type flags passed (only 'none' is allowed)")
0 commit comments