Adapt acme account key to Debian 10
This commit is contained in:
parent
3958645df0
commit
d99ce476cf
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ impl<P: AsRef<Path>, C: CommandRunner> Symbol for AcmeAccountKey<'_, P, C> {
|
||||||
"-text",
|
"-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>> {
|
fn execute(&self) -> Result<(), Box<dyn Error>> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue