@depay/js-verify-signature
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -32,3 +32,3 @@ let crypto; | ||
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*$/, ''); | ||
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*/g, ''); | ||
const binaryString = atob(publicKeyContent); | ||
@@ -35,0 +35,0 @@ const binaryStringArrayBuffer = string2ArrayBuffer(binaryString); |
@@ -38,3 +38,3 @@ (function (global, factory) { | ||
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*$/, ''); | ||
const publicKeyContent = publicKey.replace(/^.*?-----BEGIN PUBLIC KEY-----\n/, '').replace(/-----END PUBLIC KEY-----(\n)*$/, '').replace(/(\n)*/g, ''); | ||
const binaryString = atob(publicKeyContent); | ||
@@ -41,0 +41,0 @@ const binaryStringArrayBuffer = string2ArrayBuffer(binaryString); |
{ | ||
"name": "@depay/js-verify-signature", | ||
"moduleName": "DePayVerifySignature", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "JavaScript library to verify RSA PSS SHA256 signatures with a given public key.", | ||
@@ -6,0 +6,0 @@ "main": "dist/umd/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package