Flags
| Flag | Default | Description |
|---|---|---|
-i · --input <path> | — | Input ScreenJSON file. Required. |
-o · --output <path> | — | Output path. Required. |
--key <secret> | $SCREENJSON_ENCRYPT_KEY | Shared secret — at least 10 characters. |
Cipher details
- Cipher: AES-256-CTR
- Key derivation: SHA-256 of the shared secret
- Binary encoding:
hex(default), overridable viadocument.encrypt.encodingon the output. Valid values:hex,base16,base32,base64,ascii85.
What is encrypted
Every value in atext language map on every element; plus notes, slugline descriptions, character descriptions, loglines, cover extras. See Encryption.
What is not
UUIDs, timestamps, tag arrays, character canonical names,meta, and everything under analysis — so indexers, schedulers, and breakdown tools can still read structure without decrypting content.
Examples
Errors
| Error | Meaning |
|---|---|
Error: encryption key required | No --key provided and SCREENJSON_ENCRYPT_KEY is unset. |
Error parsing JSON | Input is not valid ScreenJSON. |
Error encrypting: key too short | Shared secret is less than 10 characters. |