After automatically upgrading Xubuntu library libnss3 to version 2:3.21-0ubuntu0.15.10.1 some apps stop working

Bug #1547133 reported by Aleks on 2016-02-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nss (Ubuntu)

Bug Description

Upwork Team App uses libnss3 for transferring files via HTTPS and it starts getting unknown SSL error - something like being disconnected from the network. After downgrading back to 2:3.19.2-1ubuntu1 things work again.

Ronald Buckman (ronbu) wrote :

QtWebEngine 5.6.0 which uses nss for ssl connections is unable to connect to Google web sites when using this version of libnss3. This was tested with Qt Demo Browser using Qt Open Source. I request that nss 3.23 be tested for possible use.

Marc Deslauriers (mdeslaur) wrote :

This is a bug in QtWebEngine.

The file src/3rdparty/chromium/net/third_party/nss/patches/chacha20poly1305.patch contains the following:

+/* This is a bodge to allow this code to be compiled against older NSS
+ * headers. */
+#ifndef CKM_NSS_CHACHA20_POLY1305
+#define CKM_NSS_CHACHA20_POLY1305 (CKM_NSS + 26)

Unfortunately, CKM_NSS + 26 got used for something else in nss 3.21:

In nss 3.23, we now have:
#define CKM_NSS_CHACHA20_POLY1305 (CKM_NSS + 28)

This means QtWebEngine isn't using the right value.

To fix this, QtWebEngine needs to be patched to use the proper value of CKM_NSS + 28 in the following files:

Once that is done and QtWebEngine is rebuilt, I believe it will be compatible with nss 3.21 and 3.23.

I am closing this bug since the product using QtWebEngine is not in Ubuntu and there is no further action to be done.

Changed in nss (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers