Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pass renderer configurable & other fixes #62120

Merged
merged 9 commits into from
Sep 27, 2022

Commits on Sep 22, 2022

  1. pass: Use a secure way of handling pass arguments

    The original code would fail on pass paths with spaces,
    because they would be split into multiple arguments.
    dmach committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    d44f8b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b453a0b View commit details
    Browse the repository at this point in the history
  3. pass: Do not modify $HOME env globally

    Just set $HOME for calling the pass binary
    to avoid affecting anything outside the pass renderer.
    dmach committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    d60b22a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9eed6da View commit details
    Browse the repository at this point in the history
  5. Make the pass renderer more configurable

    1. Allow us to make the pass renderer fail during pillar rendering
       when a secret corresponding with a pass path cannot be fetched.
       For this we add a master config variable pass_strict_fetch.
    
    2. Allow to have prefix for variables that should be processed
       with the pass renderer.
       For this we add a master config variable pass_variable_prefix.
    
    3. Allow us to configure pass' GNUPGHOME and PASSWORD_STORE_DIR
       environmental variables.
       For this we add master config variables pass_gnupghome and pass_dir.
    darix authored and dmach committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    cbb1b68 View commit details
    Browse the repository at this point in the history
  6. Add tests for the pass renderer

    dmach committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    b116c6e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    605e55c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f3feec View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    8d7d853 View commit details
    Browse the repository at this point in the history