FS#45515 - [openssh] make /etc/ssh/moduli a backup file
Attached to Project:
Arch Linux
Opened by Christian Hesse (eworm) - Wednesday, 01 July 2015, 08:24 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 24 November 2015, 00:39 GMT
Opened by Christian Hesse (eworm) - Wednesday, 01 July 2015, 08:24 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 24 November 2015, 00:39 GMT
|
Details
Description:
Openssh updated the /etc/ssh/moduli file and removed small primes (with size 1023/1024), which breaks old software for me. In general that is ok, I re-added some weak primes to make it work again. However this will be overwritten by next openssh package as /etc/ssh/moduli is not a backup file. Please make it a backup file. Additional info: openssh 6.9p1-1 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Tuesday, 24 November 2015, 00:39 GMT
Reason for closing: Won't implement
Tuesday, 24 November 2015, 00:39 GMT
Reason for closing: Won't implement
Now I can certainly understand that you wish to keep compatibility with legacy implementations at the cost of security. That is your right. However that is definitely not a use-case I (and certainly upstream) wish to encourage. Some would say you could just as well use telnet to communicate with such legacy software...
At any rate, if you are serious about enabling insecure moduli in openssh, I do not think it would be too much to ask that you either:
- willingly overwrite the moduli file after each Arch upgrade;
- fork and maintain your own openssh package.
Would any of the above be an acceptable solution for you?
But I can understand that you do not want to risk any security issues. So yes, I can handle that myself. ;)
Users could fork and maintain our own openssh package as Gaetan points out, but that seems a higher energy solution than simply adding it to the backup array in the official package. This proposed modification would both 1) safe-guard an overwrite only on systems where the file was purposefully modified and 2) have no effect for those who have not modified the file.