Skip to content

Ability to hide pk password from command line #302

Description

@scruel

Currently we can see pliantext of pk password via command line, and --cache-password won't work for caching --pk_password.

Just make:

ovpncli client.ovpn --pk-password $(/etc/openvpn/client.pass)

To:

ovpncli client.ovpn --pk-password-file /etc/openvpn/client.pass

Or:

export OVPN_PK_PASSWORK_FILE=/etc/openvpn/client.pass
ovpncli client.ovpn

Will be fine enough.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions