Skip to content

Conversation

@boorad
Copy link
Collaborator

@boorad boorad commented Jan 30, 2026

Summary

This PR fixes issues found during code review and updates coverage documentation.

Bug Fixes

  1. Callback error handling in sign/verify - Moved key validation inside doSign() and doVerify() so errors are properly passed to callbacks instead of being thrown synchronously (matching Node.js behavior)

  2. Ed25519 test algorithm - Fixed test to use null algorithm instead of 'SHA512' since Ed25519 uses internal hashing

New Tests

  • Added callback error handling tests for both sign() and verify() functions

Coverage Updates

  • Marked timingSafeEqual as implemented in:
    • docs/data/coverage.ts
    • .docs/implementation-coverage.md

- Move key validation inside doSign/doVerify so errors pass to callbacks
- Fix Ed25519 test to use null algorithm (internal hashing)
- Add callback error handling tests
- Mark timingSafeEqual as implemented in coverage docs
@github-actions
Copy link
Contributor

🤖 End-to-End Test Results - Android

Status: ✅ Passed
Platform: Android
Run: 21527854980

📸 Final Test Screenshot

Maestro Test Results - android

Screenshot automatically captured from End-to-End tests and will expire in 30 days


This comment is automatically updated on each test run.

@github-actions
Copy link
Contributor

🤖 End-to-End Test Results - iOS

Status: ✅ Passed
Platform: iOS
Run: 21527855001

📸 Final Test Screenshot

Maestro Test Results - ios

Screenshot automatically captured from End-to-End tests and will expire in 30 days


This comment is automatically updated on each test run.

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