Bind filenames to the corrected CBC-CS3 format #8

Manually merged
erikinkinen merged 1 commit from feature/cbc-cs3-filenames into feature/owned-filesystem-key-lifetimes 2026-11-13 20:53:05 +01:00
Owner

Bind filename operations to the corrected CBC-CS3 provider, including the final-block exchange for aligned data. Preserve the existing padding policy, zero-IV filename wrapper, explicit raw-block IV and caller-owned output extents.

Depends on #5 and AES #11. Corrective scope: AES #10.

  • Check raw partial/aligned ciphertext and zero-IV padded filenames against independent fixed answers.
  • Preserve no-mutation size preflights and exact output boundaries.
  • Document explicit migration of any persisted nonstandard prototype bytes; add no alternate-mode fallback.
  • Complete the original strict debug/release component gates at this head.

Actual filesystem-image format adoption remains separate from this library contract. Neither padding acceptance nor successful CBC-CS3 decryption authenticates ciphertext.

Bind filename operations to the corrected CBC-CS3 provider, including the final-block exchange for aligned data. Preserve the existing padding policy, zero-IV filename wrapper, explicit raw-block IV and caller-owned output extents. Depends on #5 and [AES #11](https://git.erikinkinen.fi/erix/lib-aes/pulls/11). Corrective scope: [AES #10](https://git.erikinkinen.fi/erix/lib-aes/issues/10). - [x] Check raw partial/aligned ciphertext and zero-IV padded filenames against independent fixed answers. - [x] Preserve no-mutation size preflights and exact output boundaries. - [x] Document explicit migration of any persisted nonstandard prototype bytes; add no alternate-mode fallback. - [x] Complete the original strict debug/release component gates at this head. Actual filesystem-image format adoption remains separate from this library contract. Neither padding acceptance nor successful CBC-CS3 decryption authenticates ciphertext.
fix: Bind filename encryption to the corrected CBC-CS3 format
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 32s
9354b7e580
Select the corrected public AES provider explicitly and qualify raw and padded filename ciphertext against independent answers. Document the required final-block exchange and explicit migration of any nonstandard prototype bytes; never infer a cipher mode through fallback. Preserve short-buffer preflights and unchanged caller output extents.
erikinkinen added this to the Alpha 1 milestone 2026-11-13 03:49:06 +01:00
erikinkinen changed title from WIP: Bind filenames to the corrected CBC-CS3 format to Bind filenames to the corrected CBC-CS3 format 2026-11-13 03:51:24 +01:00
Author
Owner

The correction is ready for review. Independent ciphertext answers cover both directions, and the current head passes the original strict component gates in debug and optimized builds. Filesystem-image adoption and any migration of prototype ciphertext remain separate owner responsibilities.

The correction is ready for review. Independent ciphertext answers cover both directions, and the current head passes the original strict component gates in debug and optimized builds. Filesystem-image adoption and any migration of prototype ciphertext remain separate owner responsibilities.
erikinkinen manually merged commit d05bacd4c2 into feature/owned-filesystem-key-lifetimes 2026-11-13 20:53:05 +01:00
Sign in to join this conversation.
No description provided.