From b9435bf25242d82104f50f84c8a1a61c435fbe3b Mon Sep 17 00:00:00 2001 From: Alice Date: Sat, 16 Sep 2017 10:24:20 +0200 Subject: [PATCH] Fix Chrome OS ONC CA line breaks --- lambdainst/openvpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambdainst/openvpn.py b/lambdainst/openvpn.py index 3b44d60..4d25e05 100644 --- a/lambdainst/openvpn.py +++ b/lambdainst/openvpn.py @@ -41,7 +41,7 @@ def _make_onc(username, name, hostname, port, protocol, http_proxy=None, ipv6=Tr cert = { 'GUID': cert_id, 'Type': 'Authority', - 'X509': CA_CERT.strip().replace('\n', '\\n'), + 'X509': CA_CERT.strip(), } vpn = { 'GUID': vpn_id,