dragon-realms/dr-lich

New systems have an issue with dh key length

robbintt opened this issue · 5 comments

I just set this up on a custom client with ubuntu 18 and couldn’t download maps due to the dh key for the host:port listed under the ;repository download-mapdb command.

The cert needs upgraded to be more modern, i presume you have a 1024 bit dh key which doesn’t cut the mustard anymore. Thanks!

> ;repository download-mapdb                                                          
--- Lich: repository active.                                                         
[repository: error connecting to server: SSL_connect returned=1 errno=0 state=error: 
dh key too small]                                                                     
--- Lich: repository has exited.    

on more recent debian/ubuntu releases you can set

CipherString = DEFAULT@SECLEVEL=1

in /etc/ssl/openssl.cnf to work around it.

you probably could just delete that line entirely actually, that should be the default and the debian devs upped it

You'd need to talk to Tillmen, he controls repository.

https://github.com/matt-lowe/Lich would be the right place to report it, or email him, he controls the server repos runs on