yaml-get fails to decrypt EYAML values when using Collectors
wwkimball opened this issue · 0 comments
wwkimball commented
Operating System
- Name/Distribution: ALL
- Version: ALL
Version of Python and packages in use at the time of the issue.
- Distribution: ALL
- Python Version: ALL
- Version of yamlpath installed: 3.6.4
- Version of ruamel.yaml installed: ANY supported
Minimum sample of YAML (or compatible) data necessary to trigger the issue
---
# test.yaml
key: ENC[BLAH]
# yaml-get --query='(/key) ' test.yaml
ENC[BLAH]
Assuming EYAML was installed and the keys were in one of the default locations, the output should have been decrypted but it never is.
Complete steps to reproduce the issue when triggered via:
- Command-Line Tools (yaml-get, yaml-set, or eyaml-rotate-keys): Precise command-line arguments which trigger the defect.
- Libraries (yamlpath.*): Minimum amount of code necessary to trigger the defect.
Expected Outcome
Decrypted EYAML value from Collector results.
Actual Outcome
yaml-get prints out the encrypted strings.