Skip to main content

Module inline

Module inline 

Source
Expand description

age encryption, and the inline form compose files carry (secrets: {x: {age: ...}}).

Inline ciphertext is written ASCII-armored (-----BEGIN AGE ENCRYPTED FILE-----), the format age -a writes and age -d reads, so it can be made and checked with the age CLI too. Decryption also accepts the binary format base64-encoded, on one line or several.

Functions§

decrypt
Decrypt age ciphertext, binary or armored, with the first identity that fits.
decrypt_inline
Decrypt an age: field: armored, or base64 of the binary format.
encrypt
Binary age ciphertext of value to every recipient.
encrypt_inline
ASCII-armored ciphertext for a compose file’s age: field.