Bug 687259 - (the regression tool) : wanted a PDF encryption test
Summary: (the regression tool) : wanted a PDF encryption test
Status: RESOLVED DUPLICATE of bug 688061
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Test Framework (show other bugs)
Version: master
Hardware: All All
: P4 enhancement
Assignee: Jack Moffitt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 00:57 UTC by Igor Melichev
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Melichev 2004-01-16 00:57:37 UTC
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.
Comment 1 Igor Melichev 2004-01-16 00:59:40 UTC
In the second step -sPDFPassword=owner is preferred because it is some harder 
test.
Comment 2 Ray Johnston 2004-01-21 10:18:10 UTC
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
Comment 3 Jack Moffitt 2005-05-04 19:41:55 UTC

*** This bug has been marked as a duplicate of 688061 ***