<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Evince opens attached PDF file as locked"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88151">88151</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Evince opens attached PDF file as locked
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>s.j.turner@uqconnect.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=111902" name="attach_111902" title="PDF file">attachment 111902</a> <a href="attachment.cgi?id=111902&action=edit" title="PDF file">[details]</a></span>
PDF file

Originally reported on Ubuntu Vivid as
<a href="https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404645">https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404645</a> using poppler
0.28.1

Evince 3.14.1-0ubuntu1 (which uses poppler as it's renderer) prompts for a
password when opening the attached file.  Adobe Reader and Firefox 34's
built-in PDF viewer can open the file.

The file has been created by a professor and is about Java programming.

Renaming the file to script.pdf and attempting to convert the file with
ghostscript 9.10 via this command:

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c
.setpdfwrite -f script.pdf

gives this warning:

**** This file uses an unknown standard security handler revision: 6
Error: /undefined in pdf_check_password
<snip>
GPL Ghostscript 9.10: Unrecoverable error, exit code 1

Ghostscript 9.15 now supports the PDF security handler revision 6 - see
<a href="http://www.ghostscript.com/doc/9.15/News.htm">http://www.ghostscript.com/doc/9.15/News.htm</a>

Perhaps you can reuse the new ghostscript code?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>