Commit Graph

479 Commits

Author SHA1 Message Date
Yehuda Sadeh
1c5084cbe2 auth: reuse authorize request handling for service tickets requests 2009-09-24 11:33:56 -07:00
Yehuda Sadeh
a2ae9e77c6 auth: start integrate keys_server with authentication 2009-09-24 10:25:08 -07:00
Yehuda Sadeh
d5b79beddb auth: move keys_server to the monitor 2009-09-24 10:24:16 -07:00
Sage Weil
0d2a3f117d auth: move session_key to the AuthHandler 2009-09-23 14:53:58 -07:00
Sage Weil
bc691a9aab mon: put auth_handler in mon Session 2009-09-23 14:51:46 -07:00
Sage Weil
eadb9ec020 auth: fill out server side authenticate steps 2009-09-23 12:42:36 -07:00
Sage Weil
c9ee83981b auth: build an almost real mon ticket 2009-09-23 12:13:15 -07:00
Sage Weil
6f79fb2018 auth: break out authenticate request 2009-09-23 11:17:08 -07:00
Yehuda Sadeh
660977925d auth: monclient creates session asynchronously 2009-09-22 16:51:09 -07:00
Yehuda Sadeh
aaa6e403d6 auth: fix deadlock 2009-09-22 13:56:56 -07:00
Yehuda Sadeh
8ee96d80e1 auth: monclient deciphers rotating key 2009-09-22 13:41:13 -07:00
Yehuda Sadeh
ac934bf041 auth: load master key on startup 2009-09-22 12:37:30 -07:00
Yehuda Sadeh
f255bbc360 auth: osd loads rotating keys on startup 2009-09-22 12:13:35 -07:00
Yehuda Sadeh
bf4cf7d670 auth: entity can request rotating keys (in progress) 2009-09-21 15:59:15 -07:00
Yehuda Sadeh
1a8d910103 auth: more than 1 rotating key per service, key id 2009-09-21 11:03:05 -07:00
Yehuda Sadeh
2c54f8af84 authmon: distribute rotating keys 2009-09-18 17:07:22 -07:00
Yehuda Sadeh
e60417c8a7 auth: keep keys in single data structure 2009-09-18 11:24:26 -07:00
Yehuda Sadeh
7d9b85830a auth: some authmon fixes 2009-09-18 10:08:25 -07:00
Yehuda Sadeh
5f78fc9ba6 auth: add authmon handling 2009-09-17 16:31:58 -07:00
Yehuda Sadeh
364b2a2ec0 auth: add missing header file 2009-09-17 13:44:39 -07:00
Yehuda Sadeh
87198660d5 auth: rotate rotating keys every time interval 2009-09-17 10:18:59 -07:00
Yehuda Sadeh
8194e9f7a0 auth: add missing lock 2009-09-16 12:34:33 -07:00
Yehuda Sadeh
5ba03ef4d2 auth: authorize 2009-09-15 16:23:18 -07:00
Yehuda Sadeh
9bd52e7ab1 auth: new improved mechanism works now 2009-09-15 14:35:45 -07:00
Yehuda Sadeh
86bf798a57 auth: move code around, making some order 2009-09-15 12:56:09 -07:00
Yehuda Sadeh
f82e57cfaa auth: comprehensive overhaul (not working yet) 2009-09-15 12:49:52 -07:00
Yehuda Sadeh
a57a8ebbbd auth: authorize response handling 2009-09-11 14:51:42 -07:00
Yehuda Sadeh
54aa0b2dc3 auth: interface adjustments 2009-09-11 14:28:44 -07:00
Yehuda Sadeh
9c9404d9ea auth: authorize stuff 2009-09-11 13:43:28 -07:00
Yehuda Sadeh
cc9de15a55 auth: refactor interface with monclient 2009-09-10 14:20:49 -07:00
Yehuda Sadeh
bbcaeaa910 Merge branch 'auth' of ssh://ceph.newdream.net/git/ceph into auth 2009-09-09 14:36:44 -07:00
Yehuda Sadeh
d2deea87f6 auth: multiple tickets handling 2009-09-09 14:35:08 -07:00
Sage Weil
806f73bd6b auth: refactor MonClient <-> AuthClientHandler interface 2009-09-09 14:05:09 -07:00
Yehuda Sadeh
deec333f99 auth: stop auth sequence after getting the tickets 2009-09-08 14:05:55 -07:00
Yehuda Sadeh
f2e3692a79 auth: fix session key, encode_encrypt using templates 2009-09-08 13:19:19 -07:00
Yehuda Sadeh
0bbc474329 auth: cleanup 2009-09-08 12:44:29 -07:00
Yehuda Sadeh
7f3573bf50 auth: redo authenticate request/response 2009-09-08 12:42:32 -07:00
Yehuda Sadeh
5673148898 auth: fix decoding 2009-09-08 12:03:26 -07:00
Yehuda Sadeh
9e9526511b auth: consolidate messages, rename 2009-09-08 11:32:13 -07:00
Yehuda Sadeh
81a2efa688 auth: rewrite second authentication stage 2009-09-04 16:11:13 -07:00
Yehuda Sadeh
d0cde49439 auth: rewrite messages encoding/decoding stuff 2009-09-04 15:50:38 -07:00
Yehuda Sadeh
8b680a3a74 auth: some more compilation fixes 2009-09-04 11:37:21 -07:00
Yehuda Sadeh
6137988c0f auth: some compilation fixes 2009-09-04 11:12:14 -07:00
Yehuda Sadeh
8ab87b23b4 auth: adding missing file 2009-09-03 11:36:35 -07:00
Yehuda Sadeh
1e4c2a7a3c auth: handle keys request, cleanup 2009-09-02 10:11:57 -07:00
Yehuda Sadeh
eb92fb1cf8 auth: follow auth with keys request 2009-08-31 11:16:49 -07:00
Yehuda Sadeh
bf304fa92c auth: client/auth tgt sequence, protocol implementation 2009-08-28 15:23:08 -07:00
Yehuda Sadeh
1afa62e253 auth: move things around 2009-08-26 14:18:50 -07:00
Yehuda Sadeh
238afe652a auth: rename first part of auth protocol 2009-08-26 14:12:13 -07:00
Yehuda Sadeh
811276f745 auth: client side protocol handler 2009-08-26 14:02:49 -07:00
Sage Weil
a937275fb6 auth: clarify protocol comments a bit 2009-08-24 11:55:04 -07:00
Sage Weil
88179a3727 auth: rearrange types 2009-08-21 16:21:26 -07:00
Sage Weil
a74c1a99ff mon: lose ClientTicket; simplify mon's client map [disk format change] 2009-08-21 16:20:14 -07:00
Yehuda Sadeh
56e0ab701a auth: use common definition for crypto types 2009-08-20 12:29:50 -07:00
Yehuda Sadeh
6c43e5dd43 auth: consolidate different secret types to one type 2009-08-20 12:26:58 -07:00
Yehuda Sadeh
d0b204a9fb auth: pass const buffers to crypto encrypt/decrypt 2009-08-20 12:04:09 -07:00
Yehuda Sadeh
9bb9672431 auth: fix compilation errors 2009-08-19 17:10:37 -07:00
Sage Weil
fbe53c249a auth: bits 2009-08-19 16:56:05 -07:00
Yehuda Sadeh
4a0298e32a auth: replace crypto_stupid with crypto_none 2009-08-19 16:34:52 -07:00
Yehuda Sadeh
951028fed3 auth: fix aes encryption 2009-08-19 16:28:23 -07:00
Yehuda Sadeh
1f7b82d479 auth: don't use bufferptr 2009-08-19 16:24:12 -07:00
Yehuda Sadeh
8fc4666223 auth: fixed aes, added test utility 2009-08-19 15:59:52 -07:00
Yehuda Sadeh
59a1eb973b auth: aes decrypt 2009-08-19 15:36:42 -07:00
Sage Weil
3cb690d7cd kclient: add base64, crypt.[ch] 2009-08-19 15:10:21 -07:00
Yehuda Sadeh
0157567e09 auth: compiles, everything links with libcrypto 2009-08-19 14:56:23 -07:00
Yehuda Sadeh
2d4556fd59 auth: work in progress 2009-08-19 14:02:49 -07:00
Yehuda Sadeh
414e47d91a auth: check key in the stab auth implementation 2009-08-19 10:30:29 -07:00
Yehuda Sadeh
93834d6611 auth: refine layers on kernel client 2009-08-19 10:30:29 -07:00
Yehuda Sadeh
3c275a5857 auth: auth stub implementation 2009-08-19 10:30:29 -07:00
Sage Weil
a849be3242 auth: auth scheme notes 2009-08-19 10:18:29 -07:00
Sage Weil
8631573366 auth: add versioning to ClientTicket 2009-08-11 15:22:24 -07:00
Sage Weil
31c7b5d6ed auth: compat with old struct 2009-07-28 11:31:43 -07:00
Sage Weil
483bc18c36 auth: add ClientTicket 2009-07-28 11:05:14 -07:00
Sage Weil
a93ab1da1f auth: use string instead of const char* for maps 2009-06-25 21:26:19 -07:00
Yehuda Sadeh
86cf106fed auth: some leaks fixes 2009-04-27 16:26:27 -07:00
Yehuda Sadeh
3243029b63 auth: fix uninitialized variable 2009-03-20 14:19:27 -07:00
Yehuda Sadeh
3251b15709 auth: advanced auth config options 2009-03-20 13:55:16 -07:00
Yehuda Sadeh
38954991fb auth: fix case when mount sections are not defined 2009-03-18 15:34:01 -07:00
Yehuda Sadeh
3814189b08 auth: added basic client ip authorization 2009-03-18 15:34:01 -07:00