Commit 249c0f8
Yorhel
Disable RC4 ciphers by default from tls_priority
I can't say I'm a huge fan of referencing specific ciphers and features
in the default tls_priority setting for two reasons:
1. If the particular feature isn't supported by the GnuTLS version being
used, it will cause GnuTLS to return with an error during connect and
all TLS activity will fail.
2. I am not an authority in figuring out which ciphers are "secure
enough", nor do I have any clue as to which settings may cause
issues with compatibility. GnuTLS has a "NORMAL" setting for a
reason.
As for (1), I think it's safe to assume every GnuTLS library has support
for RC4, considering its wide-spread use. Though if RC4 is ever removed,
ncdc will break.
For (2), it's unfortunate that the "NORMAL" setting doesn't exclude RC4
already. Likely for compatibility reasons in the context of HTTPS. All
DC clients and hubs ought to support better ciphers so it shouldn't be
an issue for us to exclude it.
Fixes bug #73: http://dev.yorhel.nl/ncdc/bug/731 parent 55616ac commit 249c0f8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
993 | | - | |
| 993 | + | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| |||
0 commit comments