| Crates.io | ssec-cli |
| lib.rs | ssec-cli |
| version | 0.4.4 |
| created_at | 2025-04-12 22:20:32.874327+00 |
| updated_at | 2025-09-04 01:30:29.12948+00 |
| description | command-line interface for reading and writing the SSEC file format |
| homepage | |
| repository | https://github.com/james-conn/ssec-cli |
| max_upload_size | |
| id | 1631308 |
| size | 111,152 |
SSEC was developed as a simple alternative to ZIP encryption for single files (analogous to gzip, but for encryption). This repository contains a command line interface for encrypting and decrypting SSEC files. To read more about the security guarantees of the SSEC file format go here.
There are two recommended ways of installing ssec-cli.
cargo install ssec-cli
nix profile install github:james-conn/ssec-cli
enc)You can encrypt a file by using the enc subcommand:
ssec enc <IN_FILE> [OUT_FILE]
You will be prompted to input a password for the file interactively.
If OUT_FILE is not provided, the default value is the value of IN_FILE with a .ssec extension added to the end.
dec)You can decrypt a SSEC file by using the dec subcommand:
ssec dec <IN_FILE> <OUT_FILE>
You will be prompted to input the password for the file interactively.
fetch)If you have a URL to a SSEC file, you can directly download the decrypted inner contents without needing to save the SSEC file itself:
ssec fetch <URL> <OUT_FILE>
You will be prompted to input the password for the file interactively.
All of the above subcommands will display a progress bar, if you would like to hide the progress bar you can pass in the --silent flag.