pub(crate) fn sanitize_timestamps(payload: &str) -> Cow<'_, str>Expand description
Replace negative creationAt and modifiedAt values with null, so that Utc::now() will be
used downstream
Some credential managers (e.g., Google Password Manager) export timestamps
as the Windows FILETIME epoch (-11644473600) when no real date exists. The
credential-exchange-format crate deserializes these fields as u64 and
cannot handle negative values.