[Bug]: Need to use WASM-compatible features #5

Closed
opened 2025-10-18 00:11:18 -04:00 by continuist · 1 comment
Owner

Brief Summary

Sharenet-Passport crate currently uses features that aren't WASM-compatible, preventing direct use in the browser

Steps to Reproduce

N/A

Expected Behavior

Should be WASM-compatible

Actual Behavior

The current infrastructure uses OS-specific features that aren't available in WASM:

  • OsRng - Uses system random number generator
  • File system operations - FileSystemStorage uses std::fs
  • System time - Uses SystemTime::now()

Additional Context

No response

Checklist

  • I have checked that this bug has not already been reported.
  • I have provided all the requested information to the best of my ability.
### Brief Summary Sharenet-Passport crate currently uses features that aren't WASM-compatible, preventing direct use in the browser ### Steps to Reproduce N/A ### Expected Behavior Should be WASM-compatible ### Actual Behavior The current infrastructure uses OS-specific features that aren't available in WASM: - OsRng - Uses system random number generator - File system operations - FileSystemStorage uses std::fs - System time - Uses SystemTime::now() ### Additional Context _No response_ ### Checklist - [x] I have checked that this bug has not already been reported. - [x] I have provided all the requested information to the best of my ability.
continuist added the
Kind/Bug
label 2025-10-18 00:11:18 -04:00
Author
Owner

Resolved in branch bug/5-need-to-use-wasm-compatible-features

Resolved in branch bug/5-need-to-use-wasm-compatible-features
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: devteam/sharenet_passport_creator#5
No description provided.