Граф коммитов

4957 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 976d5437f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6A96Fe0GPjw
2017-06-19 17:37:53 -07:00
ffxbld 2bcd258281 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-06-19 08:39:22 -07:00
ffxbld 604ae6476d No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-06-19 08:39:19 -07:00
Kate McKinley 396962011a Bug 1363546 - Store and report HSTS upgrade source r=francois,keeler,mayhemer p=francois
Add a field to the HSTS cache which indicates the source of the HSTS
entry if known, from the preload list, organically seen header, or HSTS
priming, or unknown otherwise. Also adds telemetry to collect the source
when upgrading in NS_ShouldSecureUpgrade.

MozReview-Commit-ID: 3IwyYe3Cn73

--HG--
extra : rebase_source : 9b8daac3aa02bd7a1b4285fb1e5731a817a76b7f
2017-05-23 15:31:37 -07:00
David Keeler a196a1c7c3 bug 1291886 - clarify/fix locking in nsNSSComponent r=Cykesiopka,jcj
Some of the locking in nsNSSComponent was inconsistent and/or just wrong. This
clarifies what is protected by the lock and makes sure it is consistently
acquired when those resources are accessed.
This should also address potential deadlocks when other code would attempt to
acquire nsNSSComponent resources during shutdown.
This patch also removes some items in nsNSSComponent that are no longer
relevant.

MozReview-Commit-ID: 9iA5lfAixpj

--HG--
extra : rebase_source : 1c05788efe5d6345256cca505b089198bd7e4a20
2017-06-08 14:49:13 -07:00
ffxbld 7cc377ce3f No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-06-18 08:24:54 -07:00
ffxbld a6c7ba400c No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-06-18 08:24:51 -07:00
ffxbld b95a1a9583 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-06-17 08:38:30 -07:00
ffxbld 091d02c281 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-06-17 08:38:27 -07:00
ffxbld b2d072aa58 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-06-16 08:37:44 -07:00
ffxbld 870c286510 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-06-16 08:37:41 -07:00
David Keeler 0b2a439e7e bug 1373068 - fix the ctypes declaration of SSL_ClearSessionCache in head_psm.js r=Cykesiopka
SSL_ClearSessionCache is `void SSL_ClearSessionCache()`. In head_psm.js it was
being declared as `SECStatus SSL_ClearSessionCache()` and the "return value" was
being checked, which was incorrect. This apparently wasn't causing failures on
any of our test runs, but with tsan enabled the check would fail.

MozReview-Commit-ID: 6KosOVPu8K4

--HG--
extra : rebase_source : 73addb80a5ab5263a182207a0f4277daf8ae32a5
2017-06-14 15:10:28 -07:00
Andrew Halberstadt c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
ffxbld c365df1999 No bug, Automated HPKP preload list update from host bld-linux64-spot-382 - a=hpkp-update 2017-06-15 08:38:35 -07:00
ffxbld fc60e8619a No bug, Automated HSTS preload list update from host bld-linux64-spot-382 - a=hsts-update 2017-06-15 08:38:32 -07:00
ffxbld c49a70b53f No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-14 08:33:27 -07:00
ffxbld b98ce20b57 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-14 08:33:24 -07:00
ffxbld 13bca384b3 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-06-13 08:37:54 -07:00
ffxbld cdd7ceaa16 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-06-13 08:37:50 -07:00
ffxbld 687bfe6a46 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-06-12 08:25:15 -07:00
ffxbld 1d51d00cbc No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-06-12 08:25:12 -07:00
ffxbld d840ebd585 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-06-11 08:31:38 -07:00
ffxbld 19a63c3db3 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-06-11 08:31:35 -07:00
ffxbld fee636af73 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-06-10 08:28:28 -07:00
ffxbld 494c299b4c No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-06-10 08:28:25 -07:00
ffxbld cb712cd137 No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-06-09 08:28:37 -07:00
ffxbld 005b20e0a4 No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-06-09 08:28:34 -07:00
Wes Kocher 1be06aea28 Merge m-c to autoland, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: ItWcUAUYyaj

