diff --git a/index.js b/index.js index d2061ef..f495b12 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ var MSG_INVALID_SIGNER_KEY = 'key must be a string, a buffer or an object'; var supportsKeyObjects = typeof crypto.createPublicKey === 'function'; if (supportsKeyObjects) { MSG_INVALID_VERIFIER_KEY += ' or a KeyObject'; - MSG_INVALID_SECRET += 'or a KeyObject'; + MSG_INVALID_SECRET += ' or a KeyObject'; } function checkIsPublicKey(key) {