# feat: save page edits to password-protected sections · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/860f9341c754f84c8ce5d06a103d2d1fd39fefdb)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 860f9341c754f84c8ce5d06a103d2d1fd39fefdb

Requested commit: 860f9341c754f84c8ce5d06a103d2d1fd39fefdb

Commit: 860f9341c754f84c8ce5d06a103d2d1fd39fefdb

Tree: 5540be3b4f8492375eeca8e632a3a5ed7cc8ca52

Author: clover caruso

Committer: clover caruso

## Message

```
feat: save page edits to password-protected sections

PreparedEdit::page_protected and Notebook::save_unlocked publish a page-model
edit under the section key. The page writer runs unchanged on a plaintext twin
of the unlocked section (every labelled revision and payload under its own
identity); the revisions the twin gained are squashed onto the real file with
objects sealed under fresh IVs and payloads under the file IV.

OneNote 2010 unlocks and reads the result and keeps editing it
(corpus/protected-edit). Its follow-up revisions showed that a revision with a
dependency carries no key node; the reader accepts that and the writer matches.

Assisted-by: claude-fable-5.1

```

## Parents

- [2393166f77111e9fcba3a433294bddc0c4df5ec9](https://git.cafe/clo/snowbound/commit/2393166f77111e9fcba3a433294bddc0c4df5ec9?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/860f9341c754f84c8ce5d06a103d2d1fd39fefdb?format=markdown)
