Files
Yuxiang Ji f4ada04e0c doc: RAND(7): a restore from a saved image is not detected; reseed after it
The DRBGs reseed on a change of process ID, on the request count and on
the time interval, and have no way to notice that the process or the
machine was restored from a snapshot or a checkpoint: copies restored
from one image continue from the same state until their next scheduled
reseed. Say so in RAND(7) beside the paragraph on automatic reseeding,
and tell applications in such environments to reseed after their own
restore signal, with RAND_poll(3) as the call that does it.

Measured on 3.5.9 and master: two continuations of one QEMU or
Firecracker snapshot, or of one CRIU checkpoint, print identical
RAND_bytes output block for block (32 of 32, 14 of 14) until the primary
DRBG's interval expires; plain fork, _Fork and clone are distinct through
the pid check.

Assisted-by: Claude Code:claude-fable-5-1
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Merge-date: Fri Oct 23 12:51:55 2026
Merged-from: https://github.com/openssl/openssl/pull/33285
2026-10-23 14:51:41 +02:00
..
2023-11-10 13:27:00 +01:00
2025-09-02 13:05:45 +00:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2021-05-28 14:29:13 +02:00
2024-09-05 09:35:49 +02:00
2025-07-10 11:14:19 +10:00
2023-09-07 09:59:15 +01:00
2026-03-10 14:37:52 +00:00
2023-09-28 14:23:29 +01:00
2026-03-10 14:37:52 +00:00
2025-03-12 13:35:59 +00:00
2025-03-12 13:35:59 +00:00
2025-03-12 13:35:59 +00:00
2024-09-05 09:35:49 +02:00
2026-03-10 14:37:52 +00:00
2024-09-05 09:35:49 +02:00
2026-09-09 13:12:46 +00:00
2021-03-11 13:27:36 +00:00
2024-09-05 09:35:49 +02:00
2021-02-18 15:05:17 +00:00
2023-09-07 09:59:15 +01:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-09-11 16:02:23 +10:00
2025-09-11 16:02:23 +10:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-09-02 13:05:45 +00:00
2025-03-12 13:35:59 +00:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-04 07:32:18 -05:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2026-03-10 14:37:52 +00:00
2026-09-09 13:12:46 +00:00
2026-03-10 14:37:52 +00:00
2021-09-07 13:35:43 +02:00
2026-03-10 14:37:52 +00:00
2025-12-10 12:20:44 -05:00
2025-09-02 13:05:45 +00:00
2026-09-09 13:12:46 +00:00
2026-09-09 13:12:46 +00:00
2026-09-09 13:12:46 +00:00
2026-03-10 14:37:52 +00:00
2025-03-12 13:35:59 +00:00
2022-05-03 13:34:51 +01:00
2026-09-09 13:12:46 +00:00
2026-09-09 13:12:46 +00:00
2021-04-22 14:38:44 +01:00
2020-04-23 13:55:52 +01:00