fpoirotte / pssht

SSH server written in PHP
https://pssht.readthedocs.io
MIT License
43 stars 9 forks source link

Add support for UMAC #2

Closed fpoirotte closed 9 years ago

fpoirotte commented 10 years ago

The objective behind this issue is to add support for UMAC in Pssht. UMAC is known to be supported by at least OpenSSH.

See the following websites for more information:

fpoirotte commented 10 years ago

OpenSSH uses the following MAC names for UMAC:

while the draft defines the following MAC methods:

Not really sure what the differences are... guess I'll just have to find out along the way. The EtM variants are pretty obvious. As for the "@openssh.com" suffix, maybe they added it later as an indicator of a custom vendor extension with no other change to the implementation proposed in the draft.

fpoirotte commented 10 years ago

Good news, the umac-64 vs. umac-64@openssh.com topic is now closed based on http://cpansearch.perl.org/src/SALVA/Net-SFTP-Foreign-1.77/rfc/OpenSSH-protocol-deviations.txt

They both implement the same algorithm.