mirror of
https://github.com/tlsnotary/tlsn-plugin-demo.git
synced 2026-01-08 21:08:13 -05:00
fix: verifier fix
This commit is contained in:
@@ -140,7 +140,8 @@ app.post('/verify-attestation', async (req, res) => {
|
||||
try {
|
||||
const notaryUrl = convertNotaryWsToHttp(attestation.meta.notaryUrl);
|
||||
const notaryPem = await fetchPublicKeyFromNotary(notaryUrl);
|
||||
const presentation = verify(attestation.data, notaryPem);
|
||||
console.log(notaryPem)
|
||||
const presentation = await verify(attestation.data, notaryPem);
|
||||
|
||||
const presentationObj = {
|
||||
sent: presentation.sent,
|
||||
|
||||
Reference in New Issue
Block a user