We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99cbd98 + 7238cbf commit 67a3077Copy full SHA for 67a3077
lib/signing-key.js
@@ -7,7 +7,7 @@ exports.generateKey = () => execSync('openssl genrsa 2048 | openssl pkcs8 -topk8
7
8
exports.hashKey = (keyFile) =>
9
new Promise((resolve, reject) => {
10
- exec(`openssl rsa -in ${keyFile} -pubout -outform DER | openssl base64 -A`, (error, stdout) => {
+ exec(`openssl rsa -in "${keyFile}" -pubout -outform DER | openssl base64 -A`, (error, stdout) => {
11
if (error) {
12
// node couldn't execute the command
13
return reject(error)
0 commit comments