Security Python module for Werkstatt projects
- Encryption of credential
- werkstatt_security encrypt the cleartext passwords
- Basic Libraries
- Cryptodome
Solution | API | Python |
---|---|---|
Werkstatt Tools | ⬜ | ✅ |
- ✅ — Supported
- 🔶 — Partial support
- 🚧 — Under development
- ⬜ - N/A ️
ToDO:
- Initial Core Development
- update custom json config file
- secure [hostname].bin on OS level
Configuration:
- After the inital run of w3rkstatt.py a local crypto key file is being generated in the ~.w3rkstatt/configs folder with [hostname].bin
- After the inital run of w3rkstatt.py a local config file is being generated in the ~.w3rkstatt/configs folder with [hostname].json
- Update the credentials and other settings in the [hostname].json file
- Execute w3rkstatt.py to encrypt the passwords in [hostname].json
- All password in cleartext will be removed
- Update file level access for [hostname].bin to only authorized OS accounts. If the file [hostname].bin is being deleted, the encrypted passwords cannot be recovered
- The account running the python scripts needs to have access to [hostname].json and [hostname].bin
Info: Cryptodome is beind utilized for safekeeping of the credentials
- Folder: ~.w3rkstatt/configs
- File: [hostname].json - custome config file
- File: [hostname].bin - crypto key for security functions