You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/12/29 09:56:13 UTC

[jira] [Resolved] (SSHD-391) Incorrect defaulting to DHG1 in 'No suitable primes found' scenario

     [ https://issues.apache.org/jira/browse/SSHD-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SSHD-391.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=3ddd221b3c660a41a932ff7a0e26ac692ede7b3e

> Incorrect defaulting to DHG1 in 'No suitable primes found' scenario
> -------------------------------------------------------------------
>
>                 Key: SSHD-391
>                 URL: https://issues.apache.org/jira/browse/SSHD-391
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Pawel Sm7
>            Assignee: Guillaume Nodet
>             Fix For: 0.14.0
>
>
> In DHGEX.chooseDH() for the case 'No suitable primes found, defaulting to DHG1' we need to swap P1 and G.
> It should be:
> return getDH(new BigInteger(DHGroupData.getP1()), new
> BigInteger(DHGroupData.getG()));
> instead of:
> return getDH(new BigInteger(DHGroupData.getG()), new
> BigInteger(DHGroupData.getP1()));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)