-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
squad: gatekeepersCatalyst App Backend, System Development & Integration TeamCatalyst App Backend, System Development & Integration Team
Description
Summary
- Replace
SystemTime::nowusage withchrono::Utc::nowfor consistent time handling for thecatalyst-signed-doccrate.
Description
- Update all instances of
std::time::SystemTime::nowto usechrono::Utc::nowinstead. - Reason: This ensures consistent, standardized UTC timestamps across the application. Using
SystemTime::nowcan lead to potential time drift and synchronization issues between the backend and frontend, which can have security implications. - Reference PR: This approach follows the precedent set in other related repositories. See discussion and implementation here: fix(rust/signed-doc): Replacing
SystemTime::nowwithUtc::now#610
Metadata
Metadata
Assignees
Labels
squad: gatekeepersCatalyst App Backend, System Development & Integration TeamCatalyst App Backend, System Development & Integration Team
Type
Projects
Status
✅ Done