[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Option to disable encryption?
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: Option to disable encryption? |
Date: |
Sat, 24 Mar 2012 01:25:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 03/23/2012 05:27 PM, Steven Hudson wrote:
> I was wondering if I can include an option to disable encryption by
> doing this:
> gnutls_priority_set_direct(session, "NONE:+COMP-ALL", NULL);
>
> This would allow me to use the compression option but not encryption? Or
> would this just fail to connect?
It is not that simple. You need to use the NULL cipher to disable
encryption. An example could be:
"NONE:+NULL:+SIGN-ALL:+COMP-NULL:+MAC-ALL:+VERS-TLS-ALL:+KX-ALL"
regards,
Nikos