Skip to content

On-chain verification + configurability of verification features#253

Open
gertjandemulder wants to merge 22 commits intoSolidLabResearch:developmentfrom
gertjandemulder:secuweb/fsc-demo-20251114
Open

On-chain verification + configurability of verification features#253
gertjandemulder wants to merge 22 commits intoSolidLabResearch:developmentfrom
gertjandemulder:secuweb/fsc-demo-20251114

Conversation

@gertjandemulder
Copy link
Collaborator

This PR enables i) on-chain verification of the data sources; ii) configuration of verification features (i.e., source verification & on-chain verification).

On-chain verification

On-chain verification refers to verifying whether the anchored data source has not been tampered with since the time of it was published.

Configuration of verification features

Miravi can now be configured to enable/disable source verification and on-chain verification.

@gertjandemulder gertjandemulder changed the title Secuweb/fsc demo 20251114 On-chain verification + configurability of verification features Dec 10, 2025
<SourceVerificationIcon httpProxies={query.httpProxies} source={source} />
</TableCell>
{ !!vc.enabled && <TableCell> <SourceVerificationIcon httpProxies={query.httpProxies} source={source} /> </TableCell> }
{ !!onchain.enabled &&<TableCell> <ChainVerificationIcon endpoint={onchain.endpoint} source={source} /> </TableCell> }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this won't work if onchain.enabled = true and onchain.endpoint is not filled in

@bjdmeest
Copy link
Collaborator

Yeah so... This needs tests. Without the API setup, i.e., mocking the anchoring/... server similar to https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/blob/main/test/scripts/start-bad-cors-server.mjs , but adding the cypress tests such as https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/blob/main/test/cypress/e2e/verify-source.cy.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants