From 9023ed11125620161e1b0212aecd41b9ab2c2dac Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 16 Nov 2019 20:38:03 -0500 Subject: [PATCH] update security checking --- src/api/Security.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/Security.ts b/src/api/Security.ts index 95010b0..378afcb 100644 --- a/src/api/Security.ts +++ b/src/api/Security.ts @@ -36,7 +36,7 @@ export default class Security { verify.update(bearer); verify.end(); try { - return verify.verify(this.keyPair.publicKey, account.bearerSignature, 'base64'); + return verify.verify(this.keyPair.publicKey, account.bearerSignature, 'hex'); } catch { return false; }