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