Skip to content

decrypt does not work with --password-file

Reproducer:

sq key generate --new-password-file=/etc/passwd --userid Karel --own-key
sq encrypt --output encrypted --for-userid Karel --without-signature /etc/hosts
sq --password-file=/etc/passwd decrypt encrypted

I tried it in this container:

podman run --entrypoint bash -it registry.gitlab.com/sequoia-pgp/sequoia-sq:latest

# sq version
sq 1.3.1
using sequoia-openpgp 2.0.0
with cryptographic backend Nettle 3.10 (Cv448: true, OCB: true)