From a50ff18e577f6c1c563265a5a0a3117c471fbc98 Mon Sep 17 00:00:00 2001 From: ducklol2 <140205571+ducklol2@users.noreply.github.com> Date: Fri, 7 Feb 2025 11:01:48 +0100 Subject: [PATCH] Fix private_key filename in README.md The `openssl` command outputs to `private_key.pem`, but the example code loads `private.pem`. Update the latter to match the former. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb64b6eb..07de30a1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ async fn main() -> Result<(), Box ); //Read signing material for payload. - let file = File::open("private.pem").unwrap(); + let file = File::open("private_key.pem").unwrap(); let mut sig_builder = VapidSignatureBuilder::from_pem(file, &subscription_info)?.build()?; //Now add payload and encrypt.