Skip to content

feat: add generic /verify endpoint - #454

Draft
Sotatek-Patrick-Vu wants to merge 4 commits into
WebOfTrust:mainfrom
veridian-id:feat/verify
Draft

feat: add generic /verify endpoint#454
Sotatek-Patrick-Vu wants to merge 4 commits into
WebOfTrust:mainfrom
veridian-id:feat/verify

Conversation

@Sotatek-Patrick-Vu

Copy link
Copy Markdown
Contributor

The /credentials/verify was previously used to verify a credential from Signify for use cases where ACDCs are published somewhere and indexed, such as a blockchain, rather than direct IPEX engagements.

We would like to supersede the endpoint with a more generic /verify endpoint which accepts a serder + attachment and returns the relevant long running operation - ACDC + TEL events supported for now.

Draft PR for now; looking for feedback on general approach.

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.53%. Comparing base (f621ca4) to head (bf5710c).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #454      +/-   ##
==========================================
+ Coverage   87.76%   88.53%   +0.76%     
==========================================
  Files          26       26              
  Lines        5826     5973     +147     
==========================================
+ Hits         5113     5288     +175     
+ Misses        713      685      -28     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@iFergal iFergal left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@kentbull @lenkan Looking for general feedback on the approach, hence draft, but it's otherwise a working PR.


ced = op.metadata["ced"]
if self.credentialer.complete(ced["d"]):
if self.credentialer.rgy.reger.saved.get(keys=ced["d"]) is not None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

credentialer.complete only works for credentials we issue - looking at the escrows, there isn't really much difference right now compared to reger.saved which would allow this op type to be used for general verification of credentials too.

Not sure if this would change when we have deployed registrars is the only thing. Happy to split to two if we think that'd be better.

@iFergal
iFergal requested review from kentbull and lenkan July 24, 2026 06:48
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.

2 participants