]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
authtool: Enhance argument combinations validation
authorBrad Hubbard <bhubbard@redhat.com>
Sun, 12 Jun 2016 10:10:25 +0000 (20:10 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 5 Jul 2016 05:34:45 +0000 (15:34 +1000)
commit00c2489685d1ebd4d0e6cbea743d4bb790535f76
treedbf0892a58bb72027180d74675a40dd1ff6e636f
parentfb2667f3e15a17d1e584864fc6dd80c3cbcb1059
authtool: Enhance argument combinations validation

Under certain circumstances ceph-authtool can create invalid key entries in
the specified keyring and behave less than intuitively. What's worse these
keys can currently cause ceph daemons to crash. This patch attempts to tighten
the behaviour and eliminate the possibility an invalid key can be created.

Fixes: http://tracker.ceph.com/issues/2904
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/tools/ceph_authtool.cc