It would be nice to run all tests with encryption : gs -sDEVICE=pdfwrite -sOutputFile=out.pdf -dKeyLength=120 -dEncryptionR=3 - dCompatibilityLevel=1.4 -sOwnerPassword=owner -sUserPassword=user -dNOPAUSE - dBATCH 001-01.ps gs -r72 -sDEVICE=ppmraw -sOutputFile=out.ppm -dBATCH -sPDFPassword=user cur.pdf The raster must be same as with no encryption.
In the second step -sPDFPassword=owner is preferred because it is some harder test.
Note we only need to run a single 72 dpi case (such as ppmraw) on all files. We still want to run the existing pdf tests
*** This bug has been marked as a duplicate of 688061 ***