10 KiB
Maintaining Final Wishes
For the owner. The executor's instructions are in docs/thumbdrive/README.txt.
What you have
One file, final-wishes.html: the app plus your data, encrypted with a
passphrase (PBKDF2-SHA256, 600,000 iterations, AES-256-GCM). It runs in any
browser, offline. There is no recovery if the passphrase is lost.
Thumbdrive layout
final-wishes.html the encrypted guide
README.txt copy of docs/thumbdrive/README.txt (fill in the blanks)
backups/ dated copies, final-wishes-YYYYMMDD.html
Fill in the two blanks in README.txt with where the passphrase and any
printed copy are kept, never the passphrase itself.
First-time setup
Either route gives the same kind of file:
- In a terminal:
npm run sealencryptsdata/seed.json(prompts twice for a passphrase, minimum 12 characters). To write straight to the drive:node build.js --data data/seed.json --out /mnt/f/final-wishes.html(WSL needs the drive mounted:sudo mount -t drvfs F: /mnt/f). - In the browser:
npm run build, opendist/final-wishes.html, import a JSON file or start a new document, then Save. You will be asked to choose a passphrase.
Never write a seal over a file you want to keep. npm run seal builds
from data/seed.json, not from your latest edits; use it only for the very
first file. After that, edit in the page and Save.
After sealing, data/seed.json is still plaintext. Delete it (and see
"Security clean-up" below). data/ and *.pdf are git-ignored on purpose.
Updating
- Open
final-wishes.htmlfrom the drive, unlock, click Edit. - Change things, Done editing, Save (or Ctrl/Cmd+S).
- Chrome/Edge: pick the drive file once; later saves overwrite silently.
- Firefox/Safari: a new
final-wishes.htmldownloads. Copy it over the old one on the drive. - Cancel (next to Save, edit mode only) throws away the unsaved changes to the section on screen, back to how it was at the last open or save, and leaves edit mode. It asks first if anything changed. It works on the Print header page too. Other sections keep their unsaved edits. A section you added this session is removed. Deleting or moving sections is not undone by Cancel, and neither is a passphrase change. Deleting a section asks first and says what is in it (records, items, visual sequences, images).
- Saving updates "Last update" and the per-record dates. "Last update" is what the printed header shows. Editing the header settings themselves does not change it.
- If you changed the passphrase, the old file still opens with the old one until you save and replace it.
Images
Any record can hold pictures (scans of documents, photos of a safe's contents, a screenshot of where to click). They are another kind of field, so they have a label, a secret checkbox, reorder arrows and a delete button like any other field. In Edit mode, add one of three ways:
- + Add image... in the record, then choose one or more files.
- Drag and drop a file onto the record (adds a new field) or onto an existing image box (replaces that image).
- Paste (Ctrl/Cmd+V) with the cursor inside the record (adds a new field), or with an image box selected (replaces it). Text pastes are unaffected.
What to expect:
- Only PNG and JPEG are accepted. The type is checked from the file's contents, not its name. Anything else is refused with a message.
- Images are shrunk so the longest side is at most 1600 px and re-encoded. This also removes camera metadata such as GPS location. A large PNG becomes a JPEG (transparency is lost); small PNGs stay PNG so screenshots stay sharp. Photos usually end up well under 1 MB; there is a hard limit of about 3 MB per image.
- Pictures are stored inside the encrypted document, so they are protected by
the passphrase like everything else, but they make
final-wishes.htmlbigger and each save slower. Add what the executor needs, not everything you have. - Secret images are hidden in the viewer behind Show/Hide and are withheld ("[withheld]") from a masked print. A photo of an ID card is as sensitive as a password: a full "Include secrets" print contains it.
- Click an image in the viewer to enlarge it. In print each image is scaled to fit the page (at most about 4 inches tall).
- Dropping a file anywhere on the page never navigates away from unsaved work.
Visual sequences
A visual sequence is a numbered series of pictures, each with optional text, for things that are easier to show than to describe: how to log in to a bank site, how to cancel a service that hides the button. It is its own block, not part of a record or item, so it sits exactly where you put it.
- Where: in any section. In records, steps and checklist sections use + Add visual sequence next to the add-record / add-item button. It sits in the same ordered list, so the up/down arrows place it between records or items. In a text section sequences print after the text. A section can hold as many as you like. A sequence is not a step: it has no number and no tick box, and numbering of the items around it carries on unbroken.
- Adding pictures: + Add images… (choose several files at once), drop files on the sequence, or paste a screenshot while the cursor is inside it. Each becomes a step. Dropping or pasting onto an existing step's box replaces that step's picture. + Add step adds an empty one. Same image rules as Images above (PNG/JPEG, shrunk, about 3 MB limit).
- Text: each step has a text position, chosen per step: right of image, under image, or no text. Text keeps its line breaks. Switching to no text hides it but keeps what you typed. Empty text never takes room.
- Secret (per step) hides both the picture and the text behind Show/Hide and withholds it from a masked print. Steps are numbered 1, 2, 3… in view and in print, and a step is kept on one page.
- Files saved with sequences cannot be opened by older builds; opening an older file in a newer build (see below) still works. Cancel and the other editing rules work the same as for records.
Upgrading the app (new version, same data)
Your data is stored encrypted inside each final-wishes.html; the app code
sits beside it in the same file. A file therefore keeps running the version it
was saved with until you move its data into a newer build:
npm run build(or take a newerfinal-wishes.htmlbuild) and opendist/final-wishes.html.- On the start screen choose Open your existing Final Wishes file, pick your current file and unlock it with its passphrase. The old file is only read, not changed.
- Click Save and give the result a new name (for example
final-wishes-new.html) rather than the current one. - Open the new file, unlock it, and look through it. Only then replace the
old file (keep the old one in
backups/).
Documents made by older versions keep working: anything a newer version added (such as the print header) falls back to a default until you set it.
Backups
- Backup copy downloads
final-wishes-YYYYMMDD.htmlto your Downloads folder. Move it intobackups/. - Keep a second copy off the drive. The file is encrypted, so cloud storage or a second drive is reasonable. Thumbdrives fail without warning.
- After any important change, open the copy once and unlock it to prove it works.
The passphrase (the real single point of failure)
- Do not store it on the drive or in the same place as the drive.
- Good options: a sealed envelope with your will in the fire safe, or with your attorney, plus a second person who knows where it is.
- Make sure your executor knows the drive exists and where the passphrase
is kept. The blanks in
README.txtexist for this. - Use a few random words (12+ characters is enforced). Do not reuse the LastPass master password.
Printing
Print... offers "Withhold secrets" (safe overview) and "Include secrets" (full copy). Print on Letter paper with the browser's own "Headers and footers" turned off (that is separate from the document header below). A full copy is as sensitive as the passwords on it: store it in the fire safe and shred superseded copies. Page layout was checked by rendering pages in Chromium (Chrome/Edge); it has not been checked in Firefox or Safari, so look at a test print the first time.
The print header
Every printed page starts with a header line in larger bold type. It is part of the document, so it is saved with the rest and is encrypted too. Open Print header at the bottom of the sidebar to see a live preview, then Edit to change it:
- Add as many fields as you like. Each is either Text (printed as
written) or Last updated (an optional label such as
Last update:followed by the document's last-update date). - Each field's alignment is Left, Right or Not aligned. At most one field can be left aligned and one right aligned; the other choice shows "(in use)" and is disabled.
- Printed order is always: the left field, then the unaligned fields in the order listed, then the right field. List order only matters between unaligned fields. Use the arrows to reorder and the cross to remove.
- Reset to default restores the title on the left and "Last update: date" on the right, which is also what a document with no header setting uses.
- Keep the left and middle text short. If the line gets crowded, the left field wraps first; the right and middle fields never wrap.
Keep it current
Nothing in the app reminds you to review. Set a yearly reminder. Things that go stale: card expiry dates, account balances and metal values, advisors' contact details, anything marked TBD. The "Still to add" section lists known gaps.
Security clean-up (issue #8)
- Destroy plaintext copies of the source material once the encrypted file is
verified:
abi-wishes.pdf, the Word version, anddata/seed.json. - Rotate every password and PIN that appeared in the PDF (LastPass master password, computer PIN, ATM PIN, bank logins), since it existed in plaintext for years.
- Treat the encrypted file like any sensitive file: an attacker who gets it can try passphrases offline forever, so the passphrase strength is all that protects it.
Limits
This is a guide, not a legal document. It does not replace a will, health care directive or powers of attorney, and the executor may still need those to be granted access to accounts.