Page MenuHome GnuPG

GpgOL: Multiple issues with encrypted drafts with long name attachments
Open, LowPublic

Description

related to: https://dev.gnupg.org/T7722

Saving encrypted mails with attachments that have long names has several issues.

Given a freshly encrypted draft with three attachments for each issue:

  • test.pdf
  • long.name.with.dot.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.12.odt
  • long-name-without-dot-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789.odt

Issue of renaming

  1. Create Draft with attachments described above
  2. Preview Draft
  3. Select another Draft
  4. Select Draft again => Attachments with long names are renamed to attachment.odt (also happens on open/close/open)

gpgol.log

Issue of deletion
Currently not reproducible reliable, but sometimes on deletion of a "attachment.odt" outlook tells me, that the attachment is part of the encrypted message and cannot be deleted (deletion happens though):

Issue of sending

  1. Create Draft with attachments described above
  2. Open Draft in it's own window (long names still displayed)
  3. Add a recipient/subject and send => Error: attachment "attachment.odt" is an outlook item (see details in image)

gpgol.log

Also happens on a second draft save:

  1. Create Draft with attachments described above
  2. Save
  3. Add To, Subject, Body
  4. Save => Error: attachment "long.name[...]" is an outlook item (see details in image)

gpgol.log

Issue of unsaved changes on closing Outlook

To reproduce:

  1. Create Draft with attachments described above
  2. Preview Draft
  3. Select another Draft
  4. Select Draft again => Attachments with long names are renamed to attachment.odt
  5. Select another Draft again
  6. Close Outlook => "Want to save your changes?" (Note: Cancel also closes Outlook)

gpgol.log

Details

Version
vsd-3.3.90.16-beta

Event Timeline

ebo moved this task from Backlog to Triage on the gpgol board.