diff --git a/README.md b/README.md index eb64b6eb..86950405 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ openssl ecparam -genkey -name prime256v1 -out private_key.pem To derive a public key from the just-generated private key, to be used in the JavaScript client: ``` -openssl ec -in private_key.pem -pubout -outform DER|tail -c 65|base64|tr '/+' '_-'|tr -d '\n' +openssl ec -in private_key.pem -pubout -outform DER|tail -c 65|base64|tr '/+' '_-'|tr -d '\n=' ``` The signature is created with `VapidSignatureBuilder`. It automatically adds the required claims `aud` and `exp`. Adding