Skip to main content

ROTATION_DOMAIN_PREFIX

Constant ROTATION_DOMAIN_PREFIX 

Source
pub const ROTATION_DOMAIN_PREFIX: &[u8] = b"mockforge-platform-rotation/v1\n";
Expand description

Domain-separation prefix for the rotation-event signed bytes.

Same discipline as mockforge-plugin-host::signing — prevents a signature over any other JSON document with a matching prefix from being replayed as a platform rotation event.