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

Misleading “failed authentication with the application” #153

Closed
acdha opened this issue Jun 27, 2018 · 10 comments
Closed

Misleading “failed authentication with the application” #153

acdha opened this issue Jun 27, 2018 · 10 comments

Comments

@acdha
Copy link
Contributor

acdha commented Jun 27, 2018

The Yubico PIV Manager desktop app works flawlessly with my Yubikey 4 on a macOS High Sierra system to generate keys but doesn't have a way to set things like touch policies.

I tried yubico-piv-tool version 1.5.0 from Homebrew and some commands (e.g. verify-pin) work but e.g. generate always returns “failed authentication with the application”.

@klali
Copy link
Member

klali commented Jun 29, 2018

What this might be is that Yubico PIV Manager generates a derived management key based on the pin when initializing the key, yubico-piv-tool doesn't support that.

We're working on replacing the tooling (specifically Yubico PIV Manager) with YubiKey Manager (https://developers.yubico.com/yubikey-manager/). There is command line support in YubiKey Manager to deal with almost everything yubico-piv-tool supports and it also supports management key derivation. The documentation is quite lacking still but the subcommand to look at is ykman piv help.

@acdha
Copy link
Contributor Author

acdha commented Jun 29, 2018

That appears to be correct (except that it's ykman piv --help) as this worked:

ykman piv generate-key 9e -

Thanks!

@acdha acdha changed the title Spurious “failed authentication with the application” Misleading “failed authentication with the application” Jun 29, 2018
@celesteking
Copy link

your software is a fucking nightmare

@a-dma
Copy link
Member

a-dma commented Jul 25, 2018

I'll close this since the issue has been resolved and the root problem is know.

I'll ignore the last bit of constructive feedback...

@a-dma a-dma closed this as completed Jul 25, 2018
@jursed
Copy link

jursed commented Jul 2, 2019

@klali Sorry for the OT - is yubico-piv-manager now fully replaced by ykman piv, as of ykman 3.0.0?

(More generally, where could one find info on the current state of CLI tooling, i.e. what's actively maintained and what's deprecated? I sympathize with celesteking because the nomenclature is indeed confusing: yk*, yubico*, yubikey*...)

@klali
Copy link
Member

klali commented Jul 2, 2019

Yes, yubikey-piv-manager says at it's top "Note: This project is deprecated and is no longer being maintained. Use YubiKey Manager (GUI, CLI) to configure a YubiKey device."

Any project of ours that is deprecated should have a note like that and ideally point to something that is maintained. I agree that the nomenclature and tooling is confused, the yubikey-manager project is an effort to clean up tooling and make that into one tool for configuring the YubiKey.

@DConcord
Copy link

DConcord commented Jul 21, 2019

I can't find mention anywhere prominently that yubikey-piv-manager is depricated. Numerous guides continue to offer it, and no alternative, it such as this one: https://developers.yubico.com/PIV/Guides/SSH_with_PIV_and_PKCS11.html

Then the documentation for the tool doesn't mention at all that it is deprecated:
https://developers.yubico.com/yubico-piv-tool/

the download page then doesn't mention it's deprecated either, and there is a release from just 3 months ago:
https://developers.yubico.com/yubico-piv-tool/Releases/

Github... no mention:
https://github.com/Yubico/yubico-piv-tool

So if it is mentioned anywhere... It certainly isn't prominent

@a-dma
Copy link
Member

a-dma commented Jul 22, 2019

I'm afraid you're confusing yubico-piv-tool (this repository), with PIV Manager which as stated is clearly marked as deprecated.

@timfallmk
Copy link

It's worth stating for those that google this that there is still no mention of this tool being deprecated. Nowhere is it "clearly marked".

@brechtm
Copy link

brechtm commented Aug 11, 2022

I'll ignore the last bit of constructive feedback...

I agree that that comment was unhelpful, but I do understand where that was coming from. Please read #158 (comment) to see why this is still a problem in 2022. I personally don't think the Yubico software is problematic, but the documentation is not up to par (at least not for PIV SSH auth).

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

8 participants