Browse Source

Adapt acme account key to Debian 10

master
Adrian Heine 5 years ago
parent
commit
d99ce476cf
  1. 2
      src/symbols/acme/account_key.rs

2
src/symbols/acme/account_key.rs

@ -46,7 +46,7 @@ impl<P: AsRef<Path>, C: CommandRunner> Symbol for AcmeAccountKey<'_, P, C> {
"-text",
],
)?;
Ok(stdout.starts_with(format!("Private-Key: ({} bit)\n", self.get_bytes()).as_bytes()))
Ok(stdout.ends_with("RSA key ok\n".as_bytes()))
}
fn execute(&self) -> Result<(), Box<dyn Error>> {

Loading…
Cancel
Save