Commit Graph

101338 Commits

Author SHA1 Message Date
Thomas S Hatch
d0bbc556e9 make the get_pub_str method private 2011-03-04 19:58:18 -07:00
Thomas S Hatch
cbadaf70bf Moving encryption out of payload (for now) 2011-03-04 19:51:36 -07:00
Thomas S Hatch
e1eb02751a encrypt the authentication reply 2011-03-04 19:42:27 -07:00
Thomas S Hatch
4e2b8d741d MasterKeys generates the salty bacon authentication token 2011-03-04 17:32:34 -07:00
Thomas S Hatch
0597df2610 Set up the remaining authentication info for the salt master 2011-03-04 17:28:53 -07:00
Thomas S Hatch
a7354c963c Add pubkey string to the MasterKeys object 2011-03-04 17:27:21 -07:00
Thomas S Hatch
44025e870d Add interface to create master keypair 2011-03-04 17:18:12 -07:00
Thomas S Hatch
6e6cee2277 Pass through the aes key and the publication port to the minion 2011-03-04 17:03:26 -07:00
Thomas S Hatch
f6f4a7ddea modilfy crypt to comply with the packaging standard 2011-03-04 16:55:49 -07:00
Thomas S Hatch
03cec87e9a Get rid og this json support idea, what folly! 2011-03-04 16:42:14 -07:00
Thomas S Hatch
c1c144db07 set the config to use the new key generation 2011-03-04 15:24:18 -07:00
Thomas S Hatch
b4ea189069 Add class to encrypt the pickles 2011-03-04 15:20:10 -07:00
Thomas S Hatch
9978a1ca7e Add methods to generate the random aes key 2011-03-04 13:59:48 -07:00
Thomas S Hatch
ca93b46228 Set up the reply structure for the master 2011-03-04 12:48:52 -07:00
Thomas S Hatch
8e771c947b Add id to the authentication payload, so that we have consistency 2011-03-04 12:02:47 -07:00
Thomas S Hatch
664b38a227 Add cmd tag to the sign in payload 2011-03-04 12:01:43 -07:00
Thomas S Hatch
26b4aa45b7 Add in the unpackage function and tie to it 2011-03-04 11:49:12 -07:00
Thomas S Hatch
077386b3c4 Tied master packageing intot he payload module 2011-03-04 11:35:50 -07:00
Thomas S Hatch
d33d0d091e Change id to hostname 2011-03-04 11:07:25 -07:00
Thomas S Hatch
544f394c9e Set logic to fix issues with faulty keys due to a bug in m2crypto 2011-03-04 11:02:11 -07:00
Thomas S Hatch
cb5b6cb0db modified the verify_env method to be a function 2011-03-04 10:22:15 -07:00
Thomas S Hatch
03a871ab90 Add pki dir to master, add cachedir to minon 2011-03-04 10:19:01 -07:00
Thomas S Hatch
f41ea4a5b7 Add in the salt.payload import 2011-03-04 10:13:48 -07:00
Thomas S Hatch
d2dd8520d0 set up the payload packaging system 2011-03-04 10:11:26 -07:00
Thomas S Hatch
58385190bd Add payload module 2011-03-03 17:33:32 -07:00
Thomas S Hatch
bd9d695193 fix master reference in crypt.py 2011-03-03 16:28:03 -07:00
Thomas S Hatch
3639f6d878 changed minon default port 2011-03-03 16:26:43 -07:00
Thomas S Hatch
8513d765a0 Add the salt.modules module to the package 2011-03-03 16:06:18 -07:00
Thomas S Hatch
022ecf31bc rename the modules dir to modules 2011-03-03 16:03:29 -07:00
Thomas S Hatch
6073c54791 fix initial minion object 2011-03-03 16:01:50 -07:00
Thomas S Hatch
c16a2fa09b Fix daemon using the wrong option dict 2011-03-03 16:00:20 -07:00
Thomas S Hatch
c51096c31b write in code so that salt components can run as daemons! 2011-03-03 15:52:16 -07:00
Thomas S Hatch
5ee33e9712 I went out and found some good ports to use, ones that use my lucky number 45
:)
2011-03-03 15:38:56 -07:00
Thomas S Hatch
3f7db8344f Bring back inheritence, since I am fool and I did that right the first time 2011-03-03 15:28:45 -07:00
Thomas S Hatch
012bffb1d3 I am lazy and killed the inheritance, it was getting messy 2011-03-03 15:11:32 -07:00
Thomas S Hatch
a67ae94214 remove multiprocessing from the master zmq no likey 2011-03-03 15:06:12 -07:00
Thomas S Hatch
b6b907212a Fix socket generation in master.py 2011-03-03 14:08:29 -07:00
Thomas S Hatch
2ec3a6c873 change the workers on the master top use threading 2011-03-03 13:38:13 -07:00
Thomas S Hatch
f9e27a2c42 my vail attempt to use zmq with multiprocessing is a fail, moving to threading 2011-03-03 13:33:20 -07:00
Thomas S Hatch
1741903149 change the local con key to be cast as an str so it can be written to a file 2011-03-03 12:28:44 -07:00
Thomas S Hatch
69b09a3f1b Add method to verifyu that the environment pis suitible 2011-03-03 12:26:31 -07:00
Thomas S Hatch
565a2b4a21 ports shoud be strings for zmq use 2011-03-03 12:23:23 -07:00
Thomas S Hatch
fbea1cdd96 Add the default options for the salt master 2011-03-03 12:21:35 -07:00
Thomas S Hatch
f9cd00256f fiox issue with salt referencing the wrong opts 2011-03-03 12:14:17 -07:00
Thomas S Hatch
1799bea7df Reference the rigth salt master class in the chain 2011-03-03 12:13:24 -07:00
Thomas S Hatch
bc88d6fc0e Set hooks to start the master servers 2011-03-03 12:09:13 -07:00
Thomas S Hatch
9aa2ebfe3c fix the config parsing for master and minon 2011-03-03 12:06:45 -07:00
Thomas S Hatch
b70d74fa3a fix bugs in config file parsing 2011-03-03 12:05:42 -07:00
Thomas S Hatch
95abf25bd2 Change the configuration backend paths 2011-03-03 10:57:11 -07:00
Thomas S Hatch
4a5614e0be Salt master initialization hooks 2011-03-03 10:54:33 -07:00