Skip to main content

restore_package_with_identity

Function restore_package_with_identity 

Source
pub fn restore_package_with_identity(
    package: &Path,
    target: &Path,
    identity_text: &str,
) -> Result<Manifest, String>
Expand description

Decrypts a package with in-memory identity text. This is used by the unlocked monthly drill so it never materializes the identity in a temporary file. Human recovery still uses restore_package and a user-held key.