IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Curve25519/448 key agreement for SSH



On Wed, 18 Nov 2015, Simon Josefsson wrote:

> This is another update, clarifying the encoding issue a bit further and
> improving language (thank you Denis).
> 
>   https://tools.ietf.org/html/draft-josefsson-ssh-curves-02
> 
> A discussion on CFRG came up recently about checking for the all-zero
> shared secret.  Does anyone know if libssh or OpenSSH (or anyone else)
> performs this check?  Not doing that has apparently led to real security
> problems.  For more background, see:
> 
>   http://thread.gmane.org/gmane.ietf.irtf.cfrg/6228
> 
> Thoughts on whether we should add a MUST to require checking the derived
> secret for the all-zero value?

OpenSSH performs the all-zero check

https://anongit.mindrot.org/openssh.git/tree/kexc25519.c?id=8ca915fc761519dd1f7766a550ec597a81db5646#n69

I think it should be a MUST.

-d



Home | Main Index | Thread Index | Old Index