diff options
author | Kenny Root <kenny@the-b.org> | 2015-04-05 23:34:54 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-04-05 23:41:14 -0700 |
commit | 28b8406580e9c0565fc2090117bc06d5c28b79c2 (patch) | |
tree | 79df1d68fe485f0de14dccd980f32d1f05c73222 /CHANGELOG.md | |
parent | 149080bc7dcbdbe310e39891e6a9dff0ceec8e8b (diff) | |
download | connectbot-28b8406580e9c0565fc2090117bc06d5c28b79c2.tar.gz connectbot-28b8406580e9c0565fc2090117bc06d5c28b79c2.tar.bz2 connectbot-28b8406580e9c0565fc2090117bc06d5c28b79c2.zip |
ECDH there should be no negative bigint
Since the hash is over the canonical values of the agreed parameters
when the shared secret was encoded as a negative biginteger, the two
sides didn't agree. Make sure this doesn't occur by setting the bigint
signum to 1.
Change-Id: Ib0581cd7dc280dcce8cc3309d7102f8f5a444158
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c857f0..06facf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Key exchange and host key algorithm preference order was not being respected. +- ECDH would sometimes fail because the shared secret would be encoded + as a negative integer. - DSA host key support was broken from the beginning of the v1.8 series. ### Added |