<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - OpenPGP signing issues"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118099">118099</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenPGP signing issues
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>anton-tsyganenko@yandex.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Today I opened a signed document and got an error message "This document has an
invalid signature". I have checked the backups from my encrypted backup disk,
and there is the same issue, but the signature was OK.

When I try to sign a document after I select a key the window just closes
instead of asking the password, the document remains unsigned. Same behavior in
Writer and Calc.

Steps to Reproduce:
1. Open a document with a valid OpenGPG signature

Actual Results:  
An invalid signature warning bar

Expected Results:
A valid signature info bar


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested on Arch Linux with libreoffice-fresh 6.0.4-2, gnupg 2.2.8-1


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/67.0.3396.79 Safari/537.36</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>