Expand description
Shared helper functions for CLI commands.
These were previously duplicated across multiple command modules. Consolidated per C.2 audit finding.
Functions§
- current_
timestamp - Get Unix timestamp as i64 seconds.
- decode_
b64 - Decode base64url string to bytes.
- extract_
genesis_ from_ commits - Extract genesis from stored commits.
- generate_
key - Generate a new keypair using
Algdispatch. - load_
key_ from_ keystore - Load a cyphr Key from keystore by thumbprint.
- parse_
principal_ genesis - Parse a base64url principal root string into a PrincipalGenesis.
- parse_
store - Parse the –store argument into a FileStore.