Skip to content

Commit f9fdb01

Browse files
sid200727adecaro
authored andcommitted
docs: adjust auditor validation documentation formatting
Signed-off-by: Siddhi Khandelwal <siddhi.200727@gmail.com>
1 parent ab95094 commit f9fdb01

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

token/core/common/validator_auditing.go

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@ var (
2525
//
2626
// The current implementation follows a 1-of-N auditor signature policy:
2727
//
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.
3737
//
3838
// This behavior matches the semantics implemented by current token drivers.
39-
4039
func AuditingSignaturesValidate[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 {
4140
if len(ctx.PP.Auditors()) == 0 {
4241
// enforce no auditor signatures are attached

0 commit comments

Comments
 (0)