Commit Graph

88 Commits

Author SHA1 Message Date
f1dc883708 added logger, write/read json config, ask confirmation, and decrypt version functions 2022-11-25 20:39:38 -05:00
2334fc0b5c split the boot and start jail logic 2021-03-27 11:15:21 -04:00
a0d9576133 fixed syntax 2021-03-27 11:09:14 -04:00
c30d5e145d fixed syntax 2021-03-27 11:07:34 -04:00
c53f84fba4 fixed missing bracket 2021-03-27 11:06:58 -04:00
04058d485d added code to start jails at boot that are on encrypted pool 2021-03-27 11:05:58 -04:00
ba3aed8665 update path for client.conf from pykmip to conf 2021-02-14 18:38:46 -05:00
674b642745 add hmac module 2021-02-14 18:36:26 -05:00
a7dac0c680 updated logger command 2021-02-14 18:35:51 -05:00
a960cc9edb updated encrypt/decrypt functions 2021-02-13 13:59:40 -05:00
d976c6b3a9 moved folder pykmip to conf 2021-02-01 13:42:11 -05:00
eb5bcacc37 Merge pull request 'truenas-12' (#1) from truenas-12 into master
Reviewed-on: #1
2020-10-20 22:40:00 -04:00
00c678f63e added the api_key variable for the service calls 2020-09-24 09:59:15 -04:00
e4a0310191 forgot to add the api_key varaible for the dataset unlock call 2020-09-24 09:58:31 -04:00
527a3ccf41 fix type on variable name 2020-09-24 09:54:23 -04:00
c290fd8399 forgot to add the api_key for the function call 2020-09-24 09:53:51 -04:00
a46191a205 miscalculated the string lengths for the decryption 2020-09-24 09:51:05 -04:00
bbe10a2178 added padded_key_id for the debug 2020-09-24 09:46:53 -04:00
aa27d8f48d updated key id padding as more than 100 keys have been created 2020-09-24 09:44:51 -04:00
07fa0cd51c corrected if statement colon 2020-09-23 22:09:45 -04:00
3826e0eb10 updated for truenas 12 api changes
updated variables and the new dataset unlock options.  lots of changes and I probably broke something or mistyped something
2020-09-23 22:08:36 -04:00
b77117be21 updated for truenas 12 api changes 2020-09-23 21:45:50 -04:00
1a56da239b update for truenas 12 api changes 2020-09-23 21:42:31 -04:00
c6de9f1619 updated api for version 2 for truenas 12, only updated the request function 2020-09-23 21:39:39 -04:00
52e213931c updated the debug variable to opts.debug to work 2020-09-23 21:35:30 -04:00
342a529c58 fixed typos and updated debug command 2020-09-23 21:31:47 -04:00
22fd9fdc31 added -v/--verbose for debuging option
Not sure if the logger needs to be initialized before this though so it might error out
2020-09-23 21:25:42 -04:00
4499343e85 Added option to decrpyt 2020-09-05 14:44:18 -04:00
46bd4e1359 updated links to files in repo 2020-08-03 22:24:05 -04:00
46c809f7a1 Update 'truenas_kmip_unlock.py' 2020-08-03 19:15:19 -04:00
88286f1b87 remove message variable and replaced with data or passphrase 2020-08-03 19:10:01 -04:00
ebf67533c2 updated info 2020-08-03 19:06:52 -04:00
54ecfb0b6f Update 'secrets.ini.sample' 2020-08-03 19:02:02 -04:00
190390e2ba Update 'pykmip/client.conf.sample' 2020-08-03 19:01:50 -04:00
6bd4fde1cd Update 'secrets.ini.sample' 2020-08-03 19:01:23 -04:00
42e32bd6a8 Update 'README.md' 2020-08-03 19:01:12 -04:00
650b223ee2 mistyped cwd 2020-08-03 18:58:10 -04:00
7a2fcb128c updated config file to point to pykmip/client.conf 2020-08-03 18:54:01 -04:00
b5adca8380 update config.ini to secrets.ini 2020-08-03 18:51:15 -04:00
c17dbeb3e8 Changed to secrets.ini 2020-08-03 18:50:48 -04:00
0208393ae2 Update '.gitignore' 2020-08-03 18:49:48 -04:00
d1f86f42a2 Add 'pykmip/client.conf' 2020-08-03 18:48:39 -04:00
af1e6697db Update 'README.md' 2020-08-03 11:42:21 -04:00
cc85d7db4e Update 'README.md' 2020-08-03 11:40:51 -04:00
033f1e3c9e add cdw to config path 2020-08-03 11:02:30 -04:00
b772c8ac2a Update 'truenas_kmip_unlock.py' 2020-08-03 11:01:49 -04:00
4cd7d49660 Update 'truenas_kmip_unlock.py' 2020-08-03 10:45:57 -04:00
c3a9e53a6f updated v1.0 unlock to correct passphrase variable 2020-08-03 10:43:03 -04:00
9b09d410f7 changed logging back to info 2020-08-03 10:41:54 -04:00
f61ceee117 Add root_password for request calls
forgot to add this when copying from the old script
2020-08-03 10:41:00 -04:00