Commit Graph
225580 Commits
Author SHA1 Message Date
aszlig 8fb49973ce firefox: Add patch to fix AES GCM IV bit size
Regression introduced by bce5268a21.

The bit size of the initialisation vector for AES GCM has been
introduced in NSS version 3.52 in the CK_GCM_PARMS struct via the
ulIvBits field.

Unfortunately, Firefox 68.8.0 and 76.0 do not set this field and thus it
gets initialised to zero, which in turn causes IV generation to fail.

I found out about this because WebRTC stopped working after updating to
NSS 3.52 and so I started bisecting.

Since there wasn't an obvious error in Firefox hinting towards NSS but
instead just the video stream ended up as a "null" stream, I didn't
suspect the NSS update to be the culprit at first. So I verified a few
times and then also started bisecting the actual commit in NSS that
caused the issue.

This turned out to be the problematic change:

https://phabricator.services.mozilla.com/D63241

> One notable change was caused by an inconsistancy between the spec and
> the released headers in PKCS#11 v2.40. CK_GCM_PARAMS had an extra
> field in the header that was not in the spec. OASIS considers the
> header file to be normative, so PKCS#11 v3.0 resolved the issue in
> favor of the header file definition.

Since the test I've used[1] was a bit flaky, I still didn't believe the
result of the bisect to be accurate, but after running the test several
times leading same results I dug through the above change line by line
to get more clues.

It fortunately didn't take that long to stumble upon the ulIvBits change
(which is actually documented in the NSS 3.52 release notes[4], but I
managed to blatantly ignore it for some reason) and started checking the
Firefox source tree for changes regarding that field.

Initialisation of that new field has been introduced[2] in preparation
for the 76 release, but subsequently got reverted[3] prior to the
release, because Firefox 76 is expected to be shipped with NSS 3.51,
which didn't have the ulIvBits field.

The patch I'm adding here is just a reintroduction of that change,
because we're using NSS 3.52. Not initialising that field will break
WebRTC and WebCrypto, which I think the former seems to gain in
popularity these days ;-)

Tested the change against the mentioned VM test[1] and also by testing
manually using Jitsi Meet and Nextcloud Talk.

[1]: https://github.com/aszlig/avonc/tree/884315838b6f0ebb32b/tests/talk
[2]: https://hg.mozilla.org/mozilla-central/rev/3ed30e6b6de1
[3]: https://hg.mozilla.org/mozilla-central/rev/665137da70ee
[4]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes

