-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
At least from version 1.14.0 of the SDK, the native shim requires glibc 2.38 or higher. This rules out quite a lot of current and stable Linux distributions.
What happens is a hard crash essentially stating that it can't load Yubico.NativeShims.so, which probably crashes the whole application, regardless of whether the user is using the YubiKey or not. This is rather unfriendly.
As far as I can determine, unless there is a very specific feature or function that it really needs in 2.38, a much more reasonable version to currently build against is glibc 2.28+. A lot of major vendors use this, such as Jetbrains IDE and VS Code.
This is much more conservative, and should allow for much more trouble-free use of the SDK in a large number of active distributions.
Expected Behavior
I expect the SDK to work on a wider range of Linux distributions without crashing, which it should be able to do with little effort and no impact on the SDK in other aspects.
I classified it as a bug, although it may of course be discussed. I do believe the maintainers of the library did not consider the full situation when upgrading the build environment to use glibc 2.38 .
Steps To Reproduce
Run any application using the YubiKey SDK in a Linux distro built against glibc < 2.38, for example MX Linux and many, many more. One such application is Xecrets Ez, listed in 'Works with YubiKey' here https://www.yubico.com/works-with-yubikey/catalog/axantum-software/ , download from https://www.axantum.com/ .
Version
1.14.0
Version
N/A
Anything else?
No response