[pdftex] [bug] \pdfmdfivesum returning wrong value

Stephan Hennig mailing_list at arcor.de
Sun Jun 10 20:28:20 CEST 2007


Hi,

the value returned by

\pdfmdfivesum{plain.tex}
\bye

is

75A63AD4F2BDE3BCCE62E19E4A77AB15

which is significantly different from

> $ gpg --print-md md5 `kpsewhich plain.tex`
> texmf/tex/plain/base/plain.tex: 41 C2 6C 4F 5E FA 32 DF  39 78 59 08 0C 65 7E D9

for these version of pdftex and gpg:

> $ pdftex --version
> MiKTeX-pdfTeX 2.6.2693 (1.40.3) (MiKTeX 2.6)
> Copyright (C) 1982 D. E. Knuth, (C) 1996-2006 Han The Thanh
> TeX is a trademark of the American Mathematical Society.
>
> $ gpg --version
> gpg (GnuPG) 1.4.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> This program comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to redistribute it
> under certain conditions. See the file COPYING for details.

Should I report this to gnupg-devel?

Best regards,
Stephan Hennig

Out of curiosity, what applications did you have in mind when
introducing file handling primitives, such as \pdfmdfivesum or \pdffilesize?



More information about the pdftex mailing list