Created
February 4, 2015 12:27
-
-
Save nappa/88ae7f9cbfb180f4c545 to your computer and use it in GitHub Desktop.
net-ssh を mac-then-encrypt させるためのメモ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ゴール | |
| OpenSSH >= 6.2 と下記 MACs を使って通信できること | |
| - hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com | |
| umac-64-etm@openssh.com,umac-128-etm@openssh.com はあきらめる | |
| # やること | |
| - lib/net/ssh/packet_stream.rb に大きく手を入れる | |
| -- etm か否かで分岐 | |
| - lib/net/ssh/transport/algorithms.rb に大きく手を入れる | |
| - テストコード書く | |
| - パフォーマンステスト | |
| -- E&M が劣化していないことを確認 | |
| -- EtM が遅すぎないことを確認 (遅すぎたらチューンするぜ) | |
| # やらないこと | |
| - MAC が全部 HMAC であることを前提にしている箇所(いっぱい……)を整理する | |
| -- UMAC やら AEAD やらをやる気が起きたらやる | |
| - 対応してないアルゴリズムが lib/net/ssh/transport/algorithms.rb に載ってる件 | |
| -- なんかがんばってるぽいので自分はノータッチでいく | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment