Skip to content

Commit 2c43248

Browse files
committed
fix: use tls crypt instead of tls auth
kylemanna#501
1 parent c6c7b74 commit 2c43248

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ of a guarantee in the future.
193193
* Proper PKI support integrated into image
194194
* OpenVPN config files, PKI keys and certs are stored on a storage
195195
volume for re-use across containers
196-
* Addition of tls-auth for HMAC security
196+
* Addition of tls-crypt for security & censorship circumvention in some regions
197197

198198
## Originally Tested On
199199

Diff for: bin/ovpn_genconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ key $EASYRSA_PKI/private/${OVPN_CN}.key
324324
ca $EASYRSA_PKI/ca.crt
325325
cert $EASYRSA_PKI/issued/${OVPN_CN}.crt
326326
dh $EASYRSA_PKI/dh.pem
327-
tls-auth $EASYRSA_PKI/ta.key
327+
tls-crypt $EASYRSA_PKI/ta.key
328328
key-direction 0
329329
keepalive $OVPN_KEEPALIVE
330330
persist-key

Diff for: bin/ovpn_getclient

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,16 @@ $(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
5959
$(cat $EASYRSA_PKI/ca.crt)
6060
</ca>
6161
key-direction 1
62-
<tls-auth>
62+
<tls-crypt>
6363
$(cat $EASYRSA_PKI/ta.key)
64-
</tls-auth>
64+
</tls-crypt>
6565
"
6666
elif [ "$mode" == "separated" ]; then
6767
echo "
6868
key ${cn}.key
6969
ca ca.crt
7070
cert ${cn}.crt
71-
tls-auth ta.key 1
71+
tls-crypt ta.key 1
7272
"
7373
fi
7474

0 commit comments

Comments
 (0)