Package: qpdf
Version: 10.1.0-1
The QPDF Manual reads:
--password=password
Specifies a password for accessing encrypted files. Note that you
can use @filename or @- as described above to put the password in a
file or pass it via standard input so you can avoid specifying it on
the command line.
So I tried:
$ qpdf --decrypt --password=@- foo.pdf bar.pdf
But qpdf didn't read anything from stdin.
I also tried:
$ qpdf --decrypt --password @- foo.pdf bar.pdf
This time qpdf read stuff from stdin, but then it died with:
qpdf: --password must be given as --password=password
-- System Information:
Architecture: i386
Versions of packages qpdf depends on:
ii libc6 2.31-9
ii libgcc-s1 10.2.1-6
ii libqpdf28 10.1.0-1
ii libstdc++6 10.2.1-6
--
Jakub Wilk