GS08: pack app tresorbrief #7

Merged
oliver.maklott merged 1 commit from gs08-tresorbrief into dev 2026-10-31 12:08:06 +01:00

GS08: real encryption on the device with WebCrypto – PBKDF2-SHA256 (100 000 rounds), AES-256-GCM, salt 16 and IV 12 bytes from getRandomValues, Base64 in groups of four.

  • Modes encrypt, decrypt (partner hides message and words, wrong then right), image (64 × 64 picture from scripts/bilder.py becomes noise and comes back), 7zip (steps, then the method as radio buttons – deviation 1 of the plan).

  • The password is always three dice words from lists, never typed; woerter.js is written from lib/wuerfelwoerter.json.

  • Answers and state only from fixed words (krypto.answerFor, stateFor); tests prove no message or password can reach the platform.

  • Word list and picture are scripts: the sandboxed frame cannot fetch files.

  • Checked in Chromium and WebKit in a sandbox="allow-scripts" frame: secure context and crypto.subtle available, all four modes, 320 px dark, 200 % text, no message or word in any posted message. Real school devices still to check.

  • build, 74 tests, typecheck green

🤖 Generated with Claude Code

GS08: real encryption on the device with WebCrypto – PBKDF2-SHA256 (100 000 rounds), AES-256-GCM, salt 16 and IV 12 bytes from getRandomValues, Base64 in groups of four. - Modes `encrypt`, `decrypt` (partner hides message and words, wrong then right), `image` (64 × 64 picture from `scripts/bilder.py` becomes noise and comes back), `7zip` (steps, then the method as radio buttons – deviation 1 of the plan). - The password is always three dice words from lists, never typed; `woerter.js` is written from `lib/wuerfelwoerter.json`. - Answers and state only from fixed words (`krypto.answerFor`, `stateFor`); tests prove no message or password can reach the platform. - Word list and picture are scripts: the sandboxed frame cannot fetch files. - Checked in Chromium and WebKit in a `sandbox="allow-scripts"` frame: secure context and `crypto.subtle` available, all four modes, 320 px dark, 200 % text, no message or word in any posted message. Real school devices still to check. - [x] build, 74 tests, typecheck green 🤖 Generated with [Claude Code](https://claude.com/claude-code)
GS08: pack app tresorbrief, AES-256-GCM on the device, nothing typed leaves it
All checks were successful
pack / pack (pull_request) Successful in 10s
pack / pack (push) Successful in 8s
042867008a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oliver.maklott deleted branch gs08-tresorbrief 2026-10-31 12:08:06 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Geheimschrift!7
No description provided.