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

Issue 713523004: Don't allow trailing data when creating an RSAPrivateKey. (Closed)

Created:
6 years, 1 month ago by davidben
Modified:
6 years ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@nss-bah
Project:
chromium
Visibility:
Public.

Description

Don't allow trailing data when creating an RSAPrivateKey. CreateFromPrivateKeyInfo should not silently discard data after the PrivateKeyInfo. BUG=432279 Committed: https://crrev.com/c6761098bdf74868efe2ba255e238f3e4c06de72 Cr-Commit-Position: refs/heads/master@{#305503}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : sleevi comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -16 lines) Patch
M crypto/rsa_private_key_nss.cc View 1 2 1 chunk +20 lines, -12 lines 0 comments Download
M crypto/rsa_private_key_openssl.cc View 1 chunk +1 line, -4 lines 0 comments Download
M crypto/rsa_private_key_unittest.cc View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
davidben
6 years, 1 month ago (2014-11-11 23:41:59 UTC) #2
Ryan Sleevi
lgtm https://codereview.chromium.org/713523004/diff/20001/crypto/rsa_private_key_nss.cc File crypto/rsa_private_key_nss.cc (right): https://codereview.chromium.org/713523004/diff/20001/crypto/rsa_private_key_nss.cc#newcode289 crypto/rsa_private_key_nss.cc:289: SECItem input_item, der_private_key_info; nit: I tend to prefer ...
6 years, 1 month ago (2014-11-22 01:13:57 UTC) #3
davidben
https://codereview.chromium.org/713523004/diff/20001/crypto/rsa_private_key_nss.cc File crypto/rsa_private_key_nss.cc (right): https://codereview.chromium.org/713523004/diff/20001/crypto/rsa_private_key_nss.cc#newcode289 crypto/rsa_private_key_nss.cc:289: SECItem input_item, der_private_key_info; On 2014/11/22 01:13:57, Ryan Sleevi wrote: ...
6 years ago (2014-11-24 20:23:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/713523004/40001
6 years ago (2014-11-24 20:25:13 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-11-24 21:54:20 UTC) #7
commit-bot: I haz the power
6 years ago (2014-11-24 21:55:03 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c6761098bdf74868efe2ba255e238f3e4c06de72
Cr-Commit-Position: refs/heads/master@{#305503}

Powered by Google App Engine
This is Rietveld 408576698