{"id":64364,"date":"2026-05-14T05:42:37","date_gmt":"2026-05-14T02:42:37","guid":{"rendered":"https:\/\/lwallet.com.ua\/?p=64364"},"modified":"2026-05-14T05:42:39","modified_gmt":"2026-05-14T02:42:39","slug":"two-factor-authentication-on-github-yubikey","status":"publish","type":"post","link":"https:\/\/lwallet.com.ua\/en\/two-factor-authentication-on-github-yubikey\/","title":{"rendered":"How to set up two-factor authentication on GitHub using Yubikey?"},"content":{"rendered":"\n<p>Hello everyone!<br><br>Setting up <strong>two-factor authentication on GitHub<\/strong> with a YubiKey is one of the most reliable ways to keep your developer account safe. Not everyone knows how to ensure this security using modern methods. And to do so, all you need is to be the happy owner of a <a href=\"https:\/\/lwallet.com.ua\/en\/product-category\/security-keys-en\/#shop\" target=\"_blank\" rel=\"noreferrer noopener\">YubiKey hardware security key<\/a> for <strong>two-factor authentication<\/strong>.<strong><br><\/strong>Many people are aware of the existence of two-factor authentication, but not everyone knows <strong>how far this authentication technology has advanced<\/strong>. <br><br>In this article, we&#8217;ll look at how to set up two-factor authentication on GitHub by connecting a <strong>YubiKey hardware security key<\/strong> to the popular web service for hosting IT projects, <strong>GitHub<\/strong>, as an example. <br>Following the steps in this article will help you <strong>quickly and easily set up your two-factor authentication on GitHub using a key<\/strong>.<br>We will also look at logging in with <strong>Passkeys (logging in without the need to enter a username and password)<\/strong> using a YubiKey.<\/p>\n\n\n\n\n\n<h1 class=\"nm-block-heading wp-block-heading\">Two-factor authentication on GitHub: adding a security key<\/h1>\n\n\n\n<h3 class=\"nm-block-heading wp-block-heading\">Setting up two-factor authentication on GitHub<\/h3>\n\n\n\n<p>It&#8217;s important to mention: I&#8217;m using the Chrome browser to set up authentication.<\/p>\n\n\n\n<p>Official documentation on setting up two-factor authentication on GitHub can be found on the <a href=\"https:\/\/docs.github.com\/en\/authentication\/securing-your-account-with-two-factor-authentication-2fa\" target=\"_blank\" rel=\"noopener nofollow\">official GitHub website<\/a>. You can also learn more about the keys themselves on the <a href=\"https:\/\/www.yubico.com\/\" target=\"_blank\" rel=\"noopener nofollow\">Yubico website<\/a> \u2014 the manufacturer of YubiKey.<\/p>\n\n\n\n<p>So, we are on the GitHub home page. What&#8217;s next?<br>On the right, we can see <strong>our profile icon<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-1024x701.jpg\" alt=\"Two-factor authentication on GitHub \u2014 service homepage\" class=\"wp-image-62284\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic1.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>By clicking on it, we open a side context menu containing various functional menu items. We are interested in the <strong>&#8220;Settings&#8221;<\/strong> tab.<br>In the settings, we can edit our profile, change the theme, configure notifications, set a name, fill in information about ourselves, and much more. But we are interested in the <strong>&#8220;Password and authentication&#8221;<\/strong> section.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-1024x701.jpg\" alt=\"Profile menu for two-factor authentication on GitHub setup\" class=\"wp-image-62288\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic2.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-1024x701.jpg\" alt=\"Settings section in GitHub\" class=\"wp-image-62291\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic3.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After clicking on <strong>&#8220;Password and authentication&#8221;<\/strong>, we land on the <strong>Account Security<\/strong> page. Here we can change the password, set up two-factor authentication on GitHub, and add a security key in the <strong>&#8220;Two-factor authentication&#8221;<\/strong> section. That&#8217;s exactly what we need.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-1024x701.jpg\" alt=\"Password and authentication section for two-factor authentication on GitHub\" class=\"wp-image-62294\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic4.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"nm-block-heading wp-block-heading\">Adding a key for two-factor authentication on GitHub<\/h3>\n\n\n\n<p>Since March 2023, GitHub requires adding a two-factor authentication method to your account. This means you must enable this feature for your account in any case. <strong>The most reliable way<\/strong> is to set up two-factor authentication on GitHub using a <a href=\"https:\/\/lwallet.com.ua\/en\/product-category\/security-keys-en\/#shop\" target=\"_blank\" rel=\"noreferrer noopener\">YubiKey<\/a>.<\/p>\n\n\n\n<p>The advantage of using a YubiKey for two-factor authentication is the additional security this authentication method provides. After all, a YubiKey is a physical device that is always with you, which makes your account more resistant to various types of online fraud. With a YubiKey, you no longer need inconvenient authentication apps.<\/p>\n\n\n\n<p>However, in order to use the key, you first need to add any authentication method, either SMS or via an app. This is a <strong>mandatory requirement<\/strong>.<br>I added authentication via an app.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-1024x701.jpg\" alt=\"Choosing a method for two-factor authentication on GitHub\" class=\"wp-image-62990\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic38.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>I&#8217;m downloading the <strong>Google Authenticator<\/strong> app and then scanning the QR code inside the app.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-1024x701.jpg\" alt=\"QR code for connecting Google Authenticator\" class=\"wp-image-62993\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic39.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, we enter the 6-digit code, and that&#8217;s how our authentication is ready.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-1024x701.jpg\" alt=\"Confirming the code in GitHub\" class=\"wp-image-62996\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic40.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After that, we go to the <strong>&#8220;Two-factor authentication&#8221;<\/strong> section. We find the <strong>&#8220;Security Keys&#8221;<\/strong> row, click <strong>&#8220;Edit&#8221;<\/strong>, and then click <strong>&#8220;Register new security key&#8221;<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-1024x701.jpg\" alt=\"Two-factor authentication section in GitHub\" class=\"wp-image-62297\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic5.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-1024x701.jpg\" alt=\"Registering a new security key on GitHub\" class=\"wp-image-62300\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic6.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, we enter the name of our key. Let&#8217;s call it Primary key and click <strong>&#8220;Add&#8221;<\/strong>. (At this stage, don&#8217;t forget to insert the key into your PC).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-1024x701.jpg\" alt=\"Entering the YubiKey name\" class=\"wp-image-62303\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic7.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Important note: If you&#8217;re using a laptop with a fingerprint sensor, the first thing offered when adding a key is to add the fingerprint as a Passkey. I do not recommend using this method, so we click <strong>Save another way<\/strong> and choose the authentication method \u2014 <strong>security key<\/strong>.<\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-1024x701.jpg\" alt=\"Selecting the authentication method \u2014 security key\" class=\"wp-image-62985\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic37-2.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After this, the registration of our key on GitHub begins. <strong>Make sure<\/strong> the key is plugged into the USB port. Touch the key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-1024x701.jpg\" alt=\"Confirmation request for two-factor authentication on GitHub via key\" class=\"wp-image-62306\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic8.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>If you haven&#8217;t registered your key before, you&#8217;ll need to create a <strong>PIN code<\/strong> for your key and confirm it.<br>My key is already set up, so I just enter my PIN code for the key, click &#8220;Ok&#8221;, and then touch the key. <strong>(At this step, do not remove the key from the USB port).<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-1024x701.jpg\" alt=\"Entering the YubiKey PIN code\" class=\"wp-image-62309\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic9.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-1024x701.jpg\" alt=\"Confirming the key PIN code\" class=\"wp-image-62312\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic10.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Touch the key.<\/p>\n\n\n<div class=\"wp-block-image wp-block-image size-large is-style-default blog-img\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-1024x573.jpg\" alt=\"Touching the YubiKey sensor for registration\" class=\"wp-image-62315\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-1024x573.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-300x168.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-768x430.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-1536x860.jpg 1536w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-350x196.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11-680x381.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic11.jpg 1631w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>That&#8217;s it, the key has been added! Two-factor authentication on GitHub is now set up on your account. In the <strong>&#8220;Security Keys&#8221;<\/strong> section, we can see our newly added key.<\/p>\n\n\n\n<p>Also, GitHub allows you to add a Passkey as an <strong>authentication option<\/strong>.<br>To the right, we have the option to upgrade our SecurityKey to a PassKey. PassKey allows you to log into your account using the key without additionally entering a username and password \u2014 the FIDO2 technology. Next, we&#8217;ll look at exactly how these two login options differ from each other. But for now, let&#8217;s check how the account login with the key works.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-1024x701.jpg\" alt=\"Added key in the Security Keys section\" class=\"wp-image-62318\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic12.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"nm-block-heading wp-block-heading\">Testing the security key<\/h3>\n\n\n\n<p>I sign out of the account and land on the login page.<br>Next, to log into the account using our key, we need to enter the account username and password and click <strong>&#8220;Sign In&#8221;<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-1024x701.jpg\" alt=\"GitHub account login page\" class=\"wp-image-62321\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic13.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After this, a message will appear asking to confirm that it&#8217;s really you logging into the account. We insert the YubiKey into our PC and click <strong>&#8220;Use Security Key&#8221;<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-1024x701.jpg\" alt=\"Use Security Key prompt to log into GitHub\" class=\"wp-image-62324\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic14.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Your OS will ask you to touch the key. Touch the key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-1024x701.jpg\" alt=\"Touching the key to confirm login\" class=\"wp-image-62327\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic15.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Awesome! We&#8217;ve linked our key, set up two-factor authentication on GitHub, and verified that everything works.<\/p>\n\n\n\n<h1 class=\"nm-block-heading wp-block-heading\">Logging in without a username and password using PassKey technology<\/h1>\n\n\n\n<p>GitHub supports Passkey technology, so let&#8217;s upgrade our <strong>SecurityKey to a Passkey<\/strong>.<\/p>\n\n\n\n<p>Passkey is a new authentication technology that allows you to log into websites and applications without the need to enter your account username and password.<\/p>\n\n\n\n<h3 class=\"nm-block-heading wp-block-heading\">Adding a Passkey<\/h3>\n\n\n\n<p>Here we have two options, let&#8217;s look at them:<\/p>\n\n\n\n<h4 class=\"nm-block-heading wp-block-heading\">Option 1<\/h4>\n\n\n\n<p>Click <strong>&#8220;Upgrade primary key to passkey&#8221;<\/strong> and upgrade your SecurityKey to a PassKey.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-1024x701.jpg\" alt=\"Upgrade primary key to passkey button\" class=\"wp-image-62330\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic16.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>If we click <strong>&#8220;Upgrade primary key to passkey&#8221;<\/strong>, we land on a new page.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-1024x701.jpg\" alt=\"Key upgrade to Passkey page\" class=\"wp-image-62333\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic17.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, we follow the steps to upgrade our account.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-1024x701.jpg\" alt=\"Confirming the key upgrade\" class=\"wp-image-62336\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic18.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Enter the PIN for the key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-1024x701.jpg\" alt=\"Entering the PIN code for key upgrade\" class=\"wp-image-62342\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic20-1.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Touch the key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-1024x701.jpg\" alt=\"Touching the key for upgrade to Passkey\" class=\"wp-image-62345\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic21.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Give the key a name. In my case, this is <strong>&#8220;Primary key passkey&#8221;<\/strong>, and click &#8220;Done&#8221;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-1024x701.jpg\" alt=\"Saving the Passkey name\" class=\"wp-image-62348\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic22.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>All done! We have successfully upgraded our SecurityKey to a Passkey.<\/p>\n\n\n\n<h4 class=\"nm-block-heading wp-block-heading\">Option 2<\/h4>\n\n\n\n<p>Adding a Passkey from scratch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-1024x701.jpg\" alt=\"Passkeys section in GitHub settings\" class=\"wp-image-62351\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic23.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>We are interested in the <strong>&#8220;Passkeys&#8221;<\/strong> section, which we&#8217;ll find above the <strong>&#8220;Two-factor authentication&#8221;<\/strong> section.<\/p>\n\n\n\n<p>Click <strong>&#8220;Add a passkey&#8221;<\/strong> and start the setup. (At this stage, don&#8217;t forget to insert the key into your PC).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-1024x701.jpg\" alt=\"Add a passkey button\" class=\"wp-image-62354\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic24.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-1024x701.jpg\" alt=\"Starting setup of a new Passkey\" class=\"wp-image-62357\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic25.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>We create (if not previously created) and enter the password for our key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-1024x701.jpg\" alt=\"Creating a PIN code for the key\" class=\"wp-image-62360\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic26.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-1024x701.jpg\" alt=\"Entering the YubiKey PIN code\" class=\"wp-image-62363\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic27.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After this, you need to touch your key.<\/p>\n\n\n<div class=\"wp-block-image wp-block-image size-large is-style-default blog-img\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-1024x573.jpg\" alt=\"Touching the YubiKey sensor\" class=\"wp-image-62366\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-1024x573.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-300x168.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-768x430.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-1536x860.jpg 1536w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-350x196.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28-680x381.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic28.jpg 1631w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, you need to give the key a name and click the <strong>&#8220;Done&#8221;<\/strong> button.<br>That&#8217;s it, all done!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-1024x701.jpg\" alt=\"Saving the Passkey name\" class=\"wp-image-62369\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic29.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After successfully adding it, our key should appear in the settings.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-1024x701.jpg\" alt=\"List of added Passkeys in GitHub\" class=\"wp-image-62372\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic30.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>You can also choose your preferred authentication method on GitHub in the <strong>&#8220;Two-factor authentication&#8221;<\/strong> section. Since we just added a Passkey, let&#8217;s select the <strong>&#8220;Passkeys&#8221;<\/strong> option.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-1024x701.jpg\" alt=\"Selecting Passkeys as the two-factor authentication on GitHub method\" class=\"wp-image-62375\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic31.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"nm-block-heading wp-block-heading\">Logging into the account via Passkey<\/h3>\n\n\n\n<p>Let&#8217;s try to log into the account without a username and password, using the YubiKey. To do this, when logging into the account, you need to click the <strong>&#8220;Continue with passkey&#8221;<\/strong> button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-1024x701.jpg\" alt=\"Continue with passkey button on the login page\" class=\"wp-image-62378\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic32.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Confirm the login. Touch the sensor on the key, just like before during setup.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-1024x701.jpg\" alt=\"Login confirmation via Passkey\" class=\"wp-image-62385\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic33-1.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><br>After this, you need to enter the PIN code for the key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-1024x701.jpg\" alt=\"Entering the PIN code for Passkey login\" class=\"wp-image-62388\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic34.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>After this, touch the key once again.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-1024x701.jpg\" alt=\"Final touch of the key for login\" class=\"wp-image-62391\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic35.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"701\" src=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-1024x701.jpg\" alt=\"Successful GitHub login via Passkey\" class=\"wp-image-62394\" title=\"\" srcset=\"https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-1024x701.jpg 1024w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-300x205.jpg 300w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-768x526.jpg 768w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-350x240.jpg 350w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36-680x466.jpg 680w, https:\/\/lwallet.com.ua\/wp-content\/uploads\/2026\/03\/blog-how-to-setup-yubikey-on-github-27-02-26-content-pic36.jpg 1411w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>That&#8217;s it! We&#8217;ve logged into the account. It&#8217;s incredibly simple.<br>There&#8217;s no need to memorize a username and a complex password, or use inconvenient authentication apps.<br><br>Now you can log into your account using a modern authentication method thanks to the YubiKey. Two-factor authentication on GitHub via a hardware key is the most reliable way to protect a developer account.<\/p>\n\n\n\n<p><strong>Important note<\/strong>. If you use your key to log into your account, I recommend purchasing <a href=\"https:\/\/lwallet.com.ua\/en\/product\/yubikey-5-nfc\/\" target=\"_blank\" rel=\"noreferrer noopener\">two YubiKey keys<\/a> at once and setting them up sequentially. In case your primary key gets lost, you&#8217;ll be able to use the second, backup key to log into your account.<br><br>If you found this article on how to set up two-factor authentication on GitHub helpful, leave your comments and share your experience using security keys. See you next time!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone! Setting up two-factor authentication on GitHub with a YubiKey is one of the most reliable ways to keep your developer account safe. Not everyone knows how to ensure this security using modern methods. And to do so, all you need is to be the happy owner of a YubiKey hardware security key for &hellip;<\/p>\n","protected":false},"author":10,"featured_media":62954,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1006],"tags":[],"class_list":["post-64364","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security-keys"],"_links":{"self":[{"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/posts\/64364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/comments?post=64364"}],"version-history":[{"count":5,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/posts\/64364\/revisions"}],"predecessor-version":[{"id":64795,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/posts\/64364\/revisions\/64795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/media\/62954"}],"wp:attachment":[{"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/media?parent=64364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/categories?post=64364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lwallet.com.ua\/en\/wp-json\/wp\/v2\/tags?post=64364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}