CLI command
skarbiec policy-check-length
Check a candidate's character count against the configured min_generated_length without storing it.
Invocation#
skarbiec policy-check-length <candidate>Purpose#
Check a candidate's character count against the configured min_generated_length without storing it.
Required inputs and options#
- Requires the candidate as one positional argument. The minimum is whatever policy-set stored for min_generated_length, which the registry guarantees is a whole number.
Output and state effects#
- Prints required, actual, and ok. With no minimum configured, required is null and ok is true; no audit or vault write occurs.
Refusals#
- Refuses a missing candidate; an undersized candidate is reported with ok false rather than modified or stored.