Re: "Unsupported key exchange method" downloading pages from github

Henrik Grubbström <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Organization Roxen Internet Software AB
Message-ID <[email protected]>
On Sat, 31 May 2014, Chris Angelico wrote:

> Example code:
>
> void data_available(object q) {exit(0,"Success! File begins:
[...]
>
> This runs just fine on Pike 7.8 (although the canonical URL has to be
> manually switched out for its redirection target), but on 8.0 from
> trunk, it fails with a noisy exception thrown (usually twice) inside
> the backend:
>
> set_cipher_suite: Unsupported key exchange method: 12
> lib/modules/SSL.pmod/session.pike:369:
[...]

Key exchange method #12 is SSL.Constants.KE_ecdhe_rsa. The problem is 
probably that your Pike is compiled with an old Nettle without support 
for elliptic curves.

I've now fixed the code so that it doesn't announce support for elliptic 
curves if the low-level support is missing.

Thanks for the report.

> Anyone know what's going on?
>
> ChrisA

-- 
Henrik Grubbström					[email protected]
Roxen Internet Software AB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.