Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (2024)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (1)

Ich habe seit kurzem einen neuen YubiKey 5C NFC. In diesem Beitrag zeige ich, wie der Hardwaretoken eingerichtet und für die unterschiedlichen Anforderungen eingerichtet und konfiguriert wird.

Bisher hatte ich einen YubiKey 5 Ci, der nach wie vor noch im Einsatz ist und über den ich bereits einige Beiträge geschrieben habe.

YubiKey Themenseite

Hier geht es zur 👉 YubiKey Themenseite, dort findest du noch mehr Beiträge rund um den YubiKey.

Jeder YubiKey, egal welches Modell, wird mit Standardpasswörtern ausgeliefert, die vor jeder Verwendung zwingend zu ändern sind! In diesem Beitrag zeige ich wie ihr die Standard-PINs ganz einfach und schnell durch eure eigenen ersetzen könnt.

Hardware Setup und verwendetes Betriebssystem

Für diese Konfiguration verwende ich Windows 10 auf einem ganz normalen Laptop.

Der YubiKey 5C NFC ist einer der neueren Hardwaretokens aus dem Hause Yubico und verfügt über eine USB-C- und eine NFC-Schnittstelle. Über diese kann er mit allen modernen Endgeräten, angefangen vom normalen PC und Laptop bis hin zum NFC-fähigen Smartphone kommunizieren.

Meinen bisherigen YubiKey YubiKey 5 Ci verwende ich nach wie vor. Der Unterschied meiner beiden Tokens lässt sich am besten im Vergleich darstellen. In den beiden Screenshots sieht man, dass beide über den gleichen Funktionsumfang verfügen. Der YubiKey 5C NFC neben der USB- auch über eine NFC-Schnittstelle verfügt.

YubiKey 5CiYubiKey 5C NFC
Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (2)Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (3)
Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (4)Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (5)

Der YubiKey 5C NFC verfügt über sehr umfangreiche Features, die über die Managementsoftware aktiviert und deaktiviert werden können, je nachdem was der Benutzer benötigt.

  • Support for WebAuthn,
  • FIDO2,
  • FIDO U2F,
  • smart card (PIV),
  • Yubico OTP,
  • OpenPGP,
  • OATH-TOTP,
  • OATH-HOTP,
  • Challenge-Response

Damit ihr den YubiKey konfigurieren könnt, benötigt ihr das Tool YubiKey Manager, welches ihr von der Website von Yubico kostenlos herunterladen könnt. https://www.yubico.com/products/services-software/download/yubikey-manager/

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (6)

Solltet ihr bereits auf eurem Client oder in anderen Anleitung das Vorgänger-Tool YubiKey personalization tools finden, dann wechselt unbedingt zum neuen Tool.

Das YubiKey personalization tools wird nicht mehr weiterentwickelt.

Des weiteren ist der YubiKey Manager wesentlich benutzerfreundlicher und viel einfacher in der Bedienung.

Ladet euch also den YubiKey Manager von der Yubico-Website und installiert das Programm auf eurem Client.

Den YubiKey 5C NFC schließt ihr nach der Installation über die USB-C-Schnittstelle an eurem Client an.

YubiKey Manager starten

Den YubiKey Manager müsst ihr auf einem Windows-PC zwingend als Administrator starten, um den vollen Funktionsumfang nutzen zu können.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (7)

YubiKey 5C NFC Standard-PINs ändern

Startet also den YubiKey Manager als Administrator und euer YubiKey wird automatisch erkannt.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (8)

Es wird euch ein Bild eures YubiKey angezeigt mit den Informationen über die Firmware und die Seriennummer.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (9)

Klickt euch im ersten Schritt durch zu Interfaces. Dort werden die aktiven Features pro Interface (= Schnittstelle) aufgelistet. Habt ihr den YubiKey 5C NFC könnt ihr die Dienste auch unterschiedlich für die USB- und die NFC-Schnittstelle aktivieren bzw. deaktivieren.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (10)

Personal Identity Verification (PIV)

Die "PIV", oder die Personal Identity Verification, wird für den Zugriff auf Private Schlüssel die direkt auf dem Hardwaretoken hinterlegt sind benötigt.

Das ist dann wichtig, wenn ihr auf dem YubiKey euren privaten PGP-Schlüssel hinterlegt und diesen für E-Mail-Verschlüsselung und/oder für die SSH-Anmeldung an euren Servern und Systemen verwenden möchtet. (Dazu mehr in einem anderen Blog-Beitrag.)

Das Ganze könnt ihr in der offiziellen Dokumentation nachlesen 👉 https://developers.yubico.com/yubico-piv-tool/YubiKey_PIV_introduction.html

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (11)

Es werden euch drei Optionen angezeigt:

  1. PIN Management
  2. Certificates
  3. Reset

Der PIN und der PUK sind standardmäßig von YubiKey auf "123456" und "12345678" festgelegt. Diese sind zu ändern und durch eure eigenen zu ersetzen.

PIN

Den PIN müsst ihr jedes Mal eingeben, wenn ein Zugriff auf den hinterlegten privaten Schlüssel erfolgt. Nach drei erfolglosen PIN-Eingaben wird der Schlüssel gesperrt und das Entsperren ist nur noch mit der PUK möglich. (Das Verfahren solltet euch bereits von eurer Handy-Plastik-SIM bekannt sein, da gibt es auch eine PIN und eine PUK.)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (12)

Empfehlung für eure neue PIN Die PIN müsst ihr relativ häufig eingeben, deshalb ist meine Empfehlung nur Zahlen zu verwenden oder einen einfachen Buchstaben/Zahlen-Kombination.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (13)

Die PIN muss zwischen 6 und 8 Charakters lang sein, was euch angezeigt wird. Nach der Eingabe klickt ihr auf den Button Change PIN

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (14)]

PUK

Die PIN habt ihr nun erfolgreich geändert. Die PUK ist immer nicht der von Yubico vergebenen Standard "12345678" der noch zu ändern ist, um den Zugang abzusichern. Ihr könnt dafür auch den "Management Key" verwenden, wie in der Doku beschrieben. Ich habe mich jedoch für den PUK entschieden.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (15)

Die PUK muss, wie der PIN, zwischen 6 und 8 Charakters lang sein, was euch angezeigt wird. Nach der Eingabe klickt ihr auf den Button Change PUK

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (16)

Es erscheint eine kurze Meldung, dass der PUK erfolgreich geändert wurde.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (17)

Management Key

Nachdem nun die PIN und die PUK geändert sind, ist die Funktion Management Key zu deaktivieren. Es wird PUK verwendet.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (18)

Wählt ihr nun nur Protect with PIN aus könnt ihr die Änderung nicht speichern.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (19)

Ihr müsst zum Speichern einen "Management Key" erzeugen ...

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (20)

... und zum Speichern euren neuen PIN eingeben.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (21)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (22)

FIDO2

FIDO2 ist DER neue Standard, um den Zugriff auf Benutzerkonten sicherer zu gestalten. Das Ziel ist die Anmeldung mit Passwörtern durch die passwortlose Anmeldung mit den sehr sicheren Hardwaretoken, wie den YubiKey, zu ersetzen. Eine ausführliche Beschreibung findet ihr auf der Seite der FIDO Alliance.

Ein gutes Beispiel hierfür ist die Anmeldung an Microsoft 365, die ich hier beschreibe. 👉 Passwortlose Anmeldung an Microsoft 365

Mittlerweile gibt es auch immer mehr Dienste, die dieses Verfahren der Anmeldung unterstützen.

Ich habe hier im Blog bereits einen Beitrag dazu geschrieben, da Nextcloud das Anmeldeverfahren bereits seit einiger Zeit ebenfalls unterstützt. 👉 Nextcloud – FIDO2 und WebAuthn zur Anmeldung nutzen

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (23)

Der PIN bzw. das Passwort ändert ihr mit einem Klick auf FIDO2 PIN. Das Wort PIN ist vielleicht ein wenig irreführend, ihr könnt auch ein langes Passwort mit einer komplexen Zusammensetzung verwenden. Es sollte jedoch leicht zu merken sein, da ihr es ggf. auch recht häufig eingeben müsst.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (24)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (25)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (26)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (27)

Damit sind nun alle Standardpasswörter auf dem YubiKey geändert und der Hardwaretoken kann für eure Anforderungen verwendet werden.

YubiKey Themenseite

Hier geht es zur 👉 YubiKey Themenseite, dort findest du noch mehr Beiträge rund um den YubiKey.

Gib mir gerne einen Kaffee ☕ aus ❗️

Wenn dir meine Beiträge gefallen und geholfen haben, dann kannst du mir gerne einen Kaffee ☕️ ausgeben.

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (28)

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (30)
Bitcoin Address: bc1qfuz93hw2fhdvf*ckf6mlxlk8zdadvnktppkzqzj

Follow Me❗️

Mastodon Mastodon RSS codeberg.org/sst RSS

Stefans Weblog - YubiKey 5C NFC - Erste Schritte - Installation und Setup (2024)

FAQs

How do I setup my YubiKey for the first time? ›

If you're using a YubiKey (not another hardware authenticator), here's what you need to do:
  1. Plug in your YubiKey.
  2. Go to Yubico.com/setup and click your device.
  3. In the Compatible accounts and services section, browse the list of supported apps and services, and select the ones you want to secure with your device.
Nov 27, 2023

How do I activate YubiKey 5 NFC? ›

How to Activate NFC: Plug in for Power: Simply connect your YubiKey to any USB power source, such as a computer, for at least 3 seconds. That's It!: Once powered, NFC will be activated and ready for use.

What is the YubiKey 5 NFC used for? ›

You can use the YubiKey 5C NFC to generate time-based one-time password codes (TOTP), too. Currently, you can store TOTP data for up to 64 websites. You can also configure a YubiKey 5 key to work as a PIV-compatible smart card.

What is the default admin pin for YubiKey 5C? ›

The default PIN code is 123456.

Should I leave my YubiKey plugged in all the time? ›

Do I need to keep my yubikey plugged in all the time? A. No, you only need to insert your yubikey when you are prompted to do so during login. Leaving it plugged in could result in the yubikey being lost or damaged.

Do I still need a password with YubiKey? ›

YubiKeys make passwordless possible

Passwordless can be achieved using legacy Smart Card protocols, or modern FIDO2 / Passkey authentication secured by PIN or biometric identification. The multi-protocol YubiKey offers total flexibility, and can store up to 100 passkey credentials.

Do I need to register my YubiKey? ›

Each YubiKey must be registered individually. For each service you set up, have your spare YubiKey ready and add it right after the first one before moving to the next.

What is the difference between YubiKey 5 and Security Key? ›

The Security Key Series differs from a YubiKey 5 Series in that it comes only with the FIDO (FIDO2/FIDO U2F) protocol and the non-Enterprise Edition does not have a serial number. It is only available in USB-A + NFC and USB-C + NFC form factors.

How long does a YubiKey last? ›

A Yubikey will essentially last forever, and if you stay clear of the insanity that is Passkeys its Webauthn element can support an infinite number of websites. Portability: I have a smartphone, a work laptop, a home laptop, and a home desktop. My Yubikey has USB and NFC, so it can trivially be used with all of them.

How many passwords can YubiKey hold? ›

YubiKeys in the 5 Series can hold up to 25 resident keys.

What is the factory reset PIN for YubiKey? ›

Windows
  1. Press CRTL-ALT-DELETE on your keyboard.
  2. Select Change a password.
  3. Click on Sign-in options.
  4. Select the smart card icon.
  5. Verify that you receive the message, ”Yubico Yubikey 4 OTP+U2F+CCID 0)".
  6. Change your PIN. 6.1 Enter Current PIN. 6.2 Enter New PIN (6 to 8 alphabetic or numeric characters). ...
  7. Click OK.

How many YubiKeys to buy? ›

A: Many of our customers actually purchase several spares for maximum security and peace of mind. This is not a bad idea when guarding extremely critical accounts. Starting off, you should be fine with 1-2 spare keys.

Can YubiKey store passwords? ›

The OTP application slots on the YubiKey are capable of storing static passwords in place of other configurations. As the name implies, a static password is an unchanging string of characters, much like the passwords you create for various online accounts.

How to register a new YubiKey? ›

When registering your first YubiKey, you will be given a secret from the service in the form of a QR code:
  1. Save this QR code! ...
  2. Then you will scan the QR code, with the Yubico Authenticator app, and then scan your YubiKey, to link the two.
May 24, 2021

How do I know if my YubiKey is working? ›

Testing the Credential
  • Insert the YubiKey into the computer.
  • Click the Yubico OTP button. The following screen, "Test your YubiKey with Yubico OTP" shows the cursor blinking in the Yubico OTP field.
  • Tap the metal button or contact on the YubiKey. The OTP appears in the Yubico OTP field. ...
  • Click Validate.
May 7, 2020

How do I reset my YubiKey for a new user? ›

Unplug the YubiKey once and then plug it back in via the USB port. Touch the YubiKey on the sensor (golden area) twice within 10 seconds to confirm the reset. The YubiKey has been successfully reset. Afterwards, if necessary, you can set a new PIN again using the Security Key PIN function.

Do you tap or insert your YubiKey? ›

Insert YubiKey & tap

On a computer, insert the YubiKey into a USB-port and touch the YubiKey to verify you are human and not a remote hacker.

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5283

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.