screenjson encrypt pass.
Flags
| 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. |
Examples
Errors
A wrong key fails with a clear error rather than silently producing junk output. The operation is strict: partial decrypts are not emitted.| Error | Meaning |
|---|---|
Error: decryption key required | No --key and SCREENJSON_ENCRYPT_KEY unset. |
Error decrypting: ... | Key mismatch or document not encrypted. |