From be1811adc12d3042b23d42d19674fb19f53f7fa1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 25 Aug 2025 12:01:36 -0700 Subject: [PATCH] rust: Document `pspp decrypt`. --- rust/doc/src/invoking/pspp-decrypt.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/rust/doc/src/invoking/pspp-decrypt.md b/rust/doc/src/invoking/pspp-decrypt.md index 1f8b5447df..8d17c020e6 100644 --- a/rust/doc/src/invoking/pspp-decrypt.md +++ b/rust/doc/src/invoking/pspp-decrypt.md @@ -1 +1,27 @@ # Decrypting SPSS files with `pspp decrypt` + +SPSS supports encryption using a password for data, viewer, and syntax +files. `pspp decrypt ` reads an encrypted file +`` and writes an equivalent plaintext file ``. + +Other commands, such as [`pspp convert`](pspp-convert.md), can also +read encrypted files directly. + +PSPP does not support writing encrypted files, only reading them. + +> ⚠️ Warning: The SPSS encryption format is insecure: when the password +> is unknown, it is much cheaper and faster to decrypt a file +> encrypted this way than if a well designed alternative were used. + +## Options + +`pspp decrypt` accepts the following options: + +* `-p ` + `--password ` + Specifies the password for reading the encrypted input file. + Without this option, PSPP will interactively prompt for the + password. + + > ⚠️ The password (and other command-line options) may be visible to + other users on multiuser systems. -- 2.30.2