Skip to main content

check_signature

Function check_signature 

Source
pub fn check_signature(
    catalog: &Store,
    b: &Bundle,
) -> Result<Option<String>, String>
Expand description

The key that signed this bundle: Ok(None) for an unsigned one, an error for a signature that does not match its files. A publisher pinned to another key, or pinned and now unsigned, is refused (SPEC_PACKS §5): a different key than the one the person approved a script of is not an update, it is a different author.