Skip to main content

Module generate

Module generate 

Source
Expand description

Implementation details of Commands::Generate.

Structsยง

Args ๐Ÿ”’
DecapKeyArgs ๐Ÿ”’
IdArgs ๐Ÿ”’
ScalarArgs ๐Ÿ”’
SigningKeyArgs ๐Ÿ”’

Enumsยง

Commands ๐Ÿ”’

Functionsยง

decap_key_config_snippet ๐Ÿ”’
Renders decap_key = { ... } as a multi-line inline table (so it can be pasted under a transcryptor or authentication server), wrapping the long base64 fields across lines. The structure is written via toml_writer; only the \-folding - which no TOML serializer does for us - is done here.