Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/18192 )
Change subject: KUDU-3368 Encrypt file keys with server keys ...................................................................... Patch Set 6: (1 comment) http://gerrit.cloudera.org:8080/#/c/18192/6/src/kudu/fs/fs_manager.cc File src/kudu/fs/fs_manager.cc: http://gerrit.cloudera.org:8080/#/c/18192/6/src/kudu/fs/fs_manager.cc@677 PS6, Line 677: uint8_t key_bytes[32]; : int num_bytes = FLAGS_encryption_key_length / 8; : OPENSSL_RET_NOT_OK(RAND_bytes(key_bytes, num_bytes), : "Failed to generate random key"); > There's a validator for the encryption_key_length flag in env_posix, so I'm Right, but that code is in different place and hypothetically it could change. Anyways, that's up to you :) -- To view, visit http://gerrit.cloudera.org:8080/18192 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I1884f62fde3bb110291b1d01c5e68942c6071318 Gerrit-Change-Number: 18192 Gerrit-PatchSet: 6 Gerrit-Owner: Attila Bukor <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Khazar Mammadli <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Zoltan Chovan <[email protected]> Gerrit-Comment-Date: Wed, 25 May 2022 20:58:18 +0000 Gerrit-HasComments: Yes
