mirror of
https://github.com/qpdf/qpdf.git
synced 2024-09-22 10:09:06 +00:00
c2030d1f33
Allow fine control over how passwords are encoded for writing, and allow password for reading to be given as a hexademical encoded string. Allow suppression of password recovery as a means to ensure that the password you specify is actually the right one.
11 lines
196 B
Perl
11 lines
196 B
Perl
use warnings;
|
|
use strict;
|
|
|
|
while (<>)
|
|
{
|
|
print if m/invalid password/;
|
|
print "trying other\n" if m/supplied password didn't work/;
|
|
print if m/^R =/;
|
|
print if m/^User password =/;
|
|
}
|