libnitrokey icon indicating copy to clipboard operation
libnitrokey copied to clipboard

Communicate with Nitrokey devices in a clean and easy manner

Results 67 libnitrokey issues
Sort by recently updated
recently updated
newest added

In the 3.5 release, the `NK_read_HOTP_slot` function was added to the C API. Yet as far as I see, the corresponding TOTP function is not supported. Shouldn’t both slot types...

Replace `strlen()` with `strnlen()`, and similarly for other `str*` family functions. Inspired by: https://github.com/d-e-s-o/nitrocli/issues/85

The IsAESSupported command struct has a 20 byte buffer size for storing the user password. That is in contrast to, say, the EnablePasswordSafe struct which uses a 30 byte buffer....

Add getter for the `.patch` part (as in `x.y.patch`) library version. Related #35

enhancement
easy

If `NK_create_hidden_volume` is called with an invalid slot number, it should return an appropriate error code instead of a wrong password error. (This should probably be fixed in the firmware,...

After looking at the libnitrokey source and the firmware, I’m still not sure what these functions do: - `NK_is_AES_supported` – When would this ever be false? When should I check...

documentation

Try to use CMake's module for `pkg-config` to find an installed version of HIDAPI and fall back to the current solution (local copy of HIDAPI in the source tree). This...

test
macOS

When HIDAPI is installed externally (e.g. via a package manager like Homebrew: `brew install hidapi`) and the tarball of libnitrokey is used, the current version of the `CMakeLists.txt` is not...

With Nitrokey/nitrokey-storage-firmware#32 fixed (see Nitrokey/nitrokey-storage-firmware/pull/37) I believe libnitrokey should properly check CRC codes of commands/responses. A brief look at [device_proto.h](https://github.com/Nitrokey/libnitrokey/blob/master/libnitrokey/device_proto.h#L103) seems to indicate that this is not the case (please...

Hi, I'm trying to officially package the nitrokey lib/app and currently encountering an issue while running the test as nitrokey::get_library_version() returns an empty string. This may be related to #119...

bug
packaging