Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 37s
14 lines
774 B
Plaintext
14 lines
774 B
Plaintext
;; next/genesis/validators/signature.sx
|
|
;;
|
|
;; Stage 2 of the validation pipeline per design §14. Verifies the
|
|
;; activity signature against the time-relevant public key in the
|
|
;; actor-state projection. Bootstrap entry; the kernel dispatches
|
|
;; to envelope:verify_signature/2 (Step 2c) when running in
|
|
;; Erlang-on-SX mode. Per design §9.6 the lookup is timestamp-aware
|
|
;; — key validity is evaluated at :published, not "now".
|
|
|
|
(DefineValidator
|
|
:name "signature"
|
|
:doc "Signature verification. Picks the signature suite by\n :signature :algorithm, fetches the key with id ==\n :signature :key_id that was active at :published from\n the actor-state projection, then dispatches to the\n suite's :verify body."
|
|
:predicate (fn (act) true))
|