Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check slot status before accessing the PWS
The Nitrokey devices do not check whether a PWS slot is programmed before accessing it (upstream issues [0] [1]). Until this is fixed in the firmware, we have to manually check the slot status in pws get. This could have been done in libnitrokey or the nitrokey crate, yet this would lead to unnecessary commands if we check multiple fields of a slot at the same time. [0] Nitrokey/nitrokey-pro-firmware#56 [1] Nitrokey/nitrokey-storage-firmware#81
- Loading branch information