From a2f2224781a82121c86a1f19b309245bc8369a91 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 28 Oct 2022 18:26:36 +0200 Subject: DTLS: Use ECDSA key --- plugins/ice/src/dtls_srtp.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ice/src') diff --git a/plugins/ice/src/dtls_srtp.vala b/plugins/ice/src/dtls_srtp.vala index 81ebfcbc..298c0061 100644 --- a/plugins/ice/src/dtls_srtp.vala +++ b/plugins/ice/src/dtls_srtp.vala @@ -76,7 +76,7 @@ public class Handler { int err = 0; X509.PrivateKey private_key = X509.PrivateKey.create(); - err = private_key.generate(PKAlgorithm.RSA, 2048); + err = private_key.generate(PKAlgorithm.ECDSA, 256); throw_if_error(err); var start_time = new DateTime.now_local().add_days(1); -- cgit v1.2.3-70-g09d2