add cli to rotate key (#2525)

* rotate key

* handle service with no config
This commit is contained in:
Aiden McClelland
2023-11-17 16:27:08 -07:00
committed by GitHub
parent d03aadb367
commit 8f231424d1
8 changed files with 165 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ pub mod wifi;
pub const PACKAGE_CERT_PATH: &str = "/var/lib/embassy/ssl";
#[command(subcommands(tor::tor, dhcp::dhcp, ssl::ssl))]
#[command(subcommands(tor::tor, dhcp::dhcp, ssl::ssl, keys::rotate_key))]
pub fn net() -> Result<(), Error> {
Ok(())
}