[{"data":1,"prerenderedAt":134},["ShallowReactive",2],{"i-heroicons:building-office-2":3,"i-heroicons:computer-desktop":8,"i-heroicons:cloud":10,"i-heroicons:server":12,"i-heroicons:folder":14,"i-heroicons:chart-bar":16,"i-heroicons:lock-closed":18,"i-heroicons:rectangle-stack":20,"i-heroicons:scale":22,"i-heroicons:key":24,"i-heroicons:finger-print":26,"i-heroicons:cpu-chip":28,"i-heroicons:document-text":30,"i-heroicons:shield-exclamation":32,"i-heroicons:shield-check":34,"blog-en-twitter-two-factor-authentication-yubikey":36,"i-heroicons:user":132},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008zm0 3h.008v.008h-.008zm0 3h.008v.008h-.008z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M2.25 15a4.5 4.5 0 0 0 4.5 4.5H18a3.75 3.75 0 0 0 1.332-7.257a3 3 0 0 0-3.758-3.848a5.25 5.25 0 0 0-10.233 2.33A4.5 4.5 0 0 0 2.25 15\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008zm-3 0h.008v.008h-.008z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875zm6.75-4.5c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125zm6.75-4.5c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0q.354-.126.75-.128h10.5q.396.002.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.3 2.3 0 0 0-.75-.128H5.25q-.396.002-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":23},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48 48 0 0 0 12 4.5c-2.291 0-4.545.16-6.75.47m13.5 0q1.515.215 3 .52m-3-.52l2.62 10.726c.122.499-.106 1.028-.589 1.202a6 6 0 0 1-2.031.352a6 6 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202zm-16.5.52q1.485-.305 3-.52m0 0l2.62 10.726c.122.499-.106 1.028-.589 1.202a6 6 0 0 1-2.031.352a6 6 0 0 1-2.031-.352c-.483-.174-.711-.703-.59-1.202z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":25},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":27},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.269M5.742 6.364A7.47 7.47 0 0 0 4.5 10.5a7.46 7.46 0 0 1-1.15 3.993m1.989 3.559A11.2 11.2 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0q0 .79-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.7 18.7 0 0 1-2.485 5.33\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":29},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25m.75-12h9v9h-9z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":31},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":33},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 9v3.75m0-10.036A11.96 11.96 0 0 1 3.598 6A12 12 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622c5.176-1.332 9-6.03 9-11.622c0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286m0 13.036h.008v.008H12z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":35},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 12.75L11.25 15L15 9.75m-3-7.036A11.96 11.96 0 0 1 3.598 6A12 12 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623c5.176-1.332 9-6.03 9-11.622c0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285\"\u002F>",{"id":37,"documentId":38,"title":39,"content":40,"slug":41,"published":42,"createdAt":43,"updatedAt":43,"publishedAt":44,"locale":45,"authorManual":46,"cover":47,"tags":98,"seo":129,"author":51},89,"k77fgn8dswsmm62bou2hu49b","Two-factor Authentication Login to Twitter with YubiKey","\u003Cp>Updated: Mar 6, 2023\u003C\u002Fp>\n\u003Cp>I think that many people use Twitter, both individuals, and corporations. But have you ever paid attention to the security of the Twitter account to prevent the account from being hijacked by leaking the password?\u003C\u002Fp>\n\u003Cp>Twitter supports \u003Cstrong>two-factor authentication\u003C\u002Fstrong>, so by setting up two-factor authentication, you can take measures against unauthorized access such as hijacking.\u003C\u002Fp>\n\u003Cp>If you haven&#39;t set it yet, we recommend that you should do so.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Table of Contents\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-b5esu\">About Twitter&#39;s two-factor authentication\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-45a29\">How does it compare to other authentication methods?\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-a8i2p\">About the device to use\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-1dbqg\">How to set up two-factor authentication\u003C\u002Fa>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"#viewer-frq52\">a. When setting on a PC\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"#viewer-bcj91\">b. When setting on a smartphone\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-1sj29\">How to log in\u003C\u002Fa>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ca href=\"#viewer-462r6\">a. For PC\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"#viewer-9leqf\">b. For smartphone\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>\u003Ca href=\"#viewer-6ptb7\">Summary\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>\u003Cstrong>About Twitter\u003C\u002Fstrong>\u003Cstrong>&#39;s two-factor authentication\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_1_6e809df973.png\" alt=\"Twitterの2要素認証\">\u003C\u002Fp>\n\u003Cp>Twitter&#39;s two-factor authentication supports the following three types:\u003C\u002Fp>\n\u003Cp>\u003Cstrong>・Text message (SMS)\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>・Application app (TOTP)\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>・Security key (FIDO)\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>As described on Twitter&#39;s help center page, of the three methods, if you set the \u003Cstrong>&quot;Security key&quot;\u003C\u002Fstrong>, you don&#39;t need any other backup method. So, if you can use the security key, I recommend you set it up.\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fhelp.twitter.com\u002Fja\u002Fmanaging-your-account\u002Ftwo-factor-authentication\">https:\u002F\u002Fhelp.twitter.com\u002Fen\u002Fmanaging-your-account\u002Ftwo-factor-authentication\u003C\u002Fa>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Cstrong>Note:\u003C\u002Fstrong> If you add security keys to add extra protection to your two-factor authentication, you no longer need to use other backup methods to add extra protection. A security key can be used as the only authentication method, with other authentication methods turned off.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>In this article, I will introduce how to set a &quot;\u003Cstrong>Security key\u003C\u002Fstrong>&quot; using &quot;\u003Cstrong>YubiKey 5 NFC&quot;.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch2>\u003Cstrong>How does it compare to other authentication methods?\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>A little extra on the benefits of choosing a security key.\u003C\u002Fp>\n\u003Cp>Both text message (SMS) and authentication app (TOTP) are two-factor authentication methods for enhancing security, but both are for entering letters and numbers notified (or displayed in the app). So, it is challenging to prevent man-in-the-middle attacks such as phishing.\u003C\u002Fp>\n\u003Cp>Even though you have set up two-factor authentication to improve security, it turns out that the security is not as high as you thought.\u003C\u002Fp>\n\u003Cp>Security key uses the \u003Cstrong>FIDO\u003C\u002Fstrong> protocol, which \u003Cstrong>prevents man-in-the-middle attacks such as phishing\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>Therefore, you can get a high-security strength compared to other methods.\u003C\u002Fp>\n\u003Cp>Also, entering the text from SMS and TOTP is quite troublesome...\u003C\u002Fp>\n\u003Cp>If you set up a YubiKey, you will able to log in by touching the YubiKey without having to enter characters that are notified or displayed in the app each time.\u003C\u002Fp>\n\u003Ch2>\u003Cstrong>About the device to use\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>This time, I wanted to use Twitter on both my PC and my smartphone, and I wanted to use NFC on my smartphone, so I used the &quot;YubiKey 5 NFC&quot;, which has an NFC function.\u003C\u002Fp>\n\u003Cp>You can insert it into a USB port when using it on a PC, and authenticate via NFC when using it on a smartphone.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_2_99a6330fab.jpeg\" alt=\"YubiKey 5 NFC\">\u003C\u002Fp>\n\u003Cp>Any \u003Cstrong>FIDO-compatible key\u003C\u002Fstrong> can be used as a security key, so if you have a FIDO device other than the YubiKey, you can try the same setting.\u003C\u002Fp>\n\u003Ch2>\u003Cstrong>■\u003C\u002Fstrong> \u003Cstrong>How to set up two-factor authentication\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>You can set up two-factor authentication on your PC or smartphone.\u003C\u002Fp>\n\u003Ch3>\u003Cstrong>a.\u003C\u002Fstrong> \u003Cstrong>When setting on a PC\u003C\u002Fstrong>\u003C\u002Fh3>\n\u003Cp>From the Twitter menu, select &quot;Settings and privacy&quot;, then select &quot;Security&quot; under &quot;Security and account access&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_3_3e0a786475.png\" alt=\"Twitterの設定メニュー\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_4_3c66fb0872.png\" alt=\"Twitterの設定メニュー\">\u003C\u002Fp>\n\u003Cp>Select &quot;Two-factor authentication&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_5_8fa05ecf1c.png\" alt=\"2要素認証を選択\">\u003C\u002Fp>\n\u003Cp>From &quot;Two-factor authentication&quot;, check &quot;Security key&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_6_debc603a68.png\" alt=\"2要素認証 - セキュリティキー選択\">\u003C\u002Fp>\n\u003Cp>You will be asked for a password when you change the settings for the first time, so enter your password and select &quot;Confirm&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_7_b6f5c3e5be.png\" alt=\"パスワード入力\">\u003C\u002Fp>\n\u003Cp>The security key enrollment sequence begins. Select &quot;Add key&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_8_f5e161bb43.png\" alt=\"セキュリティキー登録開始\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_9_e7e5574a8d.png\" alt=\"セキュリティキーを追加\">\u003C\u002Fp>\n\u003Cp>Connect the YubiKey to your PC.\u003C\u002Fp>\n\u003Cp>Since the YubiKey 5 NFC is a FIDO2-compatible device, you will be prompted for a PIN.\u003C\u002Fp>\n\u003Cp>Enter your PIN and click OK.\u003C\u002Fp>\n\u003Cp>※ If your device supports U2F (in short, FIDO1), you will not be asked to enter the PIN because there is no PIN.\u003C\u002Fp>\n\u003Cp>Added on 2023\u002F3\u002F6:\u003C\u002Fp>\n\u003Cp>※ Even if your device supports FIDO2, you will not be asked to enter the PIN \u003Cstrong>if the PIN is not set on your device\u003C\u002Fstrong>, such as a new key or after resetting the PIN. Please note that the behavior changes depending on the setting state of the device.\u003C\u002Fp>\n\u003Cp>Also, PIN entry is required only during registration, and PIN entry is not required during authentication (when logging in), regardless of whether you are using a FIDO2-compatible device or a U2F device.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_10_213d576c68.png\" alt=\"PIN入力\">\u003C\u002Fp>\n\u003Cp>Touch your Yubikey.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_11_4ee7108f01.png\" alt=\"セキュリティキータッチ\">\u003C\u002Fp>\n\u003Cp>After successful registration, you will be presented with an input field to name your key.\u003C\u002Fp>\n\u003Cp>Arbitrarily set a descriptive name and click &quot;Next&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_12_6762e5e480.png\" alt=\"セキュリティキーの名前入力\">\u003C\u002Fp>\n\u003Cp>You have successfully registered your key.\u003C\u002Fp>\n\u003Cp>As mentioned in the message, it is a good idea to register multiple keys in advance if you have other keys in case of unexpected situations such as key loss.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_13_cfa16dbace.png\" alt=\"メッセージ表示\">\u003C\u002Fp>\n\u003Cp>The setup is complete.\u003C\u002Fp>\n\u003Cp>Click &quot;Get Backup Code&quot; to see your backup code.\u003C\u002Fp>\n\u003Cp>We recommend that you keep a backup code just in case you lose your key so that you can still log in.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_14_576f6ea4ec.png\" alt=\"キー登録完了\">\u003C\u002Fp>\n\u003Cp>When you return to the Two-factor authentication screen you can see that the &quot;Security key&quot; item is checked.\u003C\u002Fp>\n\u003Cp>If you want to register another security key, you can open &quot;Manage security keys&quot; and add another key.\u003C\u002Fp>\n\u003Cp>If you want to cancel the two-factor authentication of the security key, it will be canceled by removing this check.\u003C\u002Fp>\n\u003Cp>At that time, the registered YubiKey information will also be cleared, so if you want to set up two-factor authentication again, you will need to register the key again.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_15_cf9900ebd0.png\" alt=\"セキュリティキーにチェック済み\">\u003C\u002Fp>\n\u003Cp>After the setting, you will need the security key when you log in. However, once logged in, the logged-in state is maintained, so it seems that it is not necessary every time you open Twitter.\u003C\u002Fp>\n\u003Ch3>\u003Cstrong>b.\u003C\u002Fstrong> \u003Cstrong>When setting on a smartphone\u003C\u002Fstrong>\u003C\u002Fh3>\n\u003Cp>You can also register the security key from your smartphone. However, it seems that it cannot be done from the Twitter application, and a message is displayed to set from the browser.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fstatic.wixstatic.com\u002Fmedia\u002Fe87c25_76f45aa249544b7caa1e113ac6629917~mv2.jpg\u002Fv1\u002Ffill\u002Fw_147,h_301,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_avif,quality_auto\u002Fe87c25_76f45aa249544b7caa1e113ac6629917~mv2.jpg\" alt=\"ブラウザへの誘導\">\u003C\u002Fp>\n\u003Cp>Open Twitter in your browser and proceed with the settings.\u003C\u002Fp>\n\u003Cp>Open &quot;Security and account access&quot; of Settings and select &quot;Security&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_17_122b78e12a.jpeg\" alt=\"セキュリティとアカウントアクセス\">\u003C\u002Fp>\n\u003Cp>Select &quot;Two-factor authentication&quot;.\u003C\u002Fp>\n\u003Cp>Select &quot;Security key&quot;.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_18_56b5309723.jpeg\" alt=\"セキュリティ - 2要素認証\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_19_1f800e91f8.jpeg\" alt=\"セキュリティキーを選択\">\u003C\u002Fp>\n\u003Cp>You will be asked for a password when setting up for the first time. Enter and continue.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_20_447d847b80.png\" alt=\"パスワード入力\">\u003C\u002Fp>\n\u003Cp>The security key registration sequence will start, so follow the instruction on the screen.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_21_ba1a84ec5a.jpeg\" alt=\"登録開始\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_22_5626f56684.jpeg\" alt=\"セキュリティキー追加開始\">\u003C\u002Fp>\n\u003Cp>The security key registration will start.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_23_b6c28ba3ee.jpeg\" alt=\"セキュリティキー登録開始\">\u003C\u002Fp>\n\u003Cp>Since I am using an NFC compatible key this time, select &quot;Use security with NFC&quot;. If you have a USB Type-C or Bluetooth compatible device, please select the corresponding method.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_24_a5a18c41bf.jpeg\" alt=\"NFC選択\">\u003C\u002Fp>\n\u003Cp>You will be asked for a security key.\u003C\u002Fp>\n\u003Cp>In order to use NFC this time, it is necessary to \u003Cstrong>turn on the NFC function of your smartphone\u003C\u002Fstrong> in advance.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_25_851cf664cc.jpeg\" alt=\"NFC登録\">\u003C\u002Fp>\n\u003Cp>Hold your YubiKey over your smartphone&#39;s NFC position.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_26_339bf3342f.jpeg\" alt=\"NFCにYubiKeyをかざす\">\u003C\u002Fp>\n\u003Cp>Registration has been completed. Move your YubiKey away from your smartphone.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_27_441054a887.png\" alt=\"デバイス登録完了\">\u003C\u002Fp>\n\u003Cp>After successful registration, you will be presented with an input field to name your key.\u003C\u002Fp>\n\u003Cp>Arbitrarily set a descriptive name and click Next.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_28_6c63a2247f.jpeg\" alt=\"名前を付ける\">\u003C\u002Fp>\n\u003Cp>Your key has been registered. As mentioned in the message, it is a good idea to register multiple keys in advance if you have other keys in case of unexpected situation such as key loss.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_29_c5fd519c05.jpeg\" alt=\"登録後のメッセージ表示\">\u003C\u002Fp>\n\u003Cp>Setup is complete.\u003C\u002Fp>\n\u003Cp>Click &quot;Get Backup Code&quot; to see your backup code.\u003C\u002Fp>\n\u003Cp>We recommend that you keep a backup code just in case you lose your key so that you can still log in.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_30_de1d2e7ce2.jpeg\" alt=\"登録完了\">\u003C\u002Fp>\n\u003Cp>After setting, you will need a security key when you log in. However, once logged in, the logged in state is maintained, so it seems that it is not necessary every time you open Twitter.\u003C\u002Fp>\n\u003Ch2>\u003Cstrong>■\u003C\u002Fstrong> \u003Cstrong>How to log in\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>Now that the two-factor authentication setting is complete, let&#39;s check the behavior when logging in.\u003C\u002Fp>\n\u003Ch3>\u003Cstrong>a.\u003C\u002Fstrong> \u003Cstrong>For PC\u003C\u002Fstrong>\u003C\u002Fh3>\n\u003Cp>Let&#39;s take a look at the case of PC first.\u003C\u002Fp>\n\u003Cp>Enter your login ID on the login screen.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_31_c8b3ed4a70.png\" alt=\"PCからTwitterにログイン\">\u003C\u002Fp>\n\u003Cp>Enter your password.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_32_58a76e64d3.png\" alt=\"パスワード入力\">\u003C\u002Fp>\n\u003Cp>If two-factor authentication is not set, login will be completed here, but since the security key has been set, you will be asked for the security key.\u003C\u002Fp>\n\u003Cp>Connect your YubiKey to your PC.\u003C\u002Fp>\n\u003Cp>The display changes to ask you touch the key.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_33_3d4239ff02.png\" alt=\"セキュリティキーの要求メッセージ\">\u003C\u002Fp>\n\u003Cp>The center of the YubiKey will light up, so touch it.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_34_e773ab44f8.jpeg\" alt=\"YubiKeyにタッチ\">\u003C\u002Fp>\n\u003Cp>After successful authentication, login is completed.\u003C\u002Fp>\n\u003Cp>In this way, you can no longer log in without a YubiKey.\u003C\u002Fp>\n\u003Cp>It is pretty simple to operate, just plug it into a USB and touch it.\u003C\u002Fp>\n\u003Ch3>\u003Cstrong>b.\u003C\u002Fstrong> \u003Cstrong>For smartphone\u003C\u002Fstrong>\u003C\u002Fh3>\n\u003Ch3>\u003C\u002Fh3>\n\u003Cp>Let&#39;s look at the login behavior on a smartphone in the same way.\u003C\u002Fp>\n\u003Cp>Afeter entering the password, the authenticator selection is displayed.\u003C\u002Fp>\n\u003Cp>If you select &quot;Use a security key&quot; and proceed to the next step, authentication of the security key will start.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_35_afba4ad59f.jpeg\" alt=\"認証選択\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_36_e906ed9446.jpeg\" alt=\"セキュリティキーの使用\">\u003C\u002Fp>\n\u003Cp>Since NFC is used this time, select &quot;Use security with NFC&quot;.\u003C\u002Fp>\n\u003Cp>A message will be displayed asking you to hold the security key over your smartphone.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_24_a5a18c41bf.jpeg\" alt=\"セキュリティ使用方法選択\">\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_25_851cf664cc.jpeg\" alt=\"セキュリティキーをかざすメッセージ\">\u003C\u002Fp>\n\u003Cp>Hold your YubiKey over your smartphone&#39;s NFC position.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_26_339bf3342f.jpeg\" alt=\"スマホにYubiKeyをかざす\">\u003C\u002Fp>\n\u003Cp>After successful authentication, login is completed.\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_27_441054a887.png\" alt=\"認証成功\">\u003C\u002Fp>\n\u003Cp>Even on smartphone, it was possible to restrict login without a YubiKey.\u003C\u002Fp>\n\u003Cp>By using NFC, you can easily log in with two-factor authentication without the need to connect into USB port.\u003C\u002Fp>\n\u003Ch2>\u003Cstrong>Summary\u003C\u002Fstrong>\u003C\u002Fh2>\n\u003Cp>By using YubiKey for Twitter&#39;s two-factor authentication, \u003Cstrong>the security strength is higher\u003C\u002Fstrong> than other two-factor authentication methods, and itwas possible to log in with \u003Cstrong>a simpler operation\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>Above all, because it is \u003Cstrong>a physical key\u003C\u002Fstrong>, it also has the advantage of being easy to manage.\u003C\u002Fp>\n\u003Cp>It is difficult to notice if the password is stolen, but one of the advantage of the physical key is that if it is lost, it will be noticed immediately.\u003C\u002Fp>\n\u003Cp>The YubiKey used this time can be used to enhance the security of various services other than Twitter, so please try using it in various places.\u003C\u002Fp>\n\u003Cp>You can buy YubiKeys and other authentication devices we handle from the following sites.\u003C\u002Fp>\n\u003Cp>For a quote, please contact us using the inquiry form.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>YubiKeyShop Authorized Reseller\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fykey.yubion.com\u002F\">https:\u002F\u002Fykey.yubion.com\u002F\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Amazon\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwww.amazon.co.jp\u002Fs?me=ADKPGBH0XPL04&marketplaceID=A1VC38T7YXB528\">https:\u002F\u002Fwww.amazon.co.jp\u002Fs?me=ADKPGBH0XPL04&amp;marketplaceID=A1VC38T7YXB528\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Contact\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fwww.yubion.com\u002Fcontact-form\">https:\u002F\u002Fwww.yubion.com\u002Fcontact-form\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Thanks for reading until the end.\u003C\u002Fp>\n","twitter-two-factor-authentication-yubikey","2023-01-19","2026-04-28T07:09:26.581Z","2026-04-28T07:09:29.596Z","en","YubiOnstaff",{"id":48,"documentId":49,"name":50,"alternativeText":51,"caption":51,"focalPoint":51,"width":52,"height":53,"formats":54,"hash":93,"ext":56,"mime":60,"size":94,"url":95,"previewUrl":51,"provider":96,"provider_metadata":51,"createdAt":97,"updatedAt":97,"publishedAt":97},818,"f6oi0wty9qw1tvqpmb3v6y3z","blog-twitter-two-factor-authentication-yubikey-1.png",null,2372,1350,{"large":55,"small":66,"medium":75,"thumbnail":84},{"ext":56,"url":57,"etag":58,"hash":59,"mime":60,"name":61,"path":51,"size":62,"width":63,"height":64,"sizeInBytes":65},".png","https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Flarge_blog_twitter_two_factor_authentication_yubikey_1_6e809df973.png","264727a1aca713bd6a3d45abf363d98d","large_blog_twitter_two_factor_authentication_yubikey_1_6e809df973","image\u002Fpng","large_blog-twitter-two-factor-authentication-yubikey-1.png",107.48,1000,569,107483,{"ext":56,"url":67,"etag":68,"hash":69,"mime":60,"name":70,"path":51,"size":71,"width":72,"height":73,"sizeInBytes":74},"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fsmall_blog_twitter_two_factor_authentication_yubikey_1_6e809df973.png","c6920e91a2257791e00dd1b1cf0e32f2","small_blog_twitter_two_factor_authentication_yubikey_1_6e809df973","small_blog-twitter-two-factor-authentication-yubikey-1.png",39.73,500,285,39727,{"ext":56,"url":76,"etag":77,"hash":78,"mime":60,"name":79,"path":51,"size":80,"width":81,"height":82,"sizeInBytes":83},"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fmedium_blog_twitter_two_factor_authentication_yubikey_1_6e809df973.png","13f6d525873029313638e15e11d12515","medium_blog_twitter_two_factor_authentication_yubikey_1_6e809df973","medium_blog-twitter-two-factor-authentication-yubikey-1.png",71.66,750,427,71661,{"ext":56,"url":85,"etag":86,"hash":87,"mime":60,"name":88,"path":51,"size":89,"width":90,"height":91,"sizeInBytes":92},"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fthumbnail_blog_twitter_two_factor_authentication_yubikey_1_6e809df973.png","b9ebb952ff033f65a3e1d252cda7d48e","thumbnail_blog_twitter_two_factor_authentication_yubikey_1_6e809df973","thumbnail_blog-twitter-two-factor-authentication-yubikey-1.png",13.06,245,139,13060,"blog_twitter_two_factor_authentication_yubikey_1_6e809df973",69.54,"https:\u002F\u002Fdty9gbw7gew16.cloudfront.net\u002Fuploads\u002Fblog_twitter_two_factor_authentication_yubikey_1_6e809df973.png","aws-s3","2026-04-28T07:06:29.359Z",[99,105,111,117,123],{"id":100,"documentId":101,"name":102,"slug":51,"createdAt":103,"updatedAt":103,"publishedAt":104},12,"aire52m2y26x0uq2lb8m0nwy","FIDO","2026-04-28T01:49:06.707Z","2026-04-28T01:49:08.676Z",{"id":106,"documentId":107,"name":108,"slug":51,"createdAt":109,"updatedAt":109,"publishedAt":110},38,"jaxvzpgjcychnf89jrn3x4py","MFA","2026-04-28T05:19:23.626Z","2026-04-28T05:19:25.485Z",{"id":112,"documentId":113,"name":114,"slug":51,"createdAt":115,"updatedAt":115,"publishedAt":116},28,"ctdhuf8ybynihdblggcicfqi","SecurityKey","2026-04-28T05:16:07.443Z","2026-04-28T05:16:09.282Z",{"id":118,"documentId":119,"name":120,"slug":51,"createdAt":121,"updatedAt":121,"publishedAt":122},22,"e0nti57slk8t0ag21prw0zr2","YubiKey","2026-04-28T05:13:37.740Z","2026-04-28T05:13:39.579Z",{"id":124,"documentId":125,"name":126,"slug":51,"createdAt":127,"updatedAt":127,"publishedAt":128},112,"vai4rak43g28bzg219a14a3d","Twitter","2026-04-28T07:09:21.731Z","2026-04-28T07:09:23.576Z",{"id":130,"metaDescription":131},323,"Secure your Twitter account from hijacking. Learn how to easily set up two-factor authentication (2FA) with a YubiKey.",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":133},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0a3.75 3.75 0 0 1 7.5 0M4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.9 17.9 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632\"\u002F>",1783406313643]