louib / challenge-response

Perform HMAC-SHA1 and OTP challenges with YubiKey, OnlyKey and NitroKey, in pure Rust.
Other
4 stars 1 forks source link

refactor: deprecate the find_yubikey function #16

Closed louib closed 7 months ago

louib commented 7 months ago

Now that we have the find_all_yubikeys function, I don't think there's any need to preserve the previous function, especially since it defaults to returning the first yubikey. This behavior can be unexpected, would have to be documented, and can be re-implemented using the find_all_yubikeys function.

BREAKING CHANGE: The find_yubikey function has been removed in favor of the find_all_yubikeys function.