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

Pass environment needed for systemd-ask-pass #630

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 22, 2024

  1. Pass environment needed for systemd-ask-pass

    systemd-ask-pass allows the pin to be provided by the
    systemd-credentials mechanism, but that requires the environment
    variable $CREDENTIALS_DIRECTORY to be set. Openvpn when launched
    by systemd does have this environment variable available, but it
    doesn't pass it through to systemd-ask-pass meaning that
    systemd-ask-pass is unable to load the pin from
    systemd-credentials.
    
    This change passes the $CREDENTIALS_DIRECTORY environment variable
    to the execed systemd-ask-pass invocation so that
    systemd-credentials can be used for non-interactive pin entry.
    
    Signed-off-by: William <[email protected]>
    Firstyear committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    976c357 View commit details
    Browse the repository at this point in the history