Bug 687259

Summary: (the regression tool) : wanted a PDF encryption test
Product: Ghostscript Reporter: Igor Melichev <igor.melichev>
Component: Test FrameworkAssignee: Jack Moffitt <jack>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---

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 ***