Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop YubiKey NEO support (closes #18) #63

Merged
merged 1 commit into from
Dec 7, 2019
Merged

Conversation

tarcieri
Copy link
Collaborator

@tarcieri tarcieri commented Dec 7, 2019

YubiKey NEOs are legacy YubiKey devices, most of which contain unpatchable security vulnerabilities.

They have smaller buffer sizes than YK4 and YK5, which necessitates a whole bunch of conditional gating and buffer size calculations.

Getting rid of them simplifies this logic and allows us to assume consistent buffer sizes everywhere.

We never tested on NEOs anyway, and looking at the deleted code it seems it may have been miscalculating the NEO's buffer size!

If someone really wants to support NEOs, it shouldn't be that hard to restore, but the codebase is definitely cleaner without it.

YubiKey NEOs are legacy YubiKey devices, most of which contain
unpatchable security vulnerabilities.

They have smaller buffer sizes than YK4 and YK5, which necessitates a
whole bunch of conditional gating and buffer size calculations.

Getting rid of them simplifies this logic and allows us to assume
consistent buffer sizes everywhere.

We never tested on NEOs anyway, and looking at the deleted code it seems
it may have been miscalculating the NEO's buffer size!

If someone *really* wants to support NEOs, it shouldn't be that hard to
restore, but the codebase is definitely cleaner without it.
@tarcieri tarcieri merged commit 509c438 into develop Dec 7, 2019
@tarcieri tarcieri deleted the drop-neo-support branch December 7, 2019 19:32
@tarcieri tarcieri mentioned this pull request Dec 7, 2019
@tony-iqlusion tony-iqlusion mentioned this pull request Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant