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

PIV: When generating a key, command fails if --domain-component  is not given #620

Open
sosthene-nitrokey opened this issue Jan 29, 2025 · 0 comments

Comments

@sosthene-nitrokey
Copy link
Contributor

I think likely an error add from: #582

$ nitropy nk3 piv --experimental generate-key --key 9A --algo rsa2048 --subject-name "VPN Test" --subject-alt-name-upn "vpntest-my.ad.test" --path vpntest.csr
Command line tool to interact with Nitrokey devices 0.7.3
Enter the PIN: 
Nitrokey Nitrokey 3 [CCID/ICCD Interface] 00 00
Critical error:
An unhandled exception occurred
	Exception encountered: ValueError('a relative distinguished name cannot be empty')

--------------------------------------------------------------------------------
Critical error occurred, exiting now
Unexpected? Is this a bug? Would you like to get support/help?
- You can report issues at: https://support.nitrokey.com/
- Writing an e-mail to [email protected] is also possible
- Please attach the log: '/tmp/nitropy.log.q9uys_bd' with any support/help request!
- Please check if you have udev rules installed: https://docs.nitrokey.com/nitrokeys/nitrokey3/firmware-update#troubleshooting-linux
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

1 participant