Adapt acme account key to Debian 10

This commit is contained in:
Adrian Heine 2019-12-05 14:21:41 +01:00
parent 3958645df0
commit d99ce476cf

View file

@ -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>> {