Private/Get-YubiKeyInfo.ps1
<#
.SYNOPSIS Returns the mapping of YubiKey AAGUIDs to their corresponding firmware versions. .DESCRIPTION Internal helper function that maintains the mapping between YubiKey AAGUIDs and firmware versions. Source: https://yubi.co/aaguids .NOTES This is an internal function and should not be exported from the module. Last updated: 2025-03-18 .LINK https://yubi.co/aaguids #> function Get-YubiKeyInfo { [CmdletBinding()] param() return @( # YubiKey 5 (USB-A) @{Model="YubiKey 5"; Firmware="5.1"; AAGUID="cb69481e-8ff7-4039-93ec-0a2729a154a8"; Certification="Level 1"}, @{Model="YubiKey 5"; Firmware="5.2 / 5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, # YubiKey 5 NFC (USB-A) #@{Model="YubiKey 5 NFC"; Firmware="5.1"; AAGUID="fa2b99dc-9e39-4257-8f92-4a30d23c4118"; Certification="Level 1"}, @{Model="YubiKey 5 NFC"; Firmware="5.2 / 5.4"; AAGUID="2fc0579f-8113-47ea-b116-bb5a8db9202a"; Certification="Level 1"}, @{Model="YubiKey 5 NFC"; Firmware="5.7"; AAGUID="a25342c0-3cdc-4414-8e46-f4807fca511c"; Certification="Level 2"}, @{Model="YubiKey 5 NFC"; Firmware="5.7"; AAGUID="d7781e5d-e353-46aa-afe2-3ca49f13332a"; Certification="Level 2"}, @{Model="YubiKey 5 NFC CSPN"; Firmware="5.4"; AAGUID="c1f9a0bc-1dd2-404a-b27f-8e29047a43fd"; Certification="Level 2"}, @{Model="YubiKey 5 NFC FIPS"; Firmware="5.4"; AAGUID="c1f9a0bc-1dd2-404a-b27f-8e29047a43fd"; Certification="Level 2"}, @{Model="YubiKey 5 NFC FIPS"; Firmware="5.7"; AAGUID="fcc0118f-cd45-435b-8da1-9782b2da0715"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5 NFC FIPS"; Firmware="5.7"; AAGUID="79f3c8ba-9e35-484b-8f47-53a5a0f5c630"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5 NFC"; Firmware="5.7"; AAGUID="1ac71f64-468d-4fe0-bef1-0e5f2f551f18"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5 NFC"; Firmware="5.7"; AAGUID="6ab56fad-881f-4a43-acb2-0be065924522"; Certification="Level 2"}, # EA capable # YubiKey 5C NFC (USB-C) @{Model="YubiKey 5C NFC"; Firmware="5.2 / 5.4"; AAGUID="2fc0579f-8113-47ea-b116-bb5a8db9202a"; Certification="Level 1"}, @{Model="YubiKey 5C NFC"; Firmware="5.7"; AAGUID="a25342c0-3cdc-4414-8e46-f4807fca511c"; Certification="Level 2"}, @{Model="YubiKey 5C NFC"; Firmware="5.7"; AAGUID="d7781e5d-e353-46aa-afe2-3ca49f13332a"; Certification="Level 2"}, @{Model="YubiKey 5C NFC CSPN"; Firmware="5.4"; AAGUID="2fc0579f-8113-47ea-b116-bb5a8db9202a"; Certification="Level 1"}, @{Model="YubiKey 5C NFC FIPS"; Firmware="5.4"; AAGUID="c1f9a0bc-1dd2-404a-b27f-8e29047a43fd"; Certification="Level 2"}, @{Model="YubiKey 5C NFC FIPS"; Firmware="5.7"; AAGUID="fcc0118f-cd45-435b-8da1-9782b2da0715"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5C NFC FIPS"; Firmware="5.7"; AAGUID="79f3c8ba-9e35-484b-8f47-53a5a0f5c630"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5C NFC"; Firmware="5.7"; AAGUID="1ac71f64-468d-4fe0-bef1-0e5f2f551f18"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5C NFC"; Firmware="5.7"; AAGUID="6ab56fad-881f-4a43-acb2-0be065924522"; Certification="Level 2"}, # EA capable # YubiKey 5 Nano (USB-A) @{Model="YubiKey 5 Nano"; Firmware="5.1"; AAGUID="cb69481e-8ff7-4039-93ec-0a2729a154a8"; Certification="Level 1"}, @{Model="YubiKey 5 Nano"; Firmware="5.2 / 5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5 Nano"; Firmware="5.7"; AAGUID="19083c3d-8383-4b18-bc03-8f1c9ab2fd1b"; Certification="Level 2"}, @{Model="YubiKey 5 Nano"; Firmware="5.7"; AAGUID="ff4dac45-ede8-4ec2-aced-cf66103f4335"; Certification="Level 2"}, @{Model="YubiKey 5 Nano FIPS"; Firmware="5.4"; AAGUID="73bb0cd4-e502-49b8-9c6f-b59445bf720b"; Certification="Level 2"}, @{Model="YubiKey 5 Nano CSPN"; Firmware="5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5 Nano FIPS"; Firmware="5.7"; AAGUID="57f7de54-c807-4eab-b1c6-1c9be7984e92"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5 Nano FIPS"; Firmware="5.7"; AAGUID="905b4cb4-ed6f-4da9-92fc-45e0d4e9b5c7"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5 Nano"; Firmware="5.7"; AAGUID="20ac7a17-c814-4833-93fe-539f0d5e3389"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5 Nano"; Firmware="5.7"; AAGUID="4599062e-6926-4fe7-9566-9e8fb1aedaa0"; Certification="Level 2"}, # EA capable # YubiKey 5C Nano (USB-C) @{Model="YubiKey 5C Nano"; Firmware="5.1"; AAGUID="cb69481e-8ff7-4039-93ec-0a2729a154a8"; Certification="Level 1"}, @{Model="YubiKey 5C Nano"; Firmware="5.2 / 5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5C Nano"; Firmware="5.7"; AAGUID="19083c3d-8383-4b18-bc03-8f1c9ab2fd1b"; Certification="Level 2"}, @{Model="YubiKey 5C Nano"; Firmware="5.7"; AAGUID="ff4dac45-ede8-4ec2-aced-cf66103f4335"; Certification="Level 2"}, @{Model="YubiKey 5C Nano CSPN"; Firmware="5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5C Nano FIPS"; Firmware="5.4"; AAGUID="73bb0cd4-e502-49b8-9c6f-b59445bf720b"; Certification="Level 2"}, @{Model="YubiKey 5C Nano FIPS"; Firmware="5.7"; AAGUID="57f7de54-c807-4eab-b1c6-1c9be7984e92"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5C Nano FIPS"; Firmware="5.7"; AAGUID="905b4cb4-ed6f-4da9-92fc-45e0d4e9b5c7"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5C Nano"; Firmware="5.7"; AAGUID="20ac7a17-c814-4833-93fe-539f0d5e3389"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5C Nano"; Firmware="5.7"; AAGUID="4599062e-6926-4fe7-9566-9e8fb1aedaa0"; Certification="Level 2"}, # EA capable # YubiKey 5C (USB-C) @{Model="YubiKey 5C"; Firmware="5.1"; AAGUID="cb69481e-8ff7-4039-93ec-0a2729a154a8"; Certification="Level 1"}, @{Model="YubiKey 5C"; Firmware="5.2 / 5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5C"; Firmware="5.7"; AAGUID="19083c3d-8383-4b18-bc03-8f1c9ab2fd1b"; Certification="Level 2"}, @{Model="YubiKey 5C"; Firmware="5.7"; AAGUID="ff4dac45-ede8-4ec2-aced-cf66103f4335"; Certification="Level 2"}, @{Model="YubiKey 5C CSPN"; Firmware="5.4"; AAGUID="ee882879-721c-4913-9775-3dfcce97072a"; Certification="Level 1"}, @{Model="YubiKey 5C FIPS"; Firmware="5.4"; AAGUID="73bb0cd4-e502-49b8-9c6f-b59445bf720b"; Certification="Level 2"}, @{Model="YubiKey 5C FIPS"; Firmware="5.7"; AAGUID="57f7de54-c807-4eab-b1c6-1c9be7984e92"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5C FIPS"; Firmware="5.7"; AAGUID="905b4cb4-ed6f-4da9-92fc-45e0d4e9b5c7"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5C"; Firmware="5.7"; AAGUID="20ac7a17-c814-4833-93fe-539f0d5e3389"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5C"; Firmware="5.7"; AAGUID="4599062e-6926-4fe7-9566-9e8fb1aedaa0"; Certification="Level 2"}, # EA capable # YubiKey 5Ci @{Model="YubiKey 5Ci"; Firmware="5.2 / 5.4"; AAGUID="c5ef55ff-ad9a-4b9f-b580-adebafe026d0"; Certification="Level 1"}, @{Model="YubiKey 5Ci"; Firmware="5.7"; AAGUID="a02167b9-ae71-4ac7-9a07-06432ebb6f1c"; Certification="Level 2"}, @{Model="YubiKey 5Ci"; Firmware="5.7"; AAGUID="24673149-6c86-42e7-98d9-433fb5b73296"; Certification="Level 2"}, @{Model="YubiKey 5Ci CSPN"; Firmware="5.4"; AAGUID="c5ef55ff-ad9a-4b9f-b580-adebafe026d0"; Certification="Level 1"}, @{Model="YubiKey 5Ci FIPS"; Firmware="5.4"; AAGUID="85203421-48f9-4355-9bc8-8a53846e5083"; Certification="Level 2"}, @{Model="YubiKey 5Ci FIPS"; Firmware="5.7"; AAGUID="7b96457d-e3cd-432b-9ceb-c9fdd7ef7432"; Certification="Level 2"}, # FIPS RC @{Model="YubiKey 5Ci FIPS"; Firmware="5.7"; AAGUID="3a662962-c6d4-4023-bebb-98ae92e78e20"; Certification="Level 2"}, # FIPS RC, EA capable @{Model="YubiKey 5Ci"; Firmware="5.7"; AAGUID="b90e7dc1-316e-4fee-a25a-56a666a670fe"; Certification="Level 2"}, # EA capable @{Model="YubiKey 5Ci"; Firmware="5.7"; AAGUID="3b24bf49-1d45-4484-a917-13175df0867b"; Certification="Level 2"}, # EA capable # YubiKey Bio FIDO Edition @{Model="YubiKey Bio FIDO Ed."; Firmware="5.5 / 5.6"; AAGUID="d8522d9f-575b-4866-88a9-ba99fa02f35b"; Certification="Level 1"}, @{Model="YubiKey Bio FIDO Ed."; Firmware="5.7"; AAGUID="dd86a2da-86a0-4cbe-b462-4bd31f57bc6f"; Certification="Level 2"}, @{Model="YubiKey Bio FIDO Ed."; Firmware="5.7"; AAGUID="7409272d-1ff9-4e10-9fc9-ac0019c124fd"; Certification="Level 2"}, @{Model="YubiKey Bio FIDO Ed."; Firmware="5.7"; AAGUID="8c39ee86-7f9a-4a95-9ba3-f6b097e5c2ee"; Certification="Level 2"}, #EA capable @{Model="YubiKey Bio FIDO Ed."; Firmware="5.7"; AAGUID="ad08c78a-4e41-49b9-86a2-ac15b06899e2"; Certification="Level 2"}, #EA capable # YubiKey Bio Multi-Protocol Edition @{Model="YubiKey Bio MPE"; Firmware="5.6"; AAGUID="7d1351a6-e097-4852-b8bf-c9ac5c9ce4a3"; Certification="Level 1"}, @{Model="YubiKey Bio MPE"; Firmware="5.7"; AAGUID="90636e1f-ef82-43bf-bdcf-5255f139d12f"; Certification="Level 2"}, @{Model="YubiKey Bio MPE"; Firmware="5.7"; AAGUID="34744913-4f57-4e6e-a527-e9ec3c4b94e6"; Certification="Level 2"}, @{Model="YubiKey Bio MPE"; Firmware="5.7"; AAGUID="97e6a830-c952-4740-95fc-7c78dc97ce47"; Certification="Level 2"}, #EA capable @{Model="YubiKey Bio MPE"; Firmware="5.7"; AAGUID="6ec5cff2-a0f9-4169-945b-f33b563f7b99"; Certification="Level 2"}, #EA capable # YubiKey Security Key Series @{Model="Security Key"; Firmware="5.1"; AAGUID="f8a011f3-8c0a-4d15-8006-17111f9edc7d"; Certification="Level 1"}, @{Model="Security Key"; Firmware="5.2 / 5.4"; AAGUID="b92c3f9a-c014-4056-887f-140a2501163b"; Certification="Level 1"}, @{Model="Security Key NFC"; Firmware="5.1"; AAGUID="6d44ba9b-f6ec-2e49-b930-0c8fe920cb73"; Certification="Level 1"}, @{Model="Security Key NFC"; Firmware="5.2 / 5.4"; AAGUID="149a2021-8ef6-4133-96b8-81f8d5b7f1f5"; Certification="Level 1"}, @{Model="Security Key NFC"; Firmware="5.4"; AAGUID="a4e9fc6d-4cbe-4758-b8ba-37598bb5bbaa"; Certification="Level 2"}, @{Model="Security Key NFC"; Firmware="5.7"; AAGUID="e77e3c64-05e3-428b-8824-0cbeb04b829d"; Certification="Level 2"}, @{Model="Security Key NFC"; Firmware="5.7"; AAGUID="b7d3f68e-88a6-471e-9ecf-2df26d041ede"; Certification="Level 2"}, # YubiKey Security Key NFC - Enterprise Edition @{Model="Security Key NFC Enterprise Ed."; Firmware="5.4"; AAGUID="0bb43545-fd2c-4185-87dd-feb0b2916ace"; Certification="Level 2"}, @{Model="Security Key NFC Enterprise Ed."; Firmware="5.7"; AAGUID="47ab2fb4-66ac-4184-9ae1-86be814012d5"; Certification="Level 2"}, @{Model="Security Key NFC Enterprise Ed."; Firmware="5.7"; AAGUID="ed042a3a-4b22-4455-bb69-a267b652ae7e"; Certification="Level 2"}, @{Model="Security Key NFC Enterprise Ed."; Firmware="5.7"; AAGUID="9ff4cc65-6154-4fff-ba09-9e2af7882ad2"; Certification="Level 2"}, # EA capable @{Model="Security Key NFC Enterprise Ed."; Firmware="5.7"; AAGUID="6ab56fad-881f-4a43-acb2-0be065924522"; Certification="Level 2"} # EA capable ) } |