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

Windows: nk3 piv application not found #564

Closed
stnu-iuk opened this issue Sep 5, 2024 · 2 comments
Closed

Windows: nk3 piv application not found #564

stnu-iuk opened this issue Sep 5, 2024 · 2 comments

Comments

@stnu-iuk
Copy link

stnu-iuk commented Sep 5, 2024

os: Win 11 23H2
firmware: v1.7.2-test.20240813 (latest test version, which - to my understanding - includes the "personal identity validation" functionality)
nitropy-version: 0.4.50; also tested with: 0.4.46
used nitrokeys: Nitrokey 3C NFC and Nitrokey 3A NFC

steps to reproduce:

connect nitrokey to usb port
start nitropy in cmd or powershell with admin rights
used command: nitropy.exe nk3 piv
alternative used command: nitropy.exe nk3 piv init

expected behavior
piv app is launched, options appear, piv functionality is activated

observed behavior:

C:\Program Files\Nitrokey\Nitropy>nitropy.exe nk3 piv init
Command line tool to interact with Nitrokey devices 0.4.46
Usage: nitropy.exe nk3 [OPTIONS] COMMAND [ARGS]...
Try 'nitropy.exe nk3 --help' for help.

Error: No such command 'piv'.

thus i cannot use the piv functionality, even if not yet stable, which would probably very useful to us.

@robin-nitrokey
Copy link
Member

robin-nitrokey commented Sep 9, 2024

As PIV support is still experimental, it is not available in the released pynitrokey versions yet. It is added in this pull request: #506

To test it, you need to install pynitrokey from the Git branch of that pull request, for example:

pipx install git+https://github.com/Nitrokey/pynitrokey.git@piv-rebase

@robin-nitrokey
Copy link
Member

The piv command is available as an experimental feature since v0.6.0 so it is no longer necessary to install pynitrokey from Git.

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

No branches or pull requests

2 participants