Bug#894764: Please prompt for password on import of encrypted file

2018-04-09 Thread martin f krafft
also sprach Jeff  [2018-04-10 05:54 +1200]:
> I've added this for the next release.

You are an awesome maintainer and upstream. Thank you so much for
your perseverance and short turn-around times, which really make
gscan2pdf better for me every day. It's already an indispensable
tool in my workflow and this feature will now shave even more time
off my day. Thank you so much.

-- 
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
"self-denial is the shining sore
 on the leprous body of christianity."
  -- oscar wilde


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#894764: Please prompt for password on import of encrypted file

2018-04-09 Thread Jeff
I've added this for the next release.



signature.asc
Description: OpenPGP digital signature


Bug#894764: Please prompt for password on import of encrypted file

2018-04-04 Thread martin f krafft
also sprach Jeff  [2018-04-05 04:05 +1200]:
> Do you know of a command-line tool with which I can build a PDF with a
> password, or at least add a password to an existing PDF?

pdftk can do that:

  pdftk input.pdf output output.pdf encrypt_128bit user_pw s3cr3t

Cheers!

-- 
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
"this week dragged past me so slowly;
 the days fell on their knees..."
  -- david bowie


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Bug#894764: Please prompt for password on import of encrypted file

2018-04-04 Thread Jeff
gscan2pdf uses pdfimages to extract the images. pdfimages supports
supplying a password, so this is doable.

Do you know of a command-line tool with which I can build a PDF with a
password, or at least add a password to an existing PDF? I'd want to
create a unit test, and I'd rather build the PDF on the fly rather than
storing the binary in the source.



signature.asc
Description: OpenPGP digital signature


Bug#894764: Please prompt for password on import of encrypted file

2018-04-03 Thread martin f krafft
Package: gscan2pdf
Version: 1.8.11-1
Severity: wishlist

If I --import a file with PDF encryption, it'd be nice if gscan2pdf
could prompt me for a password to unlock the file. Would this be
doable without too much trouble?

At this stage, on import, I get errors:

  1. "Error extracting text layer from PDF"
  2. "Error extracting images from PDF"

Thanks for your consideration!

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gscan2pdf depends on:
ii  imagemagick8:6.9.9.39+dfsg-1
ii  imagemagick-6.q16 [imagemagick]8:6.9.9.39+dfsg-1
ii  libconfig-general-perl 2.63-1
ii  libdate-calc-perl  6.4-1
ii  libfilesys-df-perl 0.92-6+b3
ii  libgoo-canvas-perl 0.06-2+b4
ii  libgtk2-ex-simple-list-perl0.50-2
ii  libgtk2-imageview-perl 0.05-2+b4
ii  libhtml-parser-perl3.72-3+b2
ii  libimage-magick-perl   8:6.9.9.39+dfsg-1
ii  libimage-sane-perl 0.14-1+b1
ii  liblist-moreutils-perl 0.416-1+b3
ii  liblocale-gettext-perl 1.07-3+b3
ii  liblog-log4perl-perl   1.49-1
ii  libossp-uuid-perl [libdata-uuid-perl]  1.6.2-1.5+b6
ii  libpdf-api2-perl   2.033-1
ii  libproc-processtable-perl  0.55-1
ii  libreadonly-perl   2.050-1
ii  librsvg2-common2.40.20-2
ii  libset-intspan-perl1.19-1
ii  libtiff-tools  4.0.9-4
ii  libtry-tiny-perl   0.30-1
ii  sane-utils 1.0.26~git20151121-1

Versions of packages gscan2pdf recommends:
ii  djvulibre-bin  3.5.27.1-8
ii  gocr   0.49-2+b1
pn  libgtk2-ex-podviewer-perl  
ii  sane   1.0.14-12
ii  tesseract-ocr  4.00~git2219-40f43111-1.2
ii  unpaper6.1-2+b1
ii  xdg-utils  1.1.2-2

gscan2pdf suggests no packages.

-- debconf-show failed


-- 
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)