Skip to main content

secrets

Function secrets 

Source
pub fn secrets(
    root: &Path,
    auth: &Path,
    ops: usize,
) -> Result<Option<String>, Refusal>
Expand description

The two holes a backup deliberately does not fill.

Both are refusals rather than warnings: the rehearsal cannot run without them, and a restore that has not been rehearsed has not been done.

ยงErrors

Exit 3 when the signing key is absent and a fingerprint pins the identity that wrote the log, or when there is no credential to serve with. Returns the warning to print when there is neither key nor pin.