pub fn password_from_source_twice( source: &PasswordSource, prompt: &str, ) -> Result<Vec<u8>, String>