pegleg/pegleg/engine
Alexander Hughes fb5d54fdb9 Update decrypt command
Decrypt command was previously requiring that specified files have
in their paths the site name.  This isn't necessarily always the case
for example we can have global files that need to be decrypted and do
not contain the site name in the filepath, but the site name is
relevant in ensuring based on the site-definition.yaml file that
pegleg uses the correct revision of the global repository.

The end result should be that when decrypting a file, we specify the
site name, pegleg ensures we're on correct revisions of the repos
and if the file exists, decrypt and print to stdout

This patch addresses this by:
1. Updating pegleg.engine.secrets.decrypt to no longer require a
   site name.
2. Updating pegleg.cli.decrypt to no longer pass a site name to
   pegleg.engine.secrets.decrypt
3. Updating documentation for CLI.
4. Updating unit tests for CLI and secrets.

Change-Id: Ia97518b06a58b069a4d6c0b8d68a37f45e5d31bb
2019-05-09 11:30:54 -05:00
..
catalog Update validity checks and docs of PKI functions 2019-04-09 12:36:35 -05:00
catalogs Revised exception for missing passphrase catalog 2019-04-03 16:27:28 -05:00
common pki: Port Promenade's PKI catalog into Pegleg 2019-01-15 13:29:21 -06:00
generators Add CLI generation of salt 2019-02-20 16:51:01 +00:00
util Add nosec to Bandit False Positives 2019-05-09 15:29:26 +00:00
__init__.py Pegleg encryption of site secrets 2018-10-30 16:53:51 +00:00
bundle.py CLI: Add command to generate genesis bundle 2019-03-07 03:00:30 -06:00
errorcodes.py Add nosec to Bandit False Positives 2019-05-09 15:29:26 +00:00
exceptions.py Allow buffer mode to be configured for upload 2019-04-29 12:43:55 -05:00
lint.py Fix typo in secrets linting 2019-03-22 17:38:07 +00:00
repository.py pki: Port Promenade's PKI catalog into Pegleg 2019-01-15 13:29:21 -06:00
secrets.py Update decrypt command 2019-05-09 11:30:54 -05:00
site.py Add configurable deckhand render validation 2019-04-30 15:41:40 -05:00
type.py Pegleg CLI output improvement 2018-10-10 15:30:54 -04:00