Contacts: Retrieve user S/MIME certificate does not work

Bug #1943450 reported by Roger Meier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution-ews (Ubuntu)
Fix Released
Low
Unassigned
Focal
Fix Released
Low
Unassigned
Hirsute
Fix Released
Low
Unassigned

Bug Description

[Impact]

 * It's currently not possible to retrieve encryption certificates
   from Global Address List(GAL) when connecting to e.g., Office365

 * A manual import of encryption certificates is required to send
   encrypted emails.

 * The upstream bug has been fixed upstream and release for impish.

[Test Plan]

 * Configure an EWS account, e.g., using Office365

 * Search the Global Address List(GAL) and select a person that has
   an encryption certificate stored within the GAL.
   There is no certificate visible within Certificates tab.
   To send encrypted mails to that Person, the encryption certificate
   has to be manually imported via Preferences->Certificates->Contact Certificates.

 * With this bug fix the encryption certificate stored within the GAL will
   be visible within the contact details view and encrypted mails can be sent
   without manual import of encryption certificates.

[Where problems could occur]

 * The patch has been tested over two weeks during daily work using evolution-ews.

[Other Info]

upstream:

* issue: https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/3
* upstream fix is merged and will be available with 3.43.1+ and 3.42.1+.
  * https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/1284316bcc442f66c68aa65c226b5c9e3e774ec4
  * https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/9ea6bc01136e420078c2a0f4140108e79cf8d538
* back-porte to evolution-ews 3.36.5 https://bugs.launchpad.net/ubuntu/focal/+source/evolution-ews/+bug/1943450/+attachment/5524954/+files/0001-Contacts-Retrieve-user-S-MIME-certificate.patch

Revision history for this message
Roger Meier (bufferoverflow) wrote :
Revision history for this message
Roger Meier (bufferoverflow) wrote :

upstream fix is merged and will be available with 3.43.1+ and 3.42.1+.

- https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/1284316bcc442f66c68aa65c226b5c9e3e774ec4
- https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/9ea6bc01136e420078c2a0f4140108e79cf8d538

would be great to get the backport I made into Ubuntu LTS.

Jeremy Bícha (jbicha)
Changed in evolution-ews (Ubuntu):
status: New → Triaged
Changed in evolution-ews (Ubuntu Focal):
status: New → Triaged
importance: Undecided → Low
Changed in evolution-ews (Ubuntu Hirsute):
status: New → Triaged
importance: Undecided → Low
Changed in evolution-ews (Ubuntu):
importance: Undecided → Low
tags: added: focal hirsute impish patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-ews - 3.40.4-1ubuntu1

---------------
evolution-ews (3.40.4-1ubuntu1) impish; urgency=medium

  * Update metadata for ubuntu/impish git packaging branch
  * Retrieve S/MIME certificates (Closes: #994252) (LP: #1943450)

 -- Jeremy Bicha <email address hidden> Tue, 28 Sep 2021 20:05:34 -0400

Changed in evolution-ews (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Roger, please see https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

I did step 1. Could you do step 3 and be ready to help with verification of the -proposed update later?

If you want, you can try to do step 4 also.

This is the change I made when fixing this for impish:
http://launchpadlibrarian.net/560738201/evolution-ews_3.40.4-1_3.40.4-1ubuntu1.diff.gz

description: updated
Revision history for this message
Roger Meier (bufferoverflow) wrote :

Jeremy, I just updated the bug report with the details and attached a debdiff.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you!

Ubuntu policy is that this bug also needs to be fixed in later supported Ubuntu releases at the same time or before it is fixed in older Ubuntu releases. That means we need to fix this in Ubuntu 21.04 too. Do you have the ability to test whether the fix works on Ubuntu 21.04?

Revision history for this message
Roger Meier (bufferoverflow) wrote :

Thanks Jeremy! Yes, I will prepare a debdiff for Ubuntu 21.04 as well.

Revision history for this message
Roger Meier (bufferoverflow) wrote :

Jeremy, I just verified on Ubuntu 21-04 with the attached patch.

Revision history for this message
Brian Murray (brian-murray) wrote :

I sponsored this for hirsute after making some changes (using the release name (hirusute) and providing a reference to the bug) to the changelog file.

 $ dput evolution-ews_3.40.0-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /tmp/pkgs/hirsute/evolution-ews_3.40.0-1ubuntu1_source.changes: Valid signature from 1E918B66765B3E31
Checking signature on .dsc
gpg: /tmp/pkgs/hirsute/evolution-ews_3.40.0-1ubuntu1.dsc: Valid signature from 1E918B66765B3E31
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading evolution-ews_3.40.0-1ubuntu1.dsc: done.
  Uploading evolution-ews_3.40.0-1ubuntu1.debian.tar.xz: done.
  Uploading evolution-ews_3.40.0-1ubuntu1_source.buildinfo: done.
  Uploading evolution-ews_3.40.0-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Brian Murray (brian-murray) wrote :

I made the same changes to the focal debdiff and uploaded it too. Thanks for working on this!

 $ dput evolution-ews_3.36.5-0ubuntu1.1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /tmp/pkgs/focal/evolution-ews_3.36.5-0ubuntu1.1_source.changes: Valid signature from 1E918B66765B3E31
Checking signature on .dsc
gpg: /tmp/pkgs/focal/evolution-ews_3.36.5-0ubuntu1.1.dsc: Valid signature from 1E918B66765B3E31
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading evolution-ews_3.36.5-0ubuntu1.1.dsc: done.
  Uploading evolution-ews_3.36.5-0ubuntu1.1.debian.tar.xz: done.
  Uploading evolution-ews_3.36.5-0ubuntu1.1_source.buildinfo: done.
  Uploading evolution-ews_3.36.5-0ubuntu1.1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Roger, or anyone else affected,

Accepted evolution-ews into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/evolution-ews/3.40.0-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in evolution-ews (Ubuntu Hirsute):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in evolution-ews (Ubuntu Focal):
status: Triaged → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Roger, or anyone else affected,

Accepted evolution-ews into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/evolution-ews/3.36.5-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Roger Meier (bufferoverflow) wrote :

Thank you Brian!

I verified according to the test plan I made within the description of this bug report and can confirm the hirsute-proposed and focal-proposed packages do fix the bug.

tags: added: verification-done-focal verification-done-hirsute
removed: verification-needed-focal verification-needed-hirsute
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for evolution-ews has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-ews - 3.36.5-0ubuntu1.1

---------------
evolution-ews (3.36.5-0ubuntu1.1) focal; urgency=medium

  * Retrieve S/MIME certificates (LP: #1943450)

 -- Roger Meier <email address hidden> Sun, 03 Oct 2021 15:22:01 +0200

Changed in evolution-ews (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-ews - 3.40.0-1ubuntu1

---------------
evolution-ews (3.40.0-1ubuntu1) hirsute; urgency=medium

  * Retrieve S/MIME certificates (LP: #1943450)

 -- Roger Meier <email address hidden> Sun, 03 Oct 2021 23:08:55 +0200

Changed in evolution-ews (Ubuntu Hirsute):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.