Skip to content

[codex] Rewrite @bsv/did as SD-JWT VC compatibility layer - #112

Merged
sirdeggen merged 5 commits into
mainfrom
codex/sd-jwt-did
May 9, 2026
Merged

[codex] Rewrite @bsv/did as SD-JWT VC compatibility layer#112
sirdeggen merged 5 commits into
mainfrom
codex/sd-jwt-did

Conversation

@sirdeggen

Copy link
Copy Markdown
Contributor

Summary

  • Add new package @bsv/did with SD-JWT VC issuer/holder/verifier flows built on existing @bsv/sdk primitives.
  • Add optional secp256k1 did:key support, DID document generation, and QR code generation modes (did and vc).
  • Implement selective disclosure using salted SD-JWT disclosures and Key Binding JWT flow.
  • Add tests, TypeScript build config, and docs entries for package index/reference.

Validation

  • ./node_modules/.bin/tsc -b && ./node_modules/.bin/tsconfig-to-dual-package tsconfig.cjs.json
  • ./node_modules/.bin/jest --passWithNoTests
  • ./node_modules/.bin/ts-standard src/**/*.ts tests/**/*.ts
  • node scripts/validate-frontmatter.mjs && node scripts/check-links.mjs

Notes

  • This is scoped as a draft by default.

@sirdeggen
sirdeggen marked this pull request as ready for review May 8, 2026 23:52
@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

sonarqubecloud Bot commented May 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
0.0% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sirdeggen
sirdeggen merged commit d68b92f into main May 9, 2026
8 of 9 checks passed
ty-everett added a commit that referenced this pull request Jul 25, 2026
Wave 2 of #324: close CodeQL service-boundary findings #90, #91, #92, and #112; add regression coverage and standard create-bsv-app LCOV collection. CodeQL #120 remains for the shared rate-limiting wave. No packages published.
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.

1 participant