ZM
227e6a10e1
fix(ecash): cast usize to u64 in to_bytes() for 32-bit platform compatibility ( #6528 )
...
VerificationKeyAuth::to_bytes() and SecretKeyAuth::to_bytes() used
usize::to_le_bytes() to serialize vector lengths, producing 4 bytes on
32-bit and 8 bytes on 64-bit. Since from_bytes() always reads 8 bytes
(u64), this caused ZK proof challenge hash mismatches when a 32-bit
client's proof was verified by a 64-bit gateway, resulting in
"the provided ticket failed to get verified" on all 32-bit platforms.
2026-05-19 15:17:24 +01:00
..
2023-10-24 11:16:06 +02:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-05-19 14:21:12 +02:00
2026-05-19 15:13:03 +01:00
2026-05-19 10:36:20 +01:00
2026-04-17 09:23:55 +01:00
2026-05-19 15:13:03 +01:00
2026-05-01 09:21:28 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-05-19 10:36:20 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-05-18 08:47:41 -06:00
2026-04-17 09:23:55 +01:00
2026-05-19 10:36:20 +01:00
2026-04-17 09:23:55 +01:00
2026-05-13 11:19:44 +00:00
2026-01-19 13:19:45 +00:00
2026-04-17 09:23:55 +01:00
2026-05-19 10:36:20 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-05-19 15:17:24 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 07:49:50 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 07:49:50 +01:00
2026-05-11 14:50:14 +00:00
2026-04-17 07:49:50 +01:00
2026-04-17 07:49:50 +01:00
2026-04-17 07:49:50 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 07:49:50 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 07:49:50 +01:00
2026-05-19 10:36:20 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-05-19 14:21:12 +02:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 09:23:55 +01:00
2026-04-17 07:49:50 +01:00