[][src]Function nitrokey_sys::NK_set_unencrypted_read_only

pub unsafe extern "C" fn NK_set_unencrypted_read_only(
    user_pin: *const c_char
) -> c_int
👎 Deprecated since 3.6.0:

use set_unencrypted_read_only_admin instead

Make unencrypted volume read-only. Device hides unencrypted volume for a second therefore make sure buffers are flushed before running. Does nothing if firmware version is not matched Firmware range: Storage v0.50, v0.48 and below Storage only @param user_pin 20 characters User PIN @return command processing error code