pegleg/pegleg/engine
Hughes, Alexander (ah8742) ea99c79844 Move credentials logic into config.py
Currently there isn't a uniform or easily expandable way to manage
how Pegleg gets credentials or enforces any complexity on them. This
patchset attempts to address this by:

1. Moving all logic for credentials into config.py
2. Using PeglegSecretManagement as the source of interfacing with
   config.py as this code is the entry point for any encryption or
   decryption work
3. Remove unnecessary code related to this change
4. Update unit tests

In future patchsets the goal is to use these changes to add in a global
passphrase and salt variable into config.py so that encrypt/decrypt type
commands can be executed one time against a site and intelligently
handle retrieval of global credentials for use with global secrets, site
credentials in the form of environment variables will remain used for
site secrets and will not be overridden by any global operations.

Change-Id: I0b6acd3ef5eab6b1f8931f46544bc53443f5c2c0
2019-06-20 11:31:18 +00:00
..
catalog Fix multiple I/O issues in cert generation 2019-05-28 14:36:07 -05:00
catalogs Support b64 encoding of passphrase catalog 2019-05-14 08:11:11 -05:00
common pki: Port Promenade's PKI catalog into Pegleg 2019-01-15 13:29:21 -06:00
generators Added cleartext option to passphrase generation 2019-06-12 00:42:03 +00:00
util Move credentials logic into config.py 2019-06-20 11:31:18 +00:00
__init__.py Pegleg encryption of site secrets 2018-10-30 16:53:51 +00:00
bundle.py Genesis Bundle Encryption Key source 2019-06-11 13:15:08 +00:00
errorcodes.py Add nosec to Bandit False Positives 2019-05-09 15:29:26 +00:00
exceptions.py Make -u required in CLI when required by repo 2019-05-15 18:38:38 +00:00
lint.py Fix typo in secrets linting 2019-03-22 17:38:07 +00:00
repository.py Make -u required in CLI when required by repo 2019-05-15 18:38:38 +00:00
secrets.py Added cleartext option to passphrase generation 2019-06-12 00:42:03 +00:00
site.py Fix multiple I/O issues in cert generation 2019-05-28 14:36:07 -05:00
type.py Pegleg CLI output improvement 2018-10-10 15:30:54 -04:00