This commit is contained in:
naskya 2024-07-01 09:44:24 +09:00
parent 0df8e7016b
commit 9973ee7029
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -5,10 +5,10 @@ pub struct VapidError(String);
pub(super) fn run() -> Result<(), VapidError> {
let keypair = vapid::Key::generate().map_err(|err| VapidError(err.to_string()))?;
println!("----- public key -----");
println!("public key:");
println!("{}", keypair.to_public_raw());
println!("----- private key -----");
println!("");
println!("private key:");
println!("{}", keypair.to_private_raw());
Ok(())