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

Confusing error message #159

Open
kbabioch opened this issue May 4, 2018 · 0 comments
Open

Confusing error message #159

kbabioch opened this issue May 4, 2018 · 0 comments

Comments

@kbabioch
Copy link
Contributor

kbabioch commented May 4, 2018

When running ykpamcfg without a YubiKey attached, I get the following error messages:

$ ykpamcfg -v -A123
Unknown action '123'
USB error: Success (no error)

This error message should be improved, since it is somewhat confusing (USB error vs. success / no error).

The code in question is this:

yubico-pam/ykpamcfg.c

Lines 81 to 82 in fa3833b

fprintf(stderr, "USB error: %s\n",
yk_usb_strerror());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant