From 1ac050829692806b61c85366f05256fe79ede81f Mon Sep 17 00:00:00 2001 From: Olabode Lawal-Shittabey Date: Sat, 2 Mar 2024 19:49:36 +0100 Subject: [PATCH] feat(README): private-key-converter web ui(#94) * add private-key-converter to README.md * Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b790f84..e7f4db1 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,12 @@ You can identify the format based on the the first line ### Converting `PKCS#1` to `PKCS#8` +- #### Using an Online Private Key Converter + +Convert quickly using the Web interface at https://private-key-converter.vercel.app + +- #### Using Node.js + If you use Node.js, you can convert the format before passing it to `universal-github-app-jwt`: ```js @@ -210,7 +216,9 @@ const { token, appId, expiration } = await githubAppJwt({ }); ``` -But we recommend to convert the format using `openssl` before passing it to your app. +- #### Using OpenSSL + +Convert the format using `openssl` before passing it to your app. ``` openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in private-key.pem -out private-key-pkcs8.key