https://github.com/efforg/starttls-policy-cli
https://github.com/efforg/starttls-policy-cli
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/efforg/starttls-policy-cli
- Owner: EFForg
- License: other
- Created: 2018-09-27T19:01:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T17:53:43.000Z (about 7 years ago)
- Last Synced: 2025-04-19T11:09:22.987Z (about 1 year ago)
- Language: Python
- Size: 105 KB
- Stars: 9
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
# starttls-policy-cli Python package
Run `pip install starttls-policy-cli` to install!
### Generating a configuration file
`starttls-policy-cli --generate [--policy-dir /path/to/dir]` will generate a configuration file corresponding to the TLS policy list and provide instructions for installing the file.
We currently only support Postfix, but contributions are welcome!
#### Early adopter mode
The flag `--early-adopter` (or `-e`) processes all "testing" domains in the policy list the same way as domains in "enforce" mode, effectively requiring strong TLS for all domains. This mode is useful for participating in tests of recently added domains and stronger security hardening at the cost of increased probability of delivery degradation.
## Development
We recommend using `virtualenv` and `pip` to install and run `starttls-policy-cli` while developing. To get set up:
```
virtualenv --no-site-packages --setuptools starttls_venv --python python3.6
source ./starttls_venv/bin/activate
pip install -e .
```