2016-12-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã¯ãhttp2 Advent Calendar 2016ã®25æ¥ç®ã®è¨äºã§ãããã®è¨äºã§ã¯ãHaskellã§TLS 1.3ãéçºããéã«é£ããã£ãç¹ãã¾ã¨ãã¾ããèªåã®ããã®è¦æ¸ã§ããTLS 1.3ã®ã¿ããã«ã¹ã¯ã©ããã§æ¸ãã¨ãããã¾ã§é£ãããªãã®ããããã¾ããããTLS 1.2以åã¨å ±åâ¦
ããã¯ãhttp2 Advent Calendar 2016ã®24æ¥ç®ã®è¨äºã§ãããã®è¨äºã§ã¯ãTLS 1.3 ã®4çªç®ã®ãã³ãã·ã§ã¤ã¯ã§ãã 0RTT ã«ã¤ãã¦èª¬æãã¾ãã0RTTã¨ã¯ãã¢ããªã±ã¼ã·ã§ã³ãç®çã®éä¿¡ãå§ããã¾ã§ã«ãä¸ä½ã®å±¤ã§ãã±ããã®ããã¨ãããªããã¨ãæå³ãã¾ããæºâ¦
ããã¯ãhttp2 Advent Calendar 2016ã®13æ¥ç®ã®è¨äºã§ããä»æ¥ã¯ãTLS 1.3 ã®ç¬¬ä¸çªç®ã®ãã³ãã·ã§ã¤ã¯ã§ãã PSK (Pre Shared Key)ã«ã¤ãã¦èª¬æãã¾ããã¿ãªããã¯ãPre Shared Key ã¨ããè¨èããä½ãã¤ã¡ã¼ã¸ãã¾ããï¼ å¤ãã®æ¹ã¯ãéä¿¡è·¯ã®æå·åã«ä½¿ãâ¦
ããã¯ãhttp2 Advent Calendar 2016ã®12æ¥ç®ã®è¨äºã§ããä»æ¥ã¯ã第2çªç®ã®ãã³ãã·ã§ã¤ã¯ã§ãã HRR (Hello Retry Request)ã«ã¤ãã¦èª¬æãã¾ããHRR ã¨ã¯ããµã¼ããã¯ã©ã¤ã¢ã³ãã« Hello ãåè¦æ±ãããã«ãã³ãã·ã§ã¤ã¯ãããç´ããã³ãã·ã§ã¤ã¯ã§ãã以â¦
ããã¯ãhttp2 Advent Calendar 2016ã®8æ¥ç®ã®è¨äºã§ããä»åã¯TLS 1.3ã®ãã«ãã³ãã·ã§ã¤ã¯ã«ã¤ãã¦æ¸ãã¾ãã TLS 1.2ã®ãã«ãã³ãã·ã§ã¤ã¯ ããããã¨ãã¦ãRFC5246ããTLS 1.2ã®ãã«ãã³ãã·ã§ã¤ã¯ã®å³ãå°ãå¤æ´ãã¦æç²ãã¾ããè§ã«ãã³ã¯æå·åããã¦â¦
ããã¯ãhttp2 Advent Calendar 2016ã®7æ¥ç®ã®è¨äºã§ããä»åã¯TLSã®ãã¼ã¸ã§ã³ã«ã¤ãã¦æ¸ãã¾ããTLSã®ãã¼ã¸ã§ã³ã¯ãClient Hello 㨠Server Hello ã交æãããã¨ã§æ±ºãã¾ãã Client Hello TLS 1.3 ã® Client Hello ã¯ãTLS 1.2 ã¨äºææ§ãç¶æããããâ¦
ããã¯ãhttp2 Advent Calendar 2016ã®3æ¥ç®ã®è¨äºã§ããä»åã¯æå·ã¹ã¤ã¼ãã«ã¤ãã¦æ¸ãã¾ããTLS 1.2 ã®æå·ã¹ã¤ã¼ãã¯ããã¨ãã°ä»¥ä¸ã®ãããªæãã§ããã TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 ããã¯æ¬¡ã®ãããªæå³ã§ãã éµäº¤æã¯ä½¿ãæ¨ã¦æ¥åDiffieâ¦
ããã¯ãhttp2 Advent Calendar 2016ã®1æ¥ç®ã®è¨äºã§ããç¾å¨ãIETF 㧠TLS 1.3 ã®æ¨æºåã大詰ããè¿ãã¦ãã¾ããåã TLS 1.3 ã®æ¨æºåã«åå ãã¦ãããä»æ§ã®åããã«ããé¨åãç´ããããTLS 1.3 ã Haskell ã§å®è£ ããããã¦ãã¾ãããã®éçºæ¥è¨ã®ã·ãªâ¦