--HG--
extra : amend_source : fc43f23f0e12d5f88d72be9526a953d8015e6975
2017-06-08 18:44:32 -07:00
ffxbld 9b5314f2d1 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-08 09:27:12 -07:00
ffxbld ecdb9dfade No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-08 09:27:09 -07:00
David Keeler e426fddb4a bug 1369911 - gather telemetry on the prevalence of 3rd party PKCS#11 modules r=bsmedberg,Cykesiopka data-review=bsmedberg
MozReview-Commit-ID: Dw99Jm64QNU

--HG--
extra : rebase_source : 9e9f6c5342f992c9040e85b0eab129d7751e9887
2017-06-02 16:44:06 -07:00
Ryan VanderMeulen e886d1846a Merge inbound to m-c. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE

--HG--
extra : amend_source : a7800e9214d5a8325af0d1f5e5dcc77273f4ce95
2017-06-07 22:52:40 -04:00
ffxbld 086a61dfbf No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-06-07 08:36:43 -07:00
ffxbld 9286331337 No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-06-07 08:36:40 -07:00
ffxbld cd09b99007 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-06 08:39:25 -07:00
ffxbld 12a027af8e No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-06 08:39:22 -07:00
Franziskus Kiefer 9a70331f36 Bug 1345368 - Disable test_broken_fips on all platforms other than mac, r=keeler
--HG--
extra : rebase_source : 67201c5646f3d1c8abe5122051cddaee148c418a
2017-06-07 09:16:45 +02:00
ffxbld 61528d699c No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-06-05 08:39:51 -07:00
ffxbld b6a127253e No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-06-05 08:39:48 -07:00
Cykesiopka ab8411f21d Bug 1368107 - Make SSLErrorMessageType an enum class. r=keeler
Enum classes are safer and nicer.

MozReview-Commit-ID: FDT3Gb1t9w1

--HG--
extra : rebase_source : 92d67db5f7ea4a64e3101b0e3a93e9fccbfa132e
2017-06-03 13:36:41 +08:00
Cykesiopka 0ac2ac7fa3 Bug 1368107 - Make some TransportSecurityInfo nsresult functions return void. r=keeler
These functions in practice are all infallible and are unchecked by callers, so
there's no point in having them return nsresult.

MozReview-Commit-ID: BOypKLUZZBi

--HG--
extra : rebase_source : 95c8e9ca6d74d04f2836aea2bcdb1c751d3e9308
2017-06-03 13:36:16 +08:00
Cykesiopka 875885fbf4 Bug 1368107 - Remove fallible version of TransportSecurityInfo::GetPort(). r=keeler
The function is infallible in pratice, and so is unnecessary when there's an
actual infallible version.

MozReview-Commit-ID: FTuVyqwjZ8O

--HG--
extra : rebase_source : 88f511d730bb02b5e28a86cb366ae1c915e0a8b1
2017-06-03 13:36:04 +08:00
Cykesiopka 0adca03a5d Bug 1368107 - Remove TransportSecurityInfo::GetHostNameRaw(). r=keeler
GetHostNameRaw() returns a char* string, which is less safe and ergonomic
compared to the Mozilla string classes. GetHostName() can be used instead.

MozReview-Commit-ID: GYvTnISNN35

--HG--
extra : rebase_source : da257f5fba2c26cd92d932c3d1d363458b84a65b
2017-06-03 13:35:51 +08:00
ffxbld 507743376d No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-06-04 08:18:02 -07:00
ffxbld a38378d203 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-06-04 08:17:59 -07:00
ffxbld a13364b7c5 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-03 08:34:04 -07:00
ffxbld ba2cb002c0 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-03 08:34:01 -07:00
ffxbld 7b88c78694 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-06-02 08:23:24 -07:00
ffxbld be07550ffc No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-06-02 08:23:21 -07:00
ffxbld 5c64ad5e40 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-01 08:22:16 -07:00