Signed-off-by: aszlig <aszlig@nix.build>
2020-05-13 02:23:12 +02:00
LassulusandGitHub 8c9e7a7c7e Merge pull request #86446 from gnidorah/cpu-x
cpu-x: init at 3.2.4
2020-05-13 00:56:06 +02:00
Maximilian Bosch ebeea7497e clipman: 1.5.1 -> 1.5.2
https://github.com/yory8/clipman/releases/tag/v1.5.2
2020-05-13 00:51:32 +02:00
LassulusandGitHub d630d0e21b Merge pull request #86671 from bachp/libaria2
aria2: add libaria2 support
2020-05-13 00:20:00 +02:00
Jörg ThalheimandGitHub 81f5a8ada3 Merge pull request #87559 from r-ryantm/auto-update/tilda 2020-05-12 22:30:53 +01:00
LassulusandGitHub 83b618a11b Merge pull request #87282 from symphorien/krop-desktop-file
krop: install desktop file
2020-05-12 23:30:28 +02:00
Jörg ThalheimandGitHub 2ccd344472 Merge pull request #87699 from yimmt/spelling-mistake 2020-05-12 22:28:58 +01:00
Jörg ThalheimandGitHub 67c6a2ebaf Merge pull request #87696 from shuhaowu/update-kind-081
Updated kind from 0.7 -> 0.8.1
2020-05-12 22:27:55 +01:00
Jörg ThalheimandGitHub 4569da4f3e Merge pull request #87647 from danieldk/makemkv-1.15.1 2020-05-12 22:19:16 +01:00
LassulusandGitHub 1a74d41c0e Merge pull request #83326 from helsinki-systems/upd/uefitool
uefitool: update
2020-05-12 23:10:05 +02:00
sternenseemannandVincent Laporte e12b9622dc ocamlPackages.tls: 0.11.1 -> 0.12.0 2020-05-12 22:34:30 +02:00
sternenseemannandVincent Laporte b67a5e424f ocamlPackages.hkdf: init at 1.0.4 2020-05-12 22:34:30 +02:00
sternenseemannandVincent Laporte 435fd99ab6 ocamlPackages.fiat-p256: init at 0.2.1 2020-05-12 22:34:30 +02:00
sternenseemannandVincent Laporte bd30d8fca7 ocamlPackages.hacl_x25519: init at 0.1.1 2020-05-12 22:34:30 +02:00
Jonathan RingerandJon 59c9713715 python3Packages.dotnetcore2: 2.1.13 -> 2.1.14 2020-05-12 13:12:14 -07:00
Vladyslav MandGitHub 409639671d Merge pull request #87622 from lilyball/bat 2020-05-12 23:11:23 +03:00
Timmy Xiao fd13ca9f84 pam: fix spelling mistake in configuration 2020-05-12 15:56:37 -04:00
Shuhao Wu e7bbcb3cb6 Updated kind from 0.7 -> 0.8.1
Also use buildGoModule instead of buildGoPackages
2020-05-12 19:41:48 +00:00
R. RyanTMandJon d623b3cb07 python27Packages.phonenumbers: 8.12.0 -> 8.12.2 2020-05-12 11:52:50 -07:00
R. RyanTMandJon 1d4540cc32 python27Packages.parse: 1.12.1 -> 1.15.0 2020-05-12 11:50:48 -07:00
R. RyanTMandJon 465528b10c python27Packages.dict2xml: 1.6.1 -> 1.7.0 2020-05-12 11:48:42 -07:00
R. RyanTMandJon a5a7161a96 python37Packages.asdf: 2.5.2 -> 2.6.0 2020-05-12 11:47:48 -07:00
R. RyanTMandJon ee1b7038c0 python27Packages.pymediainfo: 4.1 -> 4.2.1 2020-05-12 11:47:39 -07:00
R. RyanTMandJon 96013c4b0b python27Packages.msal: 1.1.0 -> 1.2.0 2020-05-12 11:47:26 -07:00
R. RyanTMandJon 68b5304506 python27Packages.pysolr: 3.8.1 -> 3.9.0 2020-05-12 11:46:56 -07:00
R. RyanTMandJon 28e8f5a94a python27Packages.elasticsearch: 7.1.0 -> 7.6.0 2020-05-12 11:45:52 -07:00
R. RyanTMandJon 412368d328 python37Packages.pydocstyle: 4.0.1 -> 5.0.2 2020-05-12 11:45:26 -07:00
R. RyanTMandJon 87c7a17711 python27Packages.foolscap: 0.13.2 -> 20.4.0 2020-05-12 11:41:42 -07:00
R. RyanTMandJon 49f7466dbf python37Packages.bidict: 0.18.3 -> 0.19.0 2020-05-12 11:40:16 -07:00
Jörg ThalheimandGitHub d6e330cf7c Merge pull request #87474 from vbgl/ocaml-mdx-1.6.0 2020-05-12 19:36:58 +01:00
R. RyanTMandJon ce09af5291 python37Packages.azure-core: 1.4.0 -> 1.5.0 2020-05-12 11:35:20 -07:00
Drew RisingerandJon 25f5b20335 python3Packages.qiskit: 0.18.2 -> 0.19.1 2020-05-12 11:32:40 -07:00
Drew RisingerandJon 2bb34b82a5 python3Packages.qiskit-aqua: 0.6.6 -> 0.7.0 2020-05-12 11:32:40 -07:00
Drew RisingerandJon 3a288681c3 python3Packages.qiskit-ibmq-provider: 0.6.1 -> 0.7.0 2020-05-12 11:32:40 -07:00
Drew RisingerandJon 512e77a30f python3Packages.qiskit-ignis: fixup 2020-05-12 11:32:40 -07:00
Drew RisingerandJon d1adc1e55a python3Packages.qiskit-aer: 0.5.0 -> 0.5.1 2020-05-12 11:32:40 -07:00
Drew RisingerandJon 387b751d0a python3Packages.qiskit-terra: 0.13.0 -> 0.14.1 2020-05-12 11:32:40 -07:00
Drew RisingerandJon 74af87d50f pythonPackages.pylatexenc: 2.2 -> 2.4 2020-05-12 11:32:40 -07:00
JonandGitHub 07e46cb84c Merge pull request #87343 from r-ryantm/auto-update/python2.7-h2
python27Packages.h2: 3.1.1 -> 3.2.0
2020-05-12 11:26:09 -07:00
Jörg ThalheimandGitHub ce44cc2d35 Merge pull request #87539 from Lassulus/nixos-generators
nixos-generators: 1.0.0 -> 1.1.0
2020-05-12 19:24:25 +01:00
R. RyanTMandJon 5cc7482318 python27Packages.itypes: 1.1.0 -> 1.2.0 2020-05-12 11:12:37 -07:00
Jonathan RingerandJon 57ba772b68 python3Packages.mail-parser: remove version bounds on requirements.txt 2020-05-12 11:10:45 -07:00
R. RyanTMandJon 903f0560af python27Packages.mail-parser: 3.9.3 -> 3.12.0 2020-05-12 11:10:45 -07:00
R. RyanTMandJon 92cfb8f465 python37Packages.pyhcl: 0.4.2 -> 0.4.4 2020-05-12 11:09:56 -07:00
R. RyanTMandJon 6cb3eb9458 python37Packages.pikepdf: 1.11.0 -> 1.11.2 2020-05-12 11:04:34 -07:00
R. RyanTMandJon 5d6b3241d7 python27Packages.pgspecial: 1.11.9 -> 1.11.10 2020-05-12 11:01:39 -07:00
R. RyanTMandJon 59b71245e6 python27Packages.pysmbc: 1.0.19 -> 1.0.21 2020-05-12 11:01:25 -07:00
R. RyanTMandJon b6f3997a2c python27Packages.m3u8: 0.5.4 -> 0.6.0 2020-05-12 10:59:23 -07:00
Jonathan RingerandJon e240c5d881 apache-airflow: Export PYTHONPATH in wrapper for gunicorn processes 2020-05-12 10:36:11 -07:00
Robert Helgesson fe5479f301 home-manager: remove myself from the maintainers list 2020-05-12 19:22:22 +02:00