pub struct PreprocessorGpgSection {
pub enabled: bool,
pub extensions: Vec<String>,
}Expand description
gpg whole-file decryption preprocessor settings
(docs/proposals/secrets.lex §4).
Same opt-in posture as age. gpg picks up its identity from
gpg-agent so there’s no identity field — auth is the user’s
existing gpg setup, not dodot’s job to configure.
Fields§
§enabled: boolWhether *.gpg files are matched and decrypted on
dodot up. Default false — opt-in.
extensions: Vec<String>File extensions that trigger gpg decryption. Default
["gpg"] only. Do not include asc here unless your
dotfiles repo only stores ASCII-armored encrypted
payloads under that suffix. .asc is conventionally used
for armored public keys and detached signatures (release
signatures, package-manager keys), neither of which gpg
will decrypt; routing them through gpg --decrypt produces
confusing failures. Users storing armored encrypted
payloads as .asc opt in by setting
extensions = ["gpg", "asc"] explicitly.
Trait Implementations§
Source§impl Clone for PreprocessorGpgSection
impl Clone for PreprocessorGpgSection
Source§fn clone(&self) -> PreprocessorGpgSection
fn clone(&self) -> PreprocessorGpgSection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Config for PreprocessorGpgSection
impl Config for PreprocessorGpgSection
Source§type Layer = PreprocessorGpgSectionLayer
type Layer = PreprocessorGpgSectionLayer
Self (a potentially partial configuration). Read moreSource§fn from_layer(layer: Self::Layer) -> Result<Self, Error>
fn from_layer(layer: Self::Layer) -> Result<Self, Error>
Self from a layer and validates itself. Read moreSource§fn builder() -> Builder<Self>
fn builder() -> Builder<Self>
#[default = ...]) are merged
(with the lowest priority). Read more