Commit Graph

12246 Commits

Author SHA1 Message Date
Matthew Noorenberghe
601308df05 Bug 306730 - Do not include the token name in prompts for the internal key slot. r=keeler
MozReview-Commit-ID: 3TPZrTQxQC5

--HG--
extra : rebase_source : eacd92dfa3937f8f05f4de0617eb09099517a504
2017-09-12 14:42:19 -07:00
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Bob Owen
6b4635da55 Bug 1395952: Enhance telemetry for failed launch of Windows sandboxed process by process type/error code key. r=jimm, data-r=rweiss
Only one telemetry accumlation will occur for each key per session.
2017-09-12 07:53:52 +01:00
Wes Kocher
05c4aba599 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 2dRRh6JLTIL
2017-09-11 15:21:36 -07:00
Wes Kocher
e376f14721 Merge inbound to central, a=merge
MozReview-Commit-ID: GDeX9aPb7Fn
2017-09-11 14:41:45 -07:00
ffxbld
51eae08453 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-11 10:29:02 -07:00
ffxbld
e79c3e437e No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-11 10:28:58 -07:00
ffxbld
00fa5daced No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-09-10 10:14:51 -07:00
ffxbld
359e0d79b4 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-09-10 10:14:48 -07:00
ffxbld
70cfd6ceec No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-09-09 10:21:22 -07:00
ffxbld
5a1296fc1c No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-09-09 10:21:19 -07:00
Phil Ringnalda
2dba33e427 Backed out 3 changesets (bug 1245527) for ASan browser-chrome leaks and Android mochitest bustage
Backed out changeset 8ee1f7aebd62 (bug 1245527)
Backed out changeset e6a5de8d1246 (bug 1245527)
Backed out changeset be63e73426b4 (bug 1245527)

MozReview-Commit-ID: AU22LgPh9iB
2017-09-09 00:09:21 -07:00
J.C. Jones
9ade50e63c Bug 1245527 - Remove NSS U2F SoftToken. r=ttaubert, r=jed
The nsIU2FToken and its implementors are no longer needed; the soft token was
re-implemented into dom/webauthn/U2FSoftTokenManager.cpp during the WebAuthn
implementation. When the dom/u2f/ code changed to the implementation from
WebAuthn, the old synchronous version became dead code.

This patch removes the dead code.

MozReview-Commit-ID: 2yDD0tccgZr

--HG--
extra : transplant_source : %B3%96Te%E7%02%08%98%1A%B2%FA%1C%40%C4J%BC%B2%85j%81
2017-09-05 12:32:42 -07:00
J.C. Jones
50501cbead Bug 1245527 - Rewrite U2F.cpp to use U2FTokenManager. r=keeler, r=ttaubert
- This patch reworks the U2F module to asynchronously call U2FManager,
  which in turn handles constructing and managing the U2FTokenManager
  via IPC.
- Add U2FTransaction{Parent,Child} implementations to mirror similar ones for
  WebAuthn
- Rewrite all tests to compensate for U2F executing asynchronously now.
  - Used async tasks, used the manifest parameters for prefs and scheme,
    and generally made these cleaner.

NOTE TO REVIEWERS:
 Since this is huge, I recommend the following:

 keeler - please review U2F.cpp/h, the tests, and the security-prefs.js. Most
          of the U2F logic is still in U2F.cpp like before, but there's been
          some reworking of how it is called.

 ttaubert - please review U2FManager, the Transaction classes, build changes,
            and the changes to nsGlobalWindow. All of these should be very
            similar to the WebAuthn code it's patterned off.


MozReview-Commit-ID: C1ZN2ch66Rm

--HG--
extra : transplant_source : %EA%98%D2%87C%FD%CC%A5%3D%B5%9B%1C%DA%A5J%CD%05%94%13%0D
2017-09-05 12:32:42 -07:00
Honza Bambas
43860c7a61 Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: IHKzHwsJUiQ
2017-09-01 10:42:00 +02:00
ffxbld
d29c832536 No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-09-08 10:17:35 -07:00
ffxbld
df6782f918 No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-09-08 10:17:31 -07:00
Sebastian Hengst
5d9781d9f8 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6Nq2hl5g0a5
2017-09-07 23:50:27 +02:00
ffxbld
44c6939142 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-07 10:13:01 -07:00
ffxbld
e280855418 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-07 10:12:58 -07:00
David Keeler
a42d5a4889 bug 1397471 - nsNSSCertificateDB::GetCerts needs to wait until the loadable roots have been loaded r=Cykesiopka
This was missed in the original implementation of bug 1372656.

MozReview-Commit-ID: 8Sm26YlxZ7l

--HG--
extra : rebase_source : 6613fea8b292cc1645073539e110a53369c78886
2017-09-06 14:29:17 -07:00
Eric Rahm
0617c21c24 Bug 1393230 - Part 2: Fix more improper string usages. r=njn
This fixes improper usages of Find where an offset was actually being use for
the boolean ignore case flag. It also fixes a few instances of passing in a
literal wchar_t to our functions where a NS_LITERAL_STRING or char16_t should
be used instead.

--HG--
extra : rebase_source : 5de1e9335895d65e6db06c510e8887d27be3390f
extra : source : f762f605dd83fc6331161a33e1ef5d54cafbd08d
2017-08-31 15:52:30 -07:00
ffxbld
67f38de244 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-06 10:37:57 -07:00
ffxbld
ae7a4f2407 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-06 10:37:54 -07:00
David Keeler
5938a7bd62 bug 1393143 - remove a few unused attributes and methods on PKCS#11 interfaces r=Cykesiopka
MozReview-Commit-ID: FKO6G6ZKjAZ

--HG--
extra : rebase_source : 265ca140aa62ebf0694849d44d3d7574c0496309
2017-08-17 16:11:57 -07:00
Sebastian Hengst
4d2231acf0 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 23:58:08 +02:00
Sebastian Hengst
01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Sebastian Hengst
d1986f991d merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: H5cwbdymJQw
2017-09-05 23:53:59 +02:00
ffxbld
4d8e389498 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-05 10:36:00 -07:00
ffxbld
1fe438ee01 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-05 10:35:56 -07:00
Sebastian Hengst
a17af05f6f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
ffxbld
f2a1911ad3 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-04 10:22:51 -07:00
ffxbld
2c66811b63 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-04 10:22:48 -07:00
David Keeler
179d6cf432 bug 1396137 - update broken fips pkcs#11 module db handling code for when we use the sqlite-backed databses r=jcj
This handles the different error code returned by NSS and that the pkcs#11
module db has a different filename.

MozReview-Commit-ID: HJK4zsf6IS0

--HG--
extra : rebase_source : eec55c21861137d83b2f1cc5a9a654b9c47dc42f
2017-09-01 15:54:40 -07:00
ffxbld
999385a5e8 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-03 10:37:46 -07:00
ffxbld
58548e3fc5 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-03 10:37:42 -07:00
Franziskus Kiefer
c8e80e7425 Bug 1396463 - add ssl_sig_rsa_pkcs1_sha1md5 case to getSignatureName, r=bustage
MozReview-Commit-ID: 1SxJjt41NOj
2017-09-04 15:24:03 +02:00
Sebastian Hengst
a4afd66862 Backed out changeset 2b0d4df90489 (bug 1396137) for build bustage, at least on Android at security/manager/ssl/nsNSSComponent.cpp:1915: 'savedPRErrorCode1' was not declared in this scope etc. r=backout on a CLOSED TREE 2017-09-05 19:08:12 +02:00
David Keeler
a65554ff32 bug 1396137 - update broken fips pkcs#11 module db handling code for when we use the sqlite-backed databses r=jcj
This handles the different error code returned by NSS and that the pkcs#11
module db has a different filename.

MozReview-Commit-ID: HJK4zsf6IS0

--HG--
extra : rebase_source : ac73b91cc1c3336c493d448ee5a54a50cc74fab3
2017-09-01 15:54:40 -07:00
Alex Gaynor
f7ab109d5e Bug 1229829 - Part 2 - Use an alternate desktop on the local winstation for content processes; r=bobowen
MozReview-Commit-ID: ES52FwM5oFZ

--HG--
extra : rebase_source : 3893d3022f203eb0962f3bcc3490b35514285781
2017-08-16 09:55:19 -04:00
Alex Gaynor
dc31e19e84 Bug 1229829 - Part 1 - Apply chromium sandbox patches from upstream which improves alternate desktop support; r=bobowen
This is 0cb5dadc2b1f84fbbd9c6f75056e38d05a5b07d3 and
db4c64b63d6098294ed255e962700fd2d465575e in the chromium repository.

This allows a single process to create sandboxed children with alternate
desktops on both an alternate winstation and the local winstation.

MozReview-Commit-ID: 8sS7LjoveOk

--HG--
extra : rebase_source : 6915af73743f87ed74ddefe04210dbdd95bb56ed
2017-08-16 09:54:31 -04:00
Sebastian Hengst
45cb996f32 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 12:37:56 +02:00
Steve Armand
e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Jed Davis
d7992cb0de Bug 1383888 - Restrict sandboxed readlinkat() the same as readlink(). r=gcp
MozReview-Commit-ID: 3VLXp7AJePQ

--HG--
extra : rebase_source : f0116599e133d3f7cc079ecdbf0dfaee7168be2d
2017-07-27 17:22:23 -06:00
ffxbld
e377ab3c1a No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-02 10:25:38 -07:00
ffxbld
90e3618163 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-02 10:25:35 -07:00
Wes Kocher
5f157c17dc Merge inbound to central, a=merge
MozReview-Commit-ID: 3JxUEFuinHY
2017-09-01 16:29:10 -07:00
ffxbld
5aab2615c9 No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-09-01 10:19:33 -07:00
ffxbld
caa62fadaa No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-09-01 10:19:29 -07:00
Bob Owen
60cdfbd0a2 Bug 1392570: On Windows 7 don't attempt to use a job object for the sandbox when it will fail. r=jimm, data-r=rweiss
This patch also adds telemetry for when this occurs, breaking it down for local and remote sessions.
2017-09-01 14:05:49 +01:00