Shreya
|
e90bf52674
|
island: Use `Path().touch()` instead of `os.open()` when securely creating a file on Linux
|
2021-06-15 15:51:02 +05:30 |
shreyamalviya
|
e01165403a
|
island, tests: Run isort and black on previously changed files
|
2021-06-15 12:51:10 +05:30 |
shreyamalviya
|
5abcadc69a
|
tests: Move tests from test_utils.py to test_file_utils.py
|
2021-06-15 12:47:34 +05:30 |
shreyamalviya
|
b5f092a85c
|
island: Move code from cc/environment/utils.py to cc/server_utils/file_utils.py
|
2021-06-15 12:46:18 +05:30 |
shreyamalviya
|
91873343dd
|
tests: Add comment to `test_create_secure_directory__perm_windows()` explaining when it fails
|
2021-06-15 12:26:58 +05:30 |
shreyamalviya
|
d7565fc515
|
island: Use stat.S_IRWXU in place of 0o700 in cc/environment/utils.py
|
2021-06-15 12:23:13 +05:30 |
shreyamalviya
|
5ea046eda5
|
island: Format cc/environment/utils.py with black
|
2021-06-15 00:06:40 +05:30 |
shreyamalviya
|
443b66e9d9
|
tests: Remove accidental code in `_get_acl_and_sid_from_path()` in test_utils.py
|
2021-06-14 23:50:08 +05:30 |
shreyamalviya
|
1170b176d3
|
island: Fix Windows' secure file creation by using a different file flag
|
2021-06-14 23:41:56 +05:30 |
shreyamalviya
|
7ddb986f15
|
tests: Fix file creation unit tests in test_utils.py
|
2021-06-14 23:24:52 +05:30 |
shreyamalviya
|
1467a53e60
|
island: Use win32file.CloseHandle() to close file descriptor on Windows
|
2021-06-14 23:24:09 +05:30 |
shreyamalviya
|
37eda4e7ad
|
island: Fix secure file creation on Windows
|
2021-06-14 23:15:17 +05:30 |
Ilija Lazoroski
|
0c6d0ed2a8
|
Removed quotes in deployment_scripts README for first argument of deploy_linux.sh. Related #1108.
|
2021-06-14 12:54:25 -04:00 |
kur1mi
|
5e14738a43
|
Update README.md in deployment _scripts
|
2021-06-14 10:02:06 -04:00 |
Shreya
|
c0d9489100
|
tests: Extract duplicate code in Windows tests in test_utils
|
2021-06-14 17:59:57 +05:30 |
Shreya
|
6d360ef865
|
tests: Fix assertion in `test_create_secure_directory__perm_linux()`
|
2021-06-14 17:51:55 +05:30 |
Shreya
|
248d57789f
|
tests: Add unit tests for securly creating a file
|
2021-06-14 17:50:40 +05:30 |
Shreya
|
5fe0c80377
|
island: Can't use `with` with `os.open()`, use `os.close()` to close file descriptor
|
2021-06-14 17:07:47 +05:30 |
Shreya
|
8b932e1946
|
island: Add os.O_EXCL flag so that an error is thrown if trying to create a file that exists
|
2021-06-14 16:49:24 +05:30 |
Shreya
|
8dd4bb5e17
|
island: Use 'x' instead of '_' when creating a secure file
|
2021-06-14 16:26:00 +05:30 |
Shreya
|
26ae50f90f
|
island: Create mongo key file securely before using it
|
2021-06-14 13:21:45 +05:30 |
Shreya
|
ff85360639
|
island: Add functions to create a file securely on Linux and Windows
|
2021-06-14 13:21:45 +05:30 |
Shreya
|
5d7d86aedc
|
island: Modify log message when creating secure directory on Windows
|
2021-06-14 13:21:46 +05:30 |
Shreya Malviya
|
eede06de17
|
Merge pull request #1224 from guardicore/appimage-docs
AppImage setup documentation
|
2021-06-11 21:00:38 +05:30 |
Mike Salvatore
|
db3003f6bb
|
docs: Minor wording change to AppImage description
|
2021-06-11 10:54:36 -04:00 |
Mike Salvatore
|
ca502d41f0
|
docs: Add a link to appimage.org in AppImage setup
|
2021-06-11 10:49:45 -04:00 |
Shreya
|
bef7bef46b
|
docs: Add info about what an AppImage is, to its setup page
|
2021-06-11 20:04:24 +05:30 |
VakarisZ
|
feeba1ea60
|
Merge pull request #1204 from guardicore/config_encrypt
Config encrypt
|
2021-06-11 17:09:07 +03:00 |
Shreya
|
41f41015b8
|
docs: Update supported OS list in AppImage setup page
|
2021-06-11 19:33:12 +05:30 |
Shreya
|
01a2c20d4b
|
docs: Remove unsupported OS section from AppImage setup page
|
2021-06-11 19:05:30 +05:30 |
Mike Salvatore
|
57f35f9045
|
island: Fix typo in ConfigurationImport error logging
|
2021-06-11 09:28:29 -04:00 |
VakarisZ
|
8a673cc76c
|
Added the logging for errors encountered in configuration decryption workflow
|
2021-06-11 16:25:47 +03:00 |
VakarisZ
|
fbe9b4f4d7
|
Typos and small bugfixes for configuration export/import UI.
|
2021-06-11 16:06:04 +03:00 |
VakarisZ
|
5c7bab7a0d
|
Refactored json parsing out of encryption/decryption functionality.
|
2021-06-11 16:05:32 +03:00 |
Shreya
|
c2245ce3c2
|
docs: Add upgrading section to AppImage setup page
|
2021-06-11 14:50:04 +05:30 |
Shreya
|
f15d30a020
|
docs: Add list of supported OS for AppImage package
|
2021-06-11 14:42:33 +05:30 |
Shreya
|
fadc816df0
|
docs: Remove Debian package setup page
|
2021-06-11 14:40:04 +05:30 |
VakarisZ
|
3450b80a82
|
Refactored cyphertext to ciphertext for consistency
|
2021-06-11 11:43:15 +03:00 |
VakarisZ
|
5cf002d81a
|
Refactored unit tests and added a unit test for a function which checks whether or not config is encrypted.
|
2021-06-11 11:40:07 +03:00 |
VakarisZ
|
a36fc81755
|
Refactored configuration import and added a check to decide if configuration is encrypted or not. This solved a bug where invalid json was treated as credential error.
|
2021-06-11 11:40:07 +03:00 |
Mike Salvatore
|
d287573806
|
docs: Add instructions for user-provided certs to windows setup
|
2021-06-10 13:13:12 -04:00 |
Mike Salvatore
|
e2326fd71f
|
Merge pull request #1221 from guardicore/remove-ssl-perms-checks
Remove ssl perms checks
|
2021-06-10 13:08:12 -04:00 |
Mike Salvatore
|
331d2aeb7e
|
docs: Add "writable" for more accurate description
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
|
2021-06-10 13:08:02 -04:00 |
Mike Salvatore
|
ca5450b932
|
island: Add quotes around --user argument in docker setup
|
2021-06-10 11:34:08 -04:00 |
Mike Salvatore
|
7b14b917cd
|
docs: Tell the user to set secure permissions on /monkey_island_data
|
2021-06-10 11:33:05 -04:00 |
Mike Salvatore
|
9b7c913007
|
docs: Remove errant comma in linux setup
|
2021-06-10 11:08:18 -04:00 |
Mike Salvatore
|
348118a5ed
|
docs: Minor corrections to docker certificate setup
|
2021-06-10 10:50:59 -04:00 |
Mike Salvatore
|
b700870790
|
Merge pull request #1217 from guardicore/data-dir-race-condition
Fix data dir race condition on Windows
|
2021-06-10 08:05:58 -04:00 |
shreyamalviya
|
f04f307f78
|
Add unit test for Linux directory permissions (removed accidentally previously)
|
2021-06-10 17:23:32 +05:30 |
Mike Salvatore
|
6a1a1721bd
|
island: Loosen permissions on ssl cert in create_certificate.sh
|
2021-06-10 07:38:29 -04:00 |