Skip to content

standards: add core authorization primitives#28

Closed
HDauven wants to merge 1 commit into
standards/01-workspace-cifrom
standards/02-core-auth-security
Closed

standards: add core authorization primitives#28
HDauven wants to merge 1 commit into
standards/01-workspace-cifrom
standards/02-core-auth-security

Conversation

@HDauven
Copy link
Copy Markdown
Member

@HDauven HDauven commented May 27, 2026

Part 2 of the Dusk standards stack. Base: #27

Adds the core Dusk-native authorization model:

  • Principal for Moonlight, Phoenix, and contract identities
  • runtime call context handling
  • nonce and replay guards
  • signed authorization envelopes bound to chain, contract, domain, action, payload, nonce, and expiry
  • reentrancy guard security primitive
  • client-side signed authorization construction example

Review focus:

  • Phoenix vs Moonlight caller assumptions
  • action envelope binding
  • nonce/replay behavior
  • exposed low-level unbound authorization helpers

Validation:

  • make standards-ci

@HDauven HDauven force-pushed the standards/01-workspace-ci branch from 8af19c9 to 9e44e76 Compare May 27, 2026 15:52
@HDauven HDauven force-pushed the standards/02-core-auth-security branch from fa80035 to 1c76ebc Compare May 27, 2026 15:52
@HDauven HDauven force-pushed the standards/02-core-auth-security branch from 1c76ebc to 6005641 Compare May 27, 2026 15:55
@HDauven HDauven force-pushed the standards/01-workspace-ci branch from 9e44e76 to 16281a0 Compare May 27, 2026 15:55
@HDauven HDauven deleted the branch standards/01-workspace-ci May 28, 2026 14:19
@HDauven HDauven closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant