[tex-k] Dvipdfmx may be have a bug? Encrypted pdf does not use the specified owner password

沙漠之子 ymc1216 at gmail.com
Wed Apr 12 06:55:32 CEST 2017


I have been in this post, would like to verify whether the problem is set。
http://tex.stackexchange.com/questions/361897/xelatex-
engine-encryption-pdf-problem-dvipdfmx-whether-there-are-bugs

\special{pdf:encrypt ownerpw (abc) userpw (xyz) length 128 perm
2052}\documentclass{article}\begin{document}
This is a test.\end{document}

Tested:

   1.

   Win7 64bit + MiKTeX 2.9 32bit




*Did not use the owner password "abc" to encrypt the pdf, but the user
   password "xyz" by setting. I tried using the command line mode, but the
   problem remains the same。 *


*miktex-dvipdfmx.exe -S -P 0x0804 -K 128 encrypt.xdv *

   miktex-dvipdfmx.exe Version:

   This is xdvipdfmx Version 20160619 by the DVIPDFMx project team,
   modified for TeX Live and MiKTeX,
   an extended version of DVIPDFMx, which in turn was
   an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.

   Copyright (C) 2002-2016 the DVIPDFMx project team
   Copyright (C) 2006-2016 SIL International.

   This is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License,
or(at your option) any later version.

   2.

   macOS 10.12 + MacTeX-2016

   The problem is the same as above.

   dvipdfmx Version:

   This is dvipdfmx Version 20160307 by the DVIPDFMx project team,
   modified for TeX Live,
   an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.

   Copyright (C) 2002-2016 the DVIPDFMx project team
   Copyright (C) 2006-2016 SIL International.

   This is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License,
or(at your option) any later version.

   3.

   There is no problem with the cloud.sagemath.com platform.

   Compile command:

   latexmk -xelatex -f -g -bibtex -synctex=1 --enable-write18
-interaction=nonstopmode 'text.tex'

   dvipdfmx Version:

   This is dvipdfmx Version 20150315 by the DVIPDFMx project team,
   modified for TeX Live,
   an extended version of dvipdfm-0.13.2c developed by Mark A. Wicks.

   Copyright (C) 2002-2015 the DVIPDFMx project team
   Copyright (C) 2006 SIL International.

   This is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License,
or(at your option) any later version.

   4.

   There is no such problem with the www.sharelatex.com platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-k/attachments/20170412/cd0ab21c/attachment.html>


More information about the tex-k mailing list