Todd Lipcon has submitted this change and it was merged. Change subject: security: initial work on token creation and verification ......................................................................
security: initial work on token creation and verification This adds classes for managing Token Signing Keys (TSKs) on the signer (masters) and verifiers (all servers). The new classes aren't hooked up with the actual servers as of yet, nor do they actually use real signature routines (blocked on another in-flight patch for that). A unit test is included which drives the APIs using a stubbed-out "signature" algorithm. Change-Id: Iaf53ae50082d69028315952ac0732af6a83ffdbe Reviewed-on: http://gerrit.cloudera.org:8080/5796 Reviewed-by: Dan Burkert <danburk...@apache.org> Tested-by: Kudu Jenkins --- M src/kudu/security/CMakeLists.txt A src/kudu/security/token-test.cc A src/kudu/security/token.proto A src/kudu/security/token_signer.cc A src/kudu/security/token_signer.h A src/kudu/security/token_signing_key.cc A src/kudu/security/token_signing_key.h A src/kudu/security/token_verifier.cc A src/kudu/security/token_verifier.h 9 files changed, 924 insertions(+), 2 deletions(-) Approvals: Dan Burkert: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5796 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iaf53ae50082d69028315952ac0732af6a83ffdbe Gerrit-PatchSet: 6 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <t...@apache.org> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Dan Burkert <danburk...@apache.org> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <t...@apache.org>