What's New on YubiKey Firmware 5.7? (2024)

Yubico announced on its blog on May 21st that they will soon offer YubiKeys with the latest 5.7 firmware.

Reference) Yubico Blog

I recently received a YubiKey 5C NFC with the latest 5.7 firmware, so I'd like to try it out and see what has changed.

YubiKey Appearance

What's New on YubiKey Firmware 5.7? (1)

The YubiKey I obtained this time has a Type-C USB connection.

Opened the blister pack.

What's New on YubiKey Firmware 5.7? (2)
What's New on YubiKey Firmware 5.7? (3)

It looks the same as the previous YubiKey 5.

Only the firmware was updated, so this is to be expected.

Changes in the firmware update

From Yubico's blog, here are the changes in this firmware update:

  1. Expanded passkey and passwordless storage capabilities – accommodating up to 100 device-bound passkeys (up from 25), 64 OATH seeds (up from 32), 24 PIV certificates, and 2 OTP seeds at once for a total of 190 credentials.

  2. Expansion and enhancement of public key algorithms, including support for larger RSA keys (RSA-3072 and RSA-4096), Ed25519, and X25519 key types enhances key management functions and flexibility for organizations, aligning with DoD memo requirements on stronger public key algorithms. Migration to Yubico’s own cryptographic library that performs the underlying cryptographic operations (decryption, signing, etc.) for RSA and ECC.

  3. Enterprise attestation facilitates the retrieval of unique identifiers during FIDO2 registration and streamlining asset tracking by allowing identity providers to read the serial number from the YubiKey during FIDO2 registration.

  4. Enhanced PIN complexity settings across all YubiKey applications, including FIDO2, PIV, and OpenPGP.

  5. FIDO Client to Authenticator Protocol (CTAP) 2.1 implementation brings improvements around the FIDO2 PIN, including Force PIN Change and Minimum PIN Length, addressing PIN requirements in “enroll on behalf” scenarios.

About 1:

The number of passkeys that can be registered has been increased from 25 to 100, and the storage capacity for OATH and PIV certificate seeds has been increased.

Compared to before, some more services and products support passkeys, so it seems that the number that can be registered has been increased with an eye to the future.

At the moment, just a few people use more than the 25 passkeys limit, but considering the future, it's probably helpful to have more storage space.

About 2:

Algorithms with larger key lengths are now supported.

Originally, multiple key types were supported, but the number of algorithms with higher security strength is steadily increasing.

About 3:

During FIDO registration, the ID provider can read the serial number of the YubiKey and identify the YubiKey, making it possible to manage it by preventing personal YubiKeys from being registered.

However, to use this function, it seems that separate customization is required at the Yubico factory, so this function is not available on YubiKeys that have already been shipped.

About 4:

It is now possible to set the complexity of PIN used for FIDO2, PIV, etc.

However, this also requires separate customization at the Yubico factory, so it seems that this function is not available on YubiKeys that have already been shipped.

About 5:

It is now possible to restrict PIN settings, such as forcing PIN changes and minimum PIN length restrictions.

This function allows administrators to specify how PINs should be used before distributing YubiKeys to end users. So they can impose restrictions such as a minimum number of characters for PINs and make users change the PIN the first time, just like traditional password requirements.

This is a useful feature for system administrators who want to enforce security policies because if a company has a security policy, they can operate YubiKeys following that policy.

It seems that these PIN restriction settings can be tried using commands, so I would like to try them out right away.

Trying out PIN restriction settings

Since the settings are usually done by the administrator, let's assume the following as an example.

  • You are an administrator and you distribute YubiKeys to employees for FIDO authentication.

  • You want to meet the company security policy of a PIN of 10 digits or more.

  • You want each employee to set their PIN.

To carry out the above assumptions, we will try the following two settings on the YubiKey:

  1. Set the minimum number of digits for the PIN.

  2. Always change the PIN when using the device.

Now, let's get to the practical part.

Preparation for setting up

To change the PIN settings, you need to run commands using a tool called YubiKey Manager CLI.

※ Please note that this does not seem to be possible with the GUI YubiKey Manager.

Also, the command is compatible with YubiKey Manager CLI version 5.4.0 and later. So please download 5.4.0.

Go to the site and download 5.4.0.

What's New on YubiKey Firmware 5.7? (4)

Since my test environment is Windows, I'll download the Windows installer and run the installation.

Once the installation is complete, run the command prompt.

※ The command prompt must be launched with administrator privileges.

The commands were taken from the page pushed by Yubico.

Check the version of the command.

ykman -v
What's New on YubiKey Firmware 5.7? (5)

You can see that YubiKey Manager version 5.4.0 is installed.

Setting the default PIN

To restrict the PIN, it is necessary to set a default PIN beforehand.

※ If you try to set restrictions without setting a PIN, you will get the error "ERROR: No PIN is set."

The default PIN can be set from the Windows system settings or the GUI version of YubiKey Manager.

FIDO2 Security Key PIN Setting / Fingerprint Setting - for Windows

This time, I will set it using the CLI command.

Set a 6-digit PIN (123456) with the following command.

ykman fido access change-pin -n 123456

Now that the settings are complete, I will try setting PIN restrictions.

Set the minimum PIN length

Set the minimum PIN length to 10 digits with the following command.

ykman fido access set-min-length 10

When setting up, you will be asked for your current PIN. So enter the PIN (123456) you have already set.

What's New on YubiKey Firmware 5.7? (6)

The settings have been changed.

Let's try changing the PIN to one shorter than 10 digits.

Execute the following command, specifying an 8-digit PIN.

ykman fido access change-pin -n 12345678
What's New on YubiKey Firmware 5.7? (7)

Because the PIN is shorter than the specified 10 digits, an error was displayed and the change failed.

This is expected.

[Additional Information]

If you enter a short PIN when changing it from Windows system settings, you will see an error message saying "Try creating a PIN that 's more complex."

Please note that this message is not about the PIN length and can be confusing.

What's New on YubiKey Firmware 5.7? (8)

Next, try setting a 10-digit PIN.

ykman fido access change-pin -n 1234567890
What's New on YubiKey Firmware 5.7? (9)

This was successful without any errors.

One thing to note is that once you change the minimum PIN length, you can set a longer number of digits than you set it to, but you will not be able to set a shorter number of digits.

For example, after setting 10 digits, you can increase it to 12 digits, but you cannot decrease it to 8 digits.

If you set it incorrectly, you will need to reset the FIDO information.

Setting to force a PIN change

Next, let's try forcing the user to change their PIN before using the device.

Run the following command:

ykman fido access force-change

Enter your current PIN.

What's New on YubiKey Firmware 5.7? (10)

The setup is complete.

To check if the settings are correct, I will try to use FIDO authentication in this state.

To test FIDO, I will try logging in to the YubiOn FIDO Logon management screen using FIDO.

I will check the operation on a Windows 11 computer.

What's New on YubiKey Firmware 5.7? (11)

When I selected the security key, I received a message saying "PIN must be changed before using security key."

What's New on YubiKey Firmware 5.7? (12)

After a short while, the window for changing the PIN will appear.

You can change your PIN by entering your current PIN and your new PIN twice and clicking the OK button.

This operation is very easy for users to understand.

It looks like it will be possible to prevent users from using the YubiKey until they change their PIN at least once.

[Additional Information]

The behaviors are different on Windows 10.

What's New on YubiKey Firmware 5.7? (13)

When I entered the PIN for FIDO authentication, the attempt failed with a message saying that the PIN was incorrect, even though I was sure I entered the correct PIN.

Is this as expected?

In the case of Windows 10, it does not automatically move on to the PIN change sequence as when I tried it on Windows 11. It seems that the YubiKey will not treat the PIN as correct unless you simply change it.

Since the only message you get is that the PIN is incorrect, it's difficult to tell whether you need to change your PIN or you simply entered the wrong PIN. So it's important to be careful about this.

The PIN change window does not appear automatically. So you will need to change your PIN separately.

What's New on YubiKey Firmware 5.7? (14)

※ This time, the PIN was changed using a command, but for general users, it is easier to change the PIN from the Windows system.

FIDO2 Security Key PIN Setting / Fingerprint Setting - for Windows

When I tried entering the changed PIN to perform FIDO authentication in the same way, I was asked to touch the key without getting an error.

What's New on YubiKey Firmware 5.7? (15)

If users are using Windows 10 computers, administrators who are considering operation should be aware of these differences.

Summary

YubiKey with firmware version 5.7 is now available.

There are no particular changes in appearance, but several functions have been added.

The PIN management function can be used by installing the YubiKey Manager CLI (version 5.4.0) and executing commands.

The PIN restriction function does not have any particular impact on general users, but it does expand the options for company administrators who distribute YubiKeys to their employees.

However, some behaviors change depending on the Windows OS used. So when administrators distribute YubiKeys to employees, they will likely need to create a detailed initial setup manual.

The YubiKeys we sell will also be available with firmware 5.7. So please contact us if you are looking for an authenticator.

CONTACT

We also offer solutions that use security keys. So if you are interested, please take a look at our solutions and blogs.

Thanks for reading to the end.

What's New on YubiKey Firmware 5.7? (2024)

FAQs

What's New on YubiKey Firmware 5.7? ›

The new YubiKey 5.7 firmware fast-tracks enterprises to passwordless authentication with a secure, simple, and scalable solution that ensures the highest assurance authentication for modern enterprises. Elevate your enterprise security with YubiKey 5.7, the latest innovation in passwordless authentication.

What is the latest YubiKey? ›

With 5.7 firmware now officially available, the updated YubiKey and Security Key Series are the perfect companion to the updated features within Yubico Authenticator 7.

What is 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 will 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.

Can I upgrade YubiKey firmware? ›

The firmware cannot be altered or removed from a YubiKey. The firmware version on a YubiKey or a Security Key determines whether or not a feature or a capability is available to that device.

What is better than YubiKey? ›

If you're seeking a diminutive, reliable, and well-made security key, the VeriMark Guard Fingerprint Key is right for you. It costs significantly less than the biometric YubiKeys, making biometric MFA a little more accessible. Be advised that setting up this device is rather tricky, though.

What is the most secure YubiKey? ›

YubiKey 5 FIPS Series

The YubiKey 5 FIPS certified security keys meet the highest level of assurance (AAL3) of the new NIST SP800-63B guidelines.

Do I really need YubiKey 5? ›

The Yubico Security Key C NFC is the best choice: It's affordable and will work with just about every site that supports security keys. If you're already familiar with security keys and need or want more-advanced features, the Yubico YubiKey 5C NFC is a pricier but worthwhile choice.

How many keys can you have on YubiKey 5? ›

FIDO2 - the YubiKey 5 can hold up to 25 discoverable credentials (AKA hardware-bound passkeys) in its FIDO2 application. FIDO U2F - similar to Yubico OTP, the FIDO U2F application can be registered with an unlimited number of services.

Is it safe to keep YubiKey plugged in? ›

Leaving it plugged in could result in the yubikey being lost or damaged.

Can I reuse an old YubiKey? ›

If a user finds a lost YubiKey, don't reuse it. Discard it and configure a new YubiKey for the user. For auditing purposes, you can't delete a YubiKey once assigned to a user. Even if you revoke or reassign it, it still appears in the YubiKey Report.

What happens if someone steals your YubiKey? ›

So, what happens if you lose your YubiKey? In that case, you can still use your Authenticator app (phew!). While you can't create a backup YubiKey, you can always contact Yubico to get a replacement key.

What is the newest YubiKey? ›

Empowering enterprise security at scale with new product innovations: YubiKey 5.7 and Yubico Authenticator 7. Note: Keys with YubiKey 5.7 firmware are now available as of May 21, 2024!

Why is YubiKey so expensive? ›

It is costly to design, mould, manufacture, sell and support a hardware product, even something as small as this. Since you don't want your 2FA company to go out of business there is good value in knowing they have a stable business model that can actually support a company rather than just burning capital.

Can I use 2 different YubiKeys? ›

To set up multiple Yubikeys in one seed file when using the YubiKey Personalization Tool and setting the Yubico OTP, select Advance, and prior to selecting Write Configuration, Select Program Multiple YubiKeys.

When was YubiKey 5 released? ›

YubiKey released the YubiKey 5 series in 2018, which adds support for FIDO2.

What is the difference between Yubico 5 and 4? ›

YubiKey 5: What's the difference? As you can see, there isn't much of a difference between YubiKey 4 and YubiKey 5 series devices – the most important difference by far is that YubiKey 5 devices support the FIDO2 authentication protocol, while YubiKey 4 devices are limited to FIDO U2F.

What is the difference between YubiKey A and YubiKey C? ›

There are two different types of YubiKeys. One is compatible with USB-A ports and the other is compatible USB-C ports. The security provided by the different YubiKey types is the same. The difference is in their form and USB port compatibility.

Top Articles
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6062

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.