2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-06 04:10:52 +00:00
qpdf/qpdf/qtest/qpdf/show-unicode-encryption.pl
Jay Berkenbilt c2030d1f33 Implement password recovery suppression and password mode (fixes #215)
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.
2019-01-19 10:14:07 -05:00

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 =/;
}