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

Deprecated cypher options used #196

Closed
animalillo opened this issue Jun 15, 2023 · 1 comment · Fixed by #202
Closed

Deprecated cypher options used #196

animalillo opened this issue Jun 15, 2023 · 1 comment · Fixed by #202

Comments

@animalillo
Copy link

Openvpn server is throwing this warning on the logs:

DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

There do not seem to be options to set up this on the module.

@kyl191
Copy link
Owner

kyl191 commented Dec 23, 2024

You can set the cipher to AES-256-GCM - that's a supported option. But data-cipher isn't supported other than through openvpn_addl_server_options.

Reading https://community.openvpn.net/openvpn/wiki/CipherNegotiation it seems like the best path forward would be to let OpenVPN use the builtin defaults, but that's not backward compatible.

I'm changing the role to use AES-256-GCM:AES-128-GCM:AES-256-CBC as the default data-cipher because that overlaps with the current default of AES-256-CBC.

@kyl191 kyl191 linked a pull request Dec 24, 2024 that will close this issue
@kyl191 kyl191 closed this as completed in cdaceb0 Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants