On my newly issued YubiKey, the device type is YubiKey 5C Nano FIPS. When I first ran the script, it showed that this wasn't a FIPS key.
To decide if the YubiKey is FIPS-compliant, the script looks for the substring YubiKey FIPS, which it doesn't find. Instead, this PR looks for r/YubiKey.*FIPS/, matching both the old and new device-type styles.
On my newly issued YubiKey, the device type is
YubiKey 5C Nano FIPS
. When I first ran the script, it showed that this wasn't a FIPS key.To decide if the YubiKey is FIPS-compliant, the script looks for the substring
YubiKey FIPS
, which it doesn't find. Instead, this PR looks forr/YubiKey.*FIPS/
, matching both the old and new device-type styles.