YubiKey
Overview
YubiKey can be used as 2FA in GitHub, GitLab, Google Account, … ?
Important
Set the PIN for each YubiKey.
Install YubiKey manager
Fedora
sudo dnf install ykman
macOs
brew install ykman
Usage
List connected YubiKeys
ykman list
Output should be similar to this:
YubiKey 5C NFC (5.7.1) [OTP+FIDO+CCID] Serial: 12345678
Set PIN
ykman fido access change-pin
Check credentials
ykman fido credentials list
Output should be similar to this:
Credential ID RP ID Username Display name
23478ea6... google.com john@doe.com John Doe
a4bc21db... google.com john@doe.org John Doe