hubot-archive / hubot-yubikey-invalidation

Sends any accidental YubiKey presses to Yubico so they are invalidated
MIT License
16 stars 4 forks source link

Fix for newer Yubikey IDs #7

Closed stephenyeargin closed 9 months ago

stephenyeargin commented 9 months ago

Prior to this PR, a newer Yubikey may have an ID that starts with only five cs instead of six because they (likely) used up the namespace with later models. This PR relaxes the regular expression a bit to support the ID format.