diff options
author | Damien Tournoud <damien@platform.sh> | 2015-12-23 18:26:18 -0800 |
---|---|---|
committer | Damien Tournoud <damien@platform.sh> | 2015-12-23 18:26:21 -0800 |
commit | 7109ddf9e5feabf04016b00d681def30a4acbca7 (patch) | |
tree | 2dd616e0968f7b8dea90bff4b3ef74538a5fcbb7 /.travis.yml | |
parent | fa0e17f9ef33d75b62134d35adfd21d3211c6d02 (diff) |
primes: min and max should be inclusive.
As seen in the [OpenSSH source code][1], the min and max values
of the 'diffie-hellman-group-exchange-*' key exchange types are
supposed to be inclusive.
In the current state of the code and a standard /etc/ssh/moduli
file, OpenSSH client sends min=1024, max=8192, prefer=8192,
but paramiko returns one of the 7680 bits prime instead of one
of the 8192 bits ones.
[1]: https://github.com/openssh/openssh-portable/blob/master/kexgexc.c#L111
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions