]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
keyring: make child of KeyStore
authorSage Weil <sage@newdream.net>
Tue, 8 May 2012 23:24:12 +0000 (16:24 -0700)
committerSage Weil <sage@inktank.com>
Thu, 10 May 2012 17:10:56 +0000 (10:10 -0700)
commit80bbe5e4fd93ed42fd2dcc342bbf159058316654
tree277f802956e65e61f9a3f40a7d8cd820079d817c
parent7ce157d60f3b113c6ed570040f88c0d482f29e0c
keyring: make child of KeyStore

This lets us pass a keyring to the auth methods as a source for keys for
doing the authentication handshaking.  Normally we pass a RotatatingKeyring
or the KeyServer, but for mon->mon we don't use a service key.  This will
let us use a simple KeyRing for that.

Signed-off-by: Sage Weil <sage@newdream.net>
src/auth/KeyRing.h