mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
Fix hash regex
This commit is contained in:
parent
f83713f256
commit
ea95f3014d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const containsProof = async (data, fingerprint, claimFormat) => {
|
|||
|
||||
// Check for hashed proof
|
||||
if (!result) {
|
||||
const hashRe = /\$(argon2(?:id|d|i)|2a|2b|2y)(?:\$[a-zA-Z0-9=+\-,.]+)+/g
|
||||
const hashRe = /\$(argon2(?:id|d|i)|2a|2b|2y)(?:\$[a-zA-Z0-9=+\-,./]+)+/g
|
||||
let match
|
||||
|
||||
while (!result && (match = hashRe.exec(data)) != null) {
|
||||
|
|
Loading…
Reference in a new issue