mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
A weekly or uploaded backup written by v1.39.x is a single ~hlgcm1. stream in data_backups.data. Its key id sits behind the stream marker, which the string codec's parser does not read, so key rotation filed every such row as legacy, failed to decrypt it and counted it as an error. On a host that ran v1.39.x that was every weekly copy, and the rotation never finished clean. Rotation now reads the key id of a streamed value and re-seals it as a stream under the active key, without touching what it holds.