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
Add support for data-ciphers and data-ciphers-fallback to OpenVPN #36
Conversation
|
Need to check the provisioning file format for this and test it. |
|
The options are: So maybe we should support the fallback cipher as well. And to ensure that the ciphers line gets parsed. |
3b457aa
to
1b96ace
Compare
|
@mlehtima Since the whole |
I wonder if makes sense to have all the options matched to each vpn type in a map which property is which option for connman. We can use something like std::map<QString, QString> and then use std::map::find or std::map::contains (C++20). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, see suggestion in comment.
This could for sure use some improvement. Updating this does indeed seem a bit of a mess but we'll create another task for that. |
…enVPN. JB#61635
This enables support for:
- data-ciphers set in provision file that are mapped to
OpenVPN.DataCiphers setting value resulting in use of
--data-ciphers <string> for the openvpn binary.
- data-ciphers-fallback set in provision file that are mapped to
OpenVPN.DataCiphersFallback setting value resulting in use of
--data-ciphers-fallback <string> for the openvpn binary
79127c9
to
af5b927
Compare
No description provided.