Package: signing-party
Version: 2.5-1
Severity: normal
File: /usr/bin/gpg-key2ps


gpg-key2ps produces output that crashes ps2pdf. here is a session log and the
generated postscript.

$ gpg-key2ps -1s 0BBE9CB4852739AA |ps2pdf - >key.pdf
Error: /undefined in --get--
Operand stack:
   1   ()   (1500769685)   (852739AA)   --dict:6/6(L)--   22
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1999   1   3   %oparray_pop
1998   1   3   %oparray_pop   1982   1   3   %oparray_pop   1868   1   3
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   2   1
9   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--
--nostringval--   --nostringval--
Dictionary stack:
   --dict:1209/1684(ro)(G)--   --dict:0/20(G)--   --dict:97/200(L)--
Current allocation mode is local
GPL Ghostscript 9.20: Unrecoverable error, exit code 1


%!PS-Adobe-3.0
%%BoundingBox: 0 0 595.276 841.89
%%Title:
%%Creator: gpg-key2ps 882
%%CreationDate: Sat Jul 22 20:02:46 2017
%%Pages: 1
%%EndComments

%%Page: 1 1

/w 595.276 def
/h 841.89 def

/reencode {
        exch findfont
        dup length dict
        begin {
                1 index /FID eq
                { pop pop }
                { def } ifelse
        } forall
        /Encoding ISOLatin1Encoding def
        currentdict
        end
        definefont
} bind def

/Times-Roman /trlatin1 reencode 9 scalefont setfont

/newline {
        /y y 10 sub def
} def

/hline {
        30 y 3 add moveto
        w 1 div 30 sub y 3 add lineto stroke
        newline
} def

/needhline {
        /condhline { hline } def
} def

/noneedhline {
        /condhline { } def
} def

/showAlgorithm {
  << 1 (R) 2 (r) 3 (s) 16 (g) 20 (G) 17 (D) >> exch get
  show
} def

/pub {
        condhline
        50 y moveto (pub) show
        70 y moveto show showAlgorithm (/) show show
        150 y moveto show
        200 y moveto show
        newline
        needhline
} def

/fpr {
        70 y moveto (Key fingerprint = ) show show
        newline
} def

/uid {
        50 y moveto (uid) show
        200 y moveto show
        newline
} def

/sbk {
        50 y moveto (sub) show
        70 y moveto show showAlgorithm (/) show show
        150 y moveto show
        newline
} def


/key {
        noneedhline
        () (1500769685) (852739AA) 22 (256) pub

        (E435 B618 4355 FC9E 5113  D956 0BBE 9CB4 8527 39AA) fpr

        (Ben Hildred <426...@gmail.com>) uid

        (1500769685) (CD555154) 18 (256) sbk

        (1500769908) (0AF551B3) 22 (256) sbk

} def

/numlines 6 def
/num w 16 sub 10 div numlines div def

/column {
        /y w 20 sub def
        1 1 num {
                gsave
                0 0 h 1 div w rectclip
                /upper y 11 add def
                key
                newline
                /lower y 11 add def
                0 upper h 1 div upper h 1 div lower 0 lower 0 upper moveto
lineto lineto lineto lineto stroke
                grestore
        } for
} def

w 0 translate
90 rotate
column
showpage

%%Trailer
%%EOF



-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-1-rt-686-pae (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages signing-party depends on:
ii  gnupg                      2.1.18-6
ii  libc6                      2.24-11+deb9u1
ii  libclass-methodmaker-perl  2.24-1+b2
ii  libgnupg-interface-perl    0.52-9
ii  libmailtools-perl          2.18-1
ii  libmd0                     0.0.0-2
ii  libmime-tools-perl         5.508-1
ii  libnet-idn-encode-perl     2.400-1
ii  libterm-readkey-perl       2.37-1
ii  libtext-template-perl      1.46-1
ii  perl                       5.24.1-3
ii  python                     2.7.13-2
ii  qprint                     1.1.dfsg.2-2+b1

Versions of packages signing-party recommends:
ii  dialog                               1.3-20160828-2
ii  libgd-perl [libgd-gd2-perl]          2.53-3
ii  libpaper-utils                       1.1.24+nmu5
ii  sendmail-bin [mail-transport-agent]  8.15.2-8
ii  whiptail                             0.52.19-1+b1

Versions of packages signing-party suggests:
ii  fonts-noto-cjk                   1:1.004+repack2-2
ii  fonts-noto-mono                  20161116-1
ii  imagemagick                      8:6.9.7.4+dfsg-11+deb9u1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-11+deb9u1
ii  mutt                             1.7.2-1
ii  qrencode                         3.4.4-1+b2
ii  texlive-font-utils               2016.20170123-5
ii  texlive-latex-extra              2016.20170123-5
ii  texlive-latex-recommended        2016.20170123-5
ii  texlive-xetex                    2016.20170123-5
ii  wipe                             0.24-2

Reply via email to