pub fn generate_long_term_credentials( shared_secret: &str, duration: Duration) -> Result<(String, String)>