screenjson encrypt pass.
screenjson-cli
decrypt
Decrypt an encrypted ScreenJSON document.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Decrypt an encrypted ScreenJSON document.
screenjson decrypt -i <input.json> -o <output.json> --key <secret>
screenjson encrypt pass.
| Flag | Default | Description |
|---|---|---|
-i · --input <path> | — | Encrypted ScreenJSON file. Required. |
-o · --output <path> | — | Decrypted output path. Required. |
--key <secret> | $SCREENJSON_ENCRYPT_KEY | Shared secret used to encrypt the document. |
# Explicit key
screenjson decrypt -i cipher.json -o plain.json --key "AtLeast10Chars!"
# Key from environment
export SCREENJSON_ENCRYPT_KEY="AtLeast10Chars!"
screenjson decrypt -i cipher.json -o plain.json
# Decrypt on the way out to a screenplay format
screenjson export -i cipher.json -f fdx --decrypt "AtLeast10Chars!" -o script.fdx
| Error | Meaning |
|---|---|
Error: decryption key required | No --key and SCREENJSON_ENCRYPT_KEY unset. |
Error decrypting: ... | Key mismatch or document not encrypted. |