Skip to content

Commit

Permalink
fix tracking id case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshuchawla009 committed Feb 13, 2025
1 parent 1f0192e commit 8d5901e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fnd-server/src/utils/tracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export const getTrackingId = (verifier: string, verifierId: string, network: TOR
return undefined;
}
// hash the verifier and verifierId
const hash = crypto.createHash("sha256").update(`${verifier}:${verifierId}`).digest("hex");
const hash = crypto.createHash("sha256").update(`${verifier.toLowerCase()}:${verifierId.toLowerCase()}`).digest("hex");
return hash;
};

0 comments on commit 8d5901e

Please sign in to comment.