WIP
This commit is contained in:
parent
0df8e7016b
commit
9973ee7029
1 changed files with 3 additions and 3 deletions
|
@ -5,10 +5,10 @@ pub struct VapidError(String);
|
||||||
pub(super) fn run() -> Result<(), VapidError> {
|
pub(super) fn run() -> Result<(), VapidError> {
|
||||||
let keypair = vapid::Key::generate().map_err(|err| VapidError(err.to_string()))?;
|
let keypair = vapid::Key::generate().map_err(|err| VapidError(err.to_string()))?;
|
||||||
|
|
||||||
println!("----- public key -----");
|
println!("public key:");
|
||||||
println!("{}", keypair.to_public_raw());
|
println!("{}", keypair.to_public_raw());
|
||||||
|
println!("");
|
||||||
println!("----- private key -----");
|
println!("private key:");
|
||||||
println!("{}", keypair.to_private_raw());
|
println!("{}", keypair.to_private_raw());
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue