|
|
Created:
6 years, 6 months ago by Noam Samuel Modified:
6 years, 6 months ago Reviewers:
Vitaly Buka (NO REVIEWS) CC:
chromium-reviews Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionInterface plus stub implementation for PrivetV3CryptoProvider
This is a class to handle the session handshake logic as well as encryption with
session key. The stub implementation for session type "empty" does nothing and
passes the data unencrypted.
BUG=380795
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275635
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Total comments: 1
Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 29 (0 generated)
pretty sure we would need to change this significantly. https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... File chrome/browser/local_discovery/privetv3_crypto_provider.cc (right): https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... chrome/browser/local_discovery/privetv3_crypto_provider.cc:48: *package = std::string(); package->clear() https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... chrome/browser/local_discovery/privetv3_crypto_provider.cc:54: return step == 0 && package == std::string(); package.empty()
lgtm
On 2014/06/04 18:34:50, Vitaly Buka wrote: > lgtm Please create bug for encryption and attach here.
Added bug. https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... File chrome/browser/local_discovery/privetv3_crypto_provider.cc (right): https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... chrome/browser/local_discovery/privetv3_crypto_provider.cc:48: *package = std::string(); On 2014/06/04 18:34:46, Vitaly Buka wrote: > package->clear() Done. https://codereview.chromium.org/316873004/diff/1/chrome/browser/local_discove... chrome/browser/local_discovery/privetv3_crypto_provider.cc:54: return step == 0 && package == std::string(); On 2014/06/04 18:34:46, Vitaly Buka wrote: > package.empty() Done.
The CQ bit was checked by noamsml@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/316873004/20001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chrome...) win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_...)
https://codereview.chromium.org/316873004/diff/20001/chrome/browser/local_dis... File chrome/browser/local_discovery/privetv3_crypto_provider.h (right): https://codereview.chromium.org/316873004/diff/20001/chrome/browser/local_dis... chrome/browser/local_discovery/privetv3_crypto_provider.h:23: virtual const std::string& GetAuthMethod() = 0; const std::string& -> std::string const ref makes assumption that auth method is stored as member.
Just realized this doesn't account for on-screen verification. Will add that to interface today.
On 2014/06/05 17:45:52, Noam Samuel wrote: > Just realized this doesn't account for on-screen verification. Will add that to > interface today. up to you, just fixing build is enough, we can fix interface on the go
Hey, updated the interface and I think it matches the protocol more. PTAL?
lgtm
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_...) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/buil...) win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/16714)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/16779)
The CQ bit was checked by vitalybuka@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/316873004/40001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_...) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/buil...) win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...) win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/16869)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/16881)
https://codereview.chromium.org/316873004/diff/40001/chrome/browser/local_dis... File chrome/browser/local_discovery/privetv3_crypto_provider.h (right): https://codereview.chromium.org/316873004/diff/40001/chrome/browser/local_dis... chrome/browser/local_discovery/privetv3_crypto_provider.h:31: ERROR ERROR -> HANDSHAKE_ERROR or something else there is conflict on ERROR on windows
https://codereview.chromium.org/316873004/diff/40001/chrome/browser/local_dis... File chrome/browser/local_discovery/privetv3_crypto_provider.h (right): https://codereview.chromium.org/316873004/diff/40001/chrome/browser/local_dis... chrome/browser/local_discovery/privetv3_crypto_provider.h:31: ERROR On 2014/06/06 17:33:30, Vitaly Buka wrote: > ERROR -> HANDSHAKE_ERROR or something else > there is conflict on ERROR on windows Done.
The CQ bit was checked by noamsml@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noamsml@chromium.org/316873004/60001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered...) win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...)
Message was sent while issue was closed.
Change committed as 275635 |