Hello Dan Burkert, David Ribeiro Alves,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6347
to review the following change.
Change subject: KUDU-1843. Client UUIDs should be cryptographically random
......................................................................
KUDU-1843. Client UUIDs should be cryptographically random
This switches from using boost::uuid to generate client IDs to instead
use OpenSSL's random functionality.
This is a more secure source of randomness which can prevent IDs from
being hijacked.
The random bytes are converted to hex to ensure that they are still
printable as before.
The Java client needed no update since it already uses
cryptographically-strong UUIDs.
Change-Id: I0ea6868773cf046944f70c32c647184e4b48c772
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M src/kudu/client/client.cc
M src/kudu/security/crypto-test.cc
M src/kudu/security/crypto.cc
M src/kudu/security/crypto.h
5 files changed, 43 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/47/6347/1
--
To view, visit http://gerrit.cloudera.org:8080/6347
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ea6868773cf046944f70c32c647184e4b48c772
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>