From 9a528c42f8edf501632692eafae5b36d5e0abfba Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 25 Mar 2023 12:10:01 +0000 Subject: [PATCH] chore(settings): precise base64 DER for some OpenVPN fields --- internal/configuration/settings/openvpn.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/configuration/settings/openvpn.go b/internal/configuration/settings/openvpn.go index 7a9f0c82..0e7e1ee7 100644 --- a/internal/configuration/settings/openvpn.go +++ b/internal/configuration/settings/openvpn.go @@ -42,18 +42,18 @@ type OpenVPN struct { // It cannot be nil in the internal state. // It is ignored if it is set to the empty string. Auth *string - // Cert is the OpenVPN certificate for the block. + // Cert is the base64 encoded DER of an OpenVPN certificate for the block. // This is notably used by Cyberghost and VPN secure. // It can be set to the empty string to be ignored. // It cannot be nil in the internal state. Cert *string - // Key is the OpenVPN key. + // Key is the base64 encoded DER of an OpenVPN key. // This is used by Cyberghost and VPN Unlimited. // It can be set to the empty string to be ignored. // It cannot be nil in the internal state. Key *string - // EncryptedKey is the content of an encrypted - // key for OpenVPN. It is used by VPN secure. + // EncryptedKey is the base64 encoded DER of an encrypted key for OpenVPN. + // It is used by VPN secure. // It defaults to the empty string meaning it is not // to be used. KeyPassphrase must be set if this one is set. EncryptedKey *string