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

11335 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 41e6060a92 Bug 1344829 - add BUG_COMPONENT to security/* files. r=keeler
MozReview-Commit-ID: AS6e14FOqsb
2017-03-09 05:33:30 -05:00
Cykesiopka c44c40b272 Bug 1344442 - Part 4: Misc cleanups. r=keeler
MozReview-Commit-ID: KRQGF3mUxEb

--HG--
extra : rebase_source : 8dcca6b5cee0d22d5af79a864bb3b881665da3b0
2017-03-08 20:54:02 +08:00
Cykesiopka eac955eb32 Bug 1344442 - Part 3: Use smart pointers. r=keeler
MozReview-Commit-ID: 58BwdPYdjM5

--HG--
extra : rebase_source : 38d0b1af05cbc8991b5ed777bdafa9a8540a9cb1
2017-03-08 20:53:50 +08:00
Cykesiopka 2681aed2c3 Bug 1344442 - Part 2: Improve test coverage of nsICryptoHash and nsICryptoHMAC implementations. r=keeler
The equivalent base 64 digests for the existing test cases were obtained using:
> python2
> import binascii
> binascii.b2a_base64(binascii.unhexlify(<input hex>))

The large input hash digest was obtained like so:
> python2
> import hashlib
> hashlib.md5(" " * 4100).hexdigest()

The large input HMAC digest was obtained like so:
> python2
> import hashlib
> import hmac
> hmac.new("test", " " * 4100, hashlib.md5).hexdigest()

MozReview-Commit-ID: K0BxZdNemu6

--HG--
extra : rebase_source : e8fc9cb9c6b1d70c9162c6ed9fd49e6945dc57f4
2017-03-08 20:47:22 +08:00
Cykesiopka 8b9461cac0 Bug 1344442 - Part 1: Remove MD2 support from nsICryptoHMAC. r=keeler
There are several reasons for doing this:
1. Nothing appears to be using MD2 with nsICryptoHMAC.
2. There don't seem to be any test vectors available.
3. Bug 160161 suggests the MD2 case doesn't work anyways.

MozReview-Commit-ID: CW1PX7z09kB

--HG--
extra : rebase_source : de8b7e6f3fe03f5cd9d687fa7d410a2ca041b68e
2017-03-08 20:44:52 +08:00
Cykesiopka 6b0596a14c Bug 1344441 - Move various Necko IDLs that really ought to be PSM IDLs. r=keeler,mcmanus
These IDLs conceptually are PSM APIs, and are implemented in PSM as well.

nsICryptoFIPSInfo.idl is similar but is removed instead because:
1. It's unused even by addons.
2. The only thing it provides is also available through nsIPKCS11ModuleDB.idl.

MozReview-Commit-ID: K8R0wDAhjLq

--HG--
rename : netwerk/base/nsICryptoHMAC.idl => security/manager/ssl/nsICryptoHMAC.idl
rename : netwerk/base/nsICryptoHash.idl => security/manager/ssl/nsICryptoHash.idl
rename : netwerk/base/nsINSSErrorsService.idl => security/manager/ssl/nsINSSErrorsService.idl
extra : rebase_source : 3eca83901e14cea714d402046303790d283cff74
2017-03-05 18:30:31 +08:00
Carsten "Tomcat" Book 78ac0ceba9 merge mozilla-inbound to mozilla-central a=merge 2017-03-08 16:59:42 +01:00
ffxbld db9f30ffce No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-03-08 07:37:49 -08:00
ffxbld 87294b1e74 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-03-08 07:37:46 -08:00
Wes Kocher dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Sam Foster 589c1b5503 Bug 1344308 - Extend toolkit's eslint rules and fix lint errors in PSM r=jaws
* Remove eslint rules for PSM which are redundant with toolkit/.eslintrc.js
* Fix missing plugins block in mochitest.eslintrc.js
* Disable brace-style checking in mixed-content mochitests which use boilerplate where calls to runTest and afterNavigationTest all use opening brace on newline. I've left this for a follow-up.
* Fix lint errors resulting from new rules defined by toolkit's eslintrc.js

MozReview-Commit-ID: EepCLrzAsdM

--HG--
extra : rebase_source : e74e008403d9cd70703d60cf829af01dbede0353
2017-03-07 10:15:49 -08:00
Carsten "Tomcat" Book e119b5436c Merge mozilla-central to mozilla-inbound 2017-03-07 17:14:39 +01:00
ffxbld b208913028 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-03-07 07:29:46 -08:00
ffxbld 4fa257851d No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-03-07 07:29:43 -08:00
Florian Quèze 37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Franziskus Kiefer aa22632bd1 Bug 1345368 - land NSS 6fafb8fd9ff4, r=me
--HG--
extra : rebase_source : 947524eb4e61414a5809df3453946b32882fdf17
2017-03-08 08:40:46 +01:00
Cykesiopka 0aa3a82f68 Bug 1310127 - Part 10: Handle netwerk/protocol/http MOZ_MUST_USE functions in PSM. r=wcpan
The only unhandled call updates nsHTTPListener::mHttpResponseContentType, but
nothing actually uses the value of mHttpResponseContentType.

MozReview-Commit-ID: FQXESvoO2ZN

--HG--
extra : rebase_source : 547158311de136054acff2539ea6a8bdbfb8227b
2016-12-28 16:25:22 +08:00
David Major ed0b8f8653 Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
These are now dead code.

MozReview-Commit-ID: AClU0Qx3kmN

--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
ffxbld 86d9d13c29 No bug, Automated HPKP preload list update from host bld-linux64-spot-393 - a=hpkp-update 2017-03-06 07:21:45 -08:00
ffxbld 31efc98388 No bug, Automated HSTS preload list update from host bld-linux64-spot-393 - a=hsts-update 2017-03-06 07:21:43 -08:00
Carsten "Tomcat" Book cec6c3f714 merge autoland to mozilla-central a=merge 2017-03-06 10:51:51 +01:00
ffxbld e844f7b79d No bug, Automated HPKP preload list update from host bld-linux64-spot-032 - a=hpkp-update 2017-03-05 08:00:14 -08:00
ffxbld 330b3dec22 No bug, Automated HSTS preload list update from host bld-linux64-spot-032 - a=hsts-update 2017-03-05 08:00:12 -08:00
ffxbld 8dcf6f318c No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-03-04 07:58:31 -08:00
ffxbld e9085b277f No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-03-04 07:58:28 -08:00
Carsten "Tomcat" Book 06813a3df9 Merge mozilla-central to mozilla-inbound 2017-03-03 13:06:37 +01:00
Wes Kocher 901a8c09c1 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AZeTEvGhLd1
2017-03-02 15:03:44 -08:00
ffxbld 546a05fec0 No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-03-02 07:42:44 -08:00
ffxbld 52a438e1a4 No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-03-02 07:42:42 -08:00
Masatoshi Kimura 5716d510ff Bug 1279479 - Remove DHE cipher suites from TLS 1.3 ClientHello. r=keeler,mt
Hiding cipher suites behind fallback to measure the impact of DHE removal. This patch itself will not improve security because MITM can trigger the fallback.

Unlike the previous attempt, this patch will not affect WebRTC because it does not touch default cipher prefs.

MozReview-Commit-ID: 82paUEuPu99

--HG--
extra : rebase_source : dd08b00ca0d618d0e2ac9c79ae8f32610e724dbd
2017-03-01 20:57:08 +09:00
Franziskus Kiefer d19d7643c7 Bug 1334127 - land NSS dec8c06d7ed9, r=me
--HG--
extra : rebase_source : 02a6633fa7c02bd65c76cb1aad8c3875aca305ea
2017-03-03 11:44:57 +01:00
Andrea Marchesini 24004054a8 Bug 1334975 - Get rid of nsIFilePicker.show() use in gecko, r=ochameau 2017-03-03 09:42:27 +01:00
Wes Kocher 9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Wes Kocher 3cbb52bd7d Merge inbound to central, a=merge
MozReview-Commit-ID: 7vInHaD1geB
2017-03-01 17:18:37 -08:00
ffxbld 5fd3e1e3aa No bug, Automated HPKP preload list update from host bld-linux64-spot-039 - a=hpkp-update 2017-03-01 07:47:15 -08:00
ffxbld c5c4be92d2 No bug, Automated HSTS preload list update from host bld-linux64-spot-039 - a=hsts-update 2017-03-01 07:47:12 -08:00
Wes Kocher 3f87d6f0d5 Merge m-c to autoland, a=merge b557bdc314e7
MozReview-Commit-ID: HDM5eTkVNDa
2017-03-01 16:27:28 -08:00
Franziskus Kiefer 0c87943561 Bug 1334127 - land NSS 6511e19a2c6c, r=me
--HG--
extra : rebase_source : 966e28d8676669276d9fd01d47315c5cafa4ee24
2017-02-28 13:52:02 +01:00
Carsten "Tomcat" Book 24bb9f3ffe Merge mozilla-central to mozilla-inbound 2017-02-28 13:03:04 +01:00
Wes Kocher 1b29a33fce Merge m-c to autoland, a=merge
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Haik Aftandilian 8f8a9f5255 Bug 1344106 - Remove Linux todos() now that Linux sandboxing is riding the trains. r=haik
MozReview-Commit-ID: 9tI2S6fEYkD

--HG--
extra : rebase_source : 0a5d00f8498861e7ea281e527b2be6b2c4e472d6
2017-03-03 09:50:29 +01:00
Bob Owen d30aee57bf Bug 1339729: Remove wow_helper from Windows process sandboxing. r=glandium 2017-03-01 10:41:07 +00:00
Honza Bambas 654b5c9af9 Bug 1320458 - Make logging by sandboxed child processes to a file work on Windows, r=aklotz
MozReview-Commit-ID: 7eiW3Lo6q8Z
2017-03-06 17:42:31 +01:00
David Parks 672079f03f Bug 1329328 - Permit sandboxed processes to access Flash temporary files. r=bobowen
Allows the creation/use of temp files when the user has already green-lit
the use of a file for write purposes in that folder.
2017-02-27 14:15:52 -08:00
Wes Kocher 1e95bd721f Merge inbound to central, a=merge
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
ffxbld 4039fb4c58 No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-02-27 07:28:02 -08:00
ffxbld c8f79e9d17 No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-02-27 07:28:00 -08:00
Benjamin Bouvier bcd3dcc6b3 Bug 1342385: Allow mremap on linux32 for wasm; r=jld
MozReview-Commit-ID: 82f8ryvd57S

--HG--
extra : rebase_source : 0e74611052853f149eb0fefe8fef849a8f8978b0
extra : amend_source : ff91bb31d45ca4783da391e519f10e3613f0f890
2017-02-24 13:18:57 +01:00