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

Issue 1743763003: Add fuzzers for import of WebCrypto DER-encoded keys. (Closed)

Created:
4 years, 10 months ago by eroman
Modified:
3 years, 8 months ago
Reviewers:
mmoroz, Nico
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add fuzzers for import of WebCrypto DER-encoded keys. * RSA PKCS8-formatted * RSA SPKI-formatted * EC PKCS8-formatted * EC SPK-formatted There is potentially some overlap with the existing fuzzer "boringssl_d2i_autoprivatekey_fuzzer", which should exercise most of the codepaths for the the PKCS8 formatted imports. Committed: https://crrev.com/5a6f502d0e2ab2c368dbf3564061695931e882c7 Cr-Commit-Position: refs/heads/master@{#378193}

Patch Set 1 #

Patch Set 2 : fix mojo linker errors #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -16 lines) Patch
M components/webcrypto/BUILD.gn View 1 2 2 chunks +74 lines, -0 lines 2 comments Download
A + components/webcrypto/ec_import_key_pkcs8_fuzzer.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A + components/webcrypto/ec_import_key_spki_fuzzer.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A components/webcrypto/fuzzer_support.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A components/webcrypto/fuzzer_support.cc View 1 2 1 chunk +131 lines, -0 lines 0 comments Download
A + components/webcrypto/rsa_import_key_pkcs8_fuzzer.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A + components/webcrypto/rsa_import_key_spki_fuzzer.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
eroman
4 years, 10 months ago (2016-02-27 02:36:03 UTC) #4
mmoroz
LGTM
4 years, 9 months ago (2016-02-29 10:28:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743763003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743763003/40001
4 years, 9 months ago (2016-02-29 10:29:13 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-02-29 11:04:12 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5a6f502d0e2ab2c368dbf3564061695931e882c7 Cr-Commit-Position: refs/heads/master@{#378193}
4 years, 9 months ago (2016-02-29 11:05:37 UTC) #12
Nico
https://codereview.chromium.org/1743763003/diff/40001/components/webcrypto/BUILD.gn File components/webcrypto/BUILD.gn (right): https://codereview.chromium.org/1743763003/diff/40001/components/webcrypto/BUILD.gn#newcode162 components/webcrypto/BUILD.gn:162: "rsa_import_key_pkcs8_fuzzer.cc", You copied rsa_import_key_pkcs8_fuzzer here and forgot to change ...
3 years, 9 months ago (2017-03-26 03:14:39 UTC) #14
eroman
3 years, 8 months ago (2017-03-30 17:02:59 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1743763003/diff/40001/components/webcrypto/BU...
File components/webcrypto/BUILD.gn (right):

https://codereview.chromium.org/1743763003/diff/40001/components/webcrypto/BU...
components/webcrypto/BUILD.gn:162: "rsa_import_key_pkcs8_fuzzer.cc",
On 2017/03/26 03:14:39, Nico (afk until Tue Apr 4) wrote:
> You copied rsa_import_key_pkcs8_fuzzer here and forgot to change the sources
> line. None of your fuzzers uses rsa_import_key_spki_fuzzer.cc but two use
> rsa_import_key_pkcs8_fuzzer.cc. Whoops! :-)

Ugh, I am terrible :(

Thanks for pointing this out!

Powered by Google App Engine
This is Rietveld 408576698