pub type PassphraseFn<'a> = &'a dyn Fn() -> Result<String>;
Type of user provided closure that will ask user for a passphrase is needed