-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In previous versions of nitrokey-rs, the getters for the name, login and password fields of a PWS slot would return an error for empty strings as libnitrokey uses empty strings to indicate unprogrammed slots. But as the user might have deliberately specified an empty value, nitrokey-rs v0.9.0 introduces a new PWS API that makes it possible to distinguish unprogrammed slots and empty values. This patch updates the nitrokey-rs dependency and refactors the pws status and pws get commands to use the new PWS API.
- Loading branch information
1 parent
4a7bbca
commit 44b1e6e
Showing
5 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters