metaist / pdfmerge

Command-line utility for merging, splicing, and rotating PDF documents.
http://metaist.github.io/pdfmerge/
Other
121 stars 24 forks source link

add: prompt for password for encrypted files #13

Closed metaist closed 1 year ago

metaist commented 9 years ago

If there's an encrypted PDF, first try a blank password (empty string) and then use getpass to prompt for a password.

metaist commented 1 year ago

There's no exception for the wrong password, so we just check if you provided a password or not.