Skip to content

Commit

Permalink
feat(auth_nocache): support for auth-nocache
Browse files Browse the repository at this point in the history
* This option can be enabled on OpenVPN clients, to silence warnings like:

```
openvpn[12345]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
```
  • Loading branch information
dimitry-unified-streaming committed Nov 29, 2019
1 parent 667bc1f commit c21b7f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openvpn/files/client.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ http-proxy {{ config.http_proxy }}
{%- if config.auth_user_pass is defined %}
auth-user-pass {{ config.auth_user_pass }}
{%- endif %}

{%- if config.auto_nocache is defined %}
auth-nocache
{%- endif %}
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ openvpn:
auth_user_pass_content: |
user
password
auth_nocache: ~
fast_io: ~
pull: ~
tls-client: ~
Expand Down

0 comments on commit c21b7f5

Please sign in to comment.