diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 17:09:11 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 18:16:54 +0100 |
commit | 879ee92e81b3acee88e3ecbc35f7d4cfbacd708a (patch) | |
tree | 80e2c73e62923083afaac2802f4c39415c7deadf | |
parent | 0ee7ef7705ebfc0d419bba9a61db55fccd14b638 (diff) | |
download | nitrokey-rs-879ee92e81b3acee88e3ecbc35f7d4cfbacd708a.tar.gz nitrokey-rs-879ee92e81b3acee88e3ecbc35f7d4cfbacd708a.tar.bz2 |
Document unsupported outdated functions
We do not support old firmware versions on the Nitrokey Storage, so we
document that these outdated functions are not supported:
- NK_set_unencrypted_volume_rorw_pin_type_user
- NK_set_unencrypted_read_only
- NK_set_unencrypted_read_write
- NK_set_encrypted_read_only
- NK_set_encrypted_read_write
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | TODO.md | 5 |
2 files changed, 10 insertions, 9 deletions
@@ -21,15 +21,21 @@ available but still under development. The following functions provided by `libnitrokey` are deliberately not supported by `nitrokey-rs`: -- `NK_get_device_model()`. We know which model we connected to, so we can +- `NK_get_device_model`. We know which model we connected to, so we can provide this information without calling `libnitrokey`. -- `NK_get_time()`. This method is useless as it will always cause a timestamp +- `NK_get_time`. This method is useless as it will always cause a timestamp error on the device (see [pull request #114][] for `libnitrokey` for details). -- `NK_get_status()`. This method only provides a string representation of +- `NK_get_status`. This method only provides a string representation of data that can be accessed by other methods (firmware version, serial number, configuration). -- `NK_get_status_storage_as_string()`. This method only provides an incomplete +- `NK_get_status_storage_as_string`. This method only provides an incomplete string representation of the data returned by `NK_get_status_storage`. +- `NK_set_unencrypted_volume_rorw_pin_type_user`, + `NK_set_unencrypted_read_only`, `NK_set_unencrypted_read_write`, + `NK_set_encrypted_read_only` and `NK_set_encrypted_read_write`. These + methods are only relevant for older firmware versions (pre-v0.51). As the + Nitrokey Storage firmware can be updated easily, we do not support these + outdated versions. ## Tests @@ -1,11 +1,6 @@ - Add support for the currently unsupported commands: - - `NK_set_unencrypted_volume_rorw_pin_type_user` - `NK_is_AES_supported` - `NK_send_startup` - - `NK_set_unencrypted_read_only` - - `NK_set_unencrypted_read_write` - - `NK_set_encrypted_read_only` - - `NK_set_encrypted_read_write` - `NK_export_firmware` - `NK_clear_new_sd_card_warning` - `NK_fill_SD_card_with_random_data` |