Skip to content

chore(website): migrate to dosipas-ts 3.0.0 - #46

Merged
chtitux merged 1 commit into
mainfrom
claude/signature-retrieval-method-8mplxb
Sep 20, 2026
Merged

chtitux merged 1 commit into
mainfrom
claude/signature-retrieval-method-8mplxb

Conversation

@chtitux

@chtitux chtitux commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump the website's dosipas-ts dependency from ^2.0.0 to ^3.0.0 (freshly published).
  • Adopt the 3.0.0 API:
    • src/lib/keys.ts: the key provider's getPublicKey now receives a SignatureKey (issuer + keyId object); the trusted-key branches read key.securityProviderNum/IA5/keyId (with the former ?? 0 defaults kept explicitly) and the not-found error uses the canonical key.id label.
    • src/hooks/useTicketDecode.ts and src/components/HexViewer.tsx: extractSignedData/ExtractedSignedData → extractTicket/ExtractedTicket, with the per-level field paths (level1.signedBytes, level1.signature, level2.signedBytes, level2.signature) for the signed-region hex highlighting.

No behavior change intended; GitHub Pages will redeploy the site from main on merge.

Test plan

  • npx tsc --noEmit clean in website/
  • npx vite build succeeds against dosipas-ts@3.0.0
  • No remaining references to the removed 2.0.0 API in website/src

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMYUez7fcvaL34RUjxKZRJ


Generated by Claude Code

Bump the dependency and adopt the 3.0.0 API: the key provider's
getPublicKey now receives a SignatureKey, and extractSignedData/
ExtractedSignedData become extractTicket/ExtractedTicket with per-level
fields (level1/level2 signedBytes and signature) in the decode hook and
hex viewer.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMYUez7fcvaL34RUjxKZRJ
@chtitux
chtitux merged commit cf4c0d1 into main Sep 20, 2026
4 checks passed
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