]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: remove unused ms_msgr2_{sign,encrypt}_messages 31850/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Nov 2019 17:39:58 +0000 (18:39 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 25 Nov 2019 13:08:42 +0000 (14:08 +0100)
These are unused since 1d29722f801c ("switch monc, daemons to use new
msgr2 auth frame exchange").  As they default to false, a confused user
might flip them to true and think that their client <-> OSD traffic is
encrypted.

The new set of options was added in c7ee66c3e54b
("auth,msg/async/ProtocolV2: negotiate connection modes").

Fixes: https://tracker.ceph.com/issues/42976
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 976d318b4892fb1ed5e5f8abaa94b4deef9b0ac8)

src/common/options.cc

index cc10924dc51163db73d29d1bd35aba8bd4a1d03c..32f3db9761abf461822e40c19c1a24b7736f12dc 100644 (file)
@@ -1013,16 +1013,6 @@ std::vector<Option> get_global_options() {
     .set_default(100_M)
     .set_description("Limit messages that are read off the network but still being processed"),
 
-    Option("ms_msgr2_sign_messages", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(false)
-    .set_description("Sign msgr2 frames' payload")
-    .add_see_also("ms_msgr2_encrypt_messages"),
-
-    Option("ms_msgr2_encrypt_messages", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(false)
-    .set_description("Encrypt msgr2 frames' payload")
-    .add_see_also("ms_msgr2_sign_messages"),
-
     Option("ms_bind_ipv4", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
     .set_default(true)
     .set_description("Bind servers to IPv4 address(es)")