Re: bad client public DH value
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: Mon, 03 May 2010 17:51:40 -0400
What's your p value, and did you perhaps make a typo and really mean that you set *g* to 2? If so, maybe this is the reason: in dh.c:
/* if g==2 and bits_set==1 then computing log_g(dh_pub) is trivial */
if (bits_set > 1)
return 1;
logit("invalid public DH value (%d/%d)", bits_set, BN_num_bits(dh->p));
return 0;
--
Richard Silverman
res@xxxxxxxx
.
- Next by Date: Interpreting the random-art from ssh-keygen
- Next by thread: Interpreting the random-art from ssh-keygen
- Index(es):