Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Issue 1699163002: More SecurityContext calls accept a password. (Closed)

Created:
4 years, 10 months ago by zra
Modified:
4 years, 10 months ago
Reviewers:
Bill Hesse, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

More SecurityContext calls accept a password. Any PKCS12 container, not just those containing a private key, can be protected by a password. This change adds an optional named `password` parameter to other SecurityContext calls, and plumbs it through to the calls reading PKCS12 data. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/38786e95661df675ccc4aad28e8a5d8bb6515246

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : Added passwords to all p12 files. Added tests. #

Total comments: 2

Patch Set 6 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -145 lines) Patch
M CHANGELOG.md View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/secure_socket.cc View 1 2 3 17 chunks +53 lines, -58 lines 0 comments Download
M runtime/bin/secure_socket_patch.dart View 1 chunk +15 lines, -15 lines 0 comments Download
M sdk/lib/io/security_context.dart View 8 chunks +20 lines, -24 lines 0 comments Download
M tests/standalone/io/certificates/README View 1 2 3 4 2 chunks +37 lines, -1 line 0 comments Download
M tests/standalone/io/certificates/client1.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/certificates/client1_key.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/certificates/client_authority.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/certificates/server_chain.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/certificates/server_key.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/certificates/trusted_certs.p12 View 1 2 3 4 Binary file 0 comments Download
M tests/standalone/io/secure_server_client_certificate_test.dart View 1 2 3 4 2 chunks +41 lines, -27 lines 0 comments Download
M tests/standalone/io/secure_socket_test.dart View 1 2 3 4 3 chunks +17 lines, -14 lines 0 comments Download
M tests/standalone/io/security_context_argument_test.dart View 1 2 3 4 2 chunks +60 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
zra
4 years, 10 months ago (2016-02-16 17:29:37 UTC) #3
Bill Hesse
lgtm https://codereview.chromium.org/1699163002/diff/40001/tests/standalone/io/secure_server_client_certificate_test.dart File tests/standalone/io/secure_server_client_certificate_test.dart (right): https://codereview.chromium.org/1699163002/diff/40001/tests/standalone/io/secure_server_client_certificate_test.dart#newcode98 tests/standalone/io/secure_server_client_certificate_test.dart:98: required: true, sendCert: false, certType: 'p12', password: ''); ...
4 years, 10 months ago (2016-02-16 20:33:05 UTC) #4
zra
Thanks! https://codereview.chromium.org/1699163002/diff/40001/tests/standalone/io/secure_server_client_certificate_test.dart File tests/standalone/io/secure_server_client_certificate_test.dart (right): https://codereview.chromium.org/1699163002/diff/40001/tests/standalone/io/secure_server_client_certificate_test.dart#newcode98 tests/standalone/io/secure_server_client_certificate_test.dart:98: required: true, sendCert: false, certType: 'p12', password: ''); ...
4 years, 10 months ago (2016-02-17 18:42:44 UTC) #5
Bill Hesse
LGTM. https://codereview.chromium.org/1699163002/diff/80001/CHANGELOG.md File CHANGELOG.md (right): https://codereview.chromium.org/1699163002/diff/80001/CHANGELOG.md#newcode20 CHANGELOG.md:20: * All calls in `SecuirtyContext` that accept certificate ...
4 years, 10 months ago (2016-02-17 18:48:46 UTC) #6
zra
Committed patchset #6 (id:100001) manually as 38786e95661df675ccc4aad28e8a5d8bb6515246 (presubmit successful).
4 years, 10 months ago (2016-02-17 18:58:23 UTC) #8
zra
4 years, 10 months ago (2016-02-17 18:58:54 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/1699163002/diff/80001/CHANGELOG.md
File CHANGELOG.md (right):

https://codereview.chromium.org/1699163002/diff/80001/CHANGELOG.md#newcode20
CHANGELOG.md:20: * All calls in `SecuirtyContext` that accept certificate data
now accept an
On 2016/02/17 18:48:46, Bill Hesse wrote:
> Typo SecuirtyContext.

Done.

Powered by Google App Engine
This is Rietveld 408576698