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
Copy file name to clipboardExpand all lines: token/core/common/validator_auditing.go
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -25,18 +25,17 @@ var (
25
25
//
26
26
// The current implementation follows a 1-of-N auditor signature policy:
27
27
//
28
-
// - If auditors are configured in the public parameters, at least one
29
-
// valid auditor signature must be present in the token request.
30
-
// - Multiple auditor public keys may be configured (e.g., during key rotation).
31
-
// - The validator verifies that each provided auditor signature corresponds
32
-
// to a configured auditor and that the signature is valid.
33
-
// - The validator does NOT enforce N-of-N semantics.
34
-
// - The validator does NOT enforce per-entity auditor checks.
35
-
// - All configured auditor public keys are treated as belonging to a
36
-
// single logical auditor entity.
28
+
// - If auditors are configured in the public parameters, at least one
29
+
// valid auditor signature must be present in the token request.
30
+
// - Multiple auditor public keys may be configured (e.g., during key rotation).
31
+
// - The validator verifies that each provided auditor signature corresponds
32
+
// to a configured auditor and that the signature is valid.
33
+
// - The validator does NOT enforce N-of-N semantics.
34
+
// - The validator does NOT enforce per-entity auditor checks.
35
+
// - All configured auditor public keys are treated as belonging to a
36
+
// single logical auditor entity.
37
37
//
38
38
// This behavior matches the semantics implemented by current token drivers.
39
-
40
39
funcAuditingSignaturesValidate[P driver.PublicParameters, T driver.Input, TA driver.TransferAction, IA driver.IssueAction, DS driver.Deserializer](c context.Context, ctx*Context[P, T, TA, IA, DS]) error {
0 commit comments