mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-05 21:07:43 +00:00
04c43167f2
The forward half of the rotation contract - an envelope written before a rotation still decrypts after it - was only exercised by the #[ignore] live-Vault tests, so CI never verified it. The offline layer only had the negative cases (a regressed version pointer must fail closed). Drive encrypt -> rotate -> decrypt over the scripted Vault responder, folding what each rotation writes back into the served state so the material the decrypt resolves is the material the rotation persisted. Also cover two consecutive rotations and pin that new envelopes carry the rotated version.