Re: Terrapin
Simon Tatham <[email protected]> Thu, 28 Dec 2023 17:48:31 +0000
| Newsgroups | gmane.ietf.secsh |
|---|---|
| Message-ID | <[email protected]> |
Mouse <[email protected]> writes: > In the EXT_INFO case, I really think the right thing would have been to > make it a global request. Unfortunately, you need to send it before userauth if you're going to use it to change RSA signature types _during_ userauth. And global requests are part of the ssh-connection subprotocol, which doesn't start until userauth is finished. It's not an incorrectness in an implementation that it rejects global requests before their time! Cheers, Simon -- import hashlib; print((lambda p,q,g,y,r,s,m: (lambda w:(pow(g,int(hashlib.sha1( m.encode('ascii')).hexdigest(),16)*w%q,p)*pow(y,r*w%q,p)%p)%q)(pow(s,q-2,q))==r and s%q!=0 and m)(12342649995480866419, 2278082317364501, 1670428356600652640, 5398151833726432125, 645223105888478, 1916678356240619, "<[email protected]>"))