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

Issue 16638016: Implement ChannelIDVerifier using NSS. (Closed)

Created:
7 years, 6 months ago by wtc
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Implement ChannelIDVerifier using NSS. Add known answer tests for ChannelIDVerifier. This requires adding a ChannelIDVerifier::VerifyRaw method that can verify a standard signature (as opposed to a ChannelID signature) because I only have test vectors for standard ECDSA signatures. Disable the QuicCryptoServerStreamTest.ChannelID test. R=agl@chromium.org,rtenneti@chromium.org BUG=none TEST=net_unittests --gtest_filter=ChannelIDTest.VerifyKnownAnswers Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206486

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make the change agl suggested. List the VerifyKnownAnswerTest first. #

Patch Set 3 : Add more P-256 OID info to a comment. #

Patch Set 4 : Fix a typo in a comment. #

Patch Set 5 : Disable QuicCryptoServerStreamTest.ChannelID. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -12 lines) Patch
M net/quic/crypto/channel_id.h View 1 chunk +9 lines, -0 lines 0 comments Download
M net/quic/crypto/channel_id_nss.cc View 1 2 1 chunk +66 lines, -3 lines 0 comments Download
M net/quic/crypto/channel_id_openssl.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download
M net/quic/crypto/channel_id_test.cc View 1 2 3 1 chunk +255 lines, -0 lines 0 comments Download
M net/quic/quic_crypto_server_stream_test.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 4 comments Download

Messages

Total messages: 13 (0 generated)
wtc
7 years, 6 months ago (2013-06-11 23:36:50 UTC) #1
agl
lgtm https://codereview.chromium.org/16638016/diff/1/net/quic/crypto/channel_id_nss.cc File net/quic/crypto/channel_id_nss.cc (right): https://codereview.chromium.org/16638016/diff/1/net/quic/crypto/channel_id_nss.cc#newcode81 net/quic/crypto/channel_id_nss.cc:81: SECStatus rv = PK11_Verify(&public_key, &signature_item, &hash_item, NULL); nit: ...
7 years, 6 months ago (2013-06-12 15:29:57 UTC) #2
wtc
https://codereview.chromium.org/16638016/diff/1/net/quic/crypto/channel_id_nss.cc File net/quic/crypto/channel_id_nss.cc (right): https://codereview.chromium.org/16638016/diff/1/net/quic/crypto/channel_id_nss.cc#newcode81 net/quic/crypto/channel_id_nss.cc:81: SECStatus rv = PK11_Verify(&public_key, &signature_item, &hash_item, NULL); On 2013/06/12 ...
7 years, 6 months ago (2013-06-12 18:11:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/16638016/13001
7 years, 6 months ago (2013-06-12 18:11:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/16638016/32001
7 years, 6 months ago (2013-06-12 21:20:55 UTC) #5
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=60545
7 years, 6 months ago (2013-06-12 21:58:48 UTC) #6
wtc
rtenneti: could you please review my new change to quic_crypto_server_stream_test.cc? Thanks. https://codereview.chromium.org/16638016/diff/49001/net/quic/quic_crypto_server_stream_test.cc File net/quic/quic_crypto_server_stream_test.cc (left): ...
7 years, 6 months ago (2013-06-12 23:48:21 UTC) #7
ramant (doing other things)
lgtm https://codereview.chromium.org/16638016/diff/49001/net/quic/quic_crypto_server_stream_test.cc File net/quic/quic_crypto_server_stream_test.cc (left): https://codereview.chromium.org/16638016/diff/49001/net/quic/quic_crypto_server_stream_test.cc#oldcode247 net/quic/quic_crypto_server_stream_test.cc:247: // TODO(rtenneti): Enable testing of ProofVerifier. On 2013/06/12 ...
7 years, 6 months ago (2013-06-12 23:53:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/16638016/49001
7 years, 6 months ago (2013-06-13 00:31:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/16638016/49001
7 years, 6 months ago (2013-06-13 02:57:52 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-13 07:25:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/16638016/49001
7 years, 6 months ago (2013-06-14 17:17:46 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-14 20:26:51 UTC) #13
Message was sent while issue was closed.
Change committed as 206486

Powered by Google App Engine
This is Rietveld 408576698