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

To keep style consistent, do not return bool for first_authenticate, but instead throw exception on error. Since this will break ABI, it should be done in the next major release....

Extends the test_get_status test case to catch the problem with get_status for the Nitrokey Storage described in #166, and then fixes the problem by adding the GET_DEVICE_STATUS command to the...

Until the `GET_STATUS` command is fixed in the Nitrokey Storage firmware, see nitrokey/nitrokey-storage-firmware#96, libnitrokey’s `get_status` function should additionally execute the `GET_DEVICE_STATUS` command for the Nitrokey Storage to get the firmware...

Below is the "head" of the [`hex_string_to_byte`](https://github.com/Nitrokey/libnitrokey/blob/5640f3c665a2ae599eeb22705774a49fa7bf37a8/misc.cc#L36) function: ```cc ::std::vector hex_string_to_byte(const char* hexString){ const size_t big_string_size = 257; //arbitrary 'big' number const size_t s_size = strnlen(hexString, big_string_size); const size_t d_size...

Provide XML file with supported devices, which could be copied later to the client applications (e.g. Nitrokey App). Example is presented in the linked discussion. Details: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916911

Test cases for OTP are not working on OSX. It looks like the OTP secret is mangled somehow - instead of RFC OTP secret there is some other data. OSX...

test

List of enhancements and improvements for the API, which might/would be backwards-incompatible. - [ ] Add binary-secrets accepting functions to C/C++ APIs (`std::string` and a `std::vector` overload). See https://github.com/Nitrokey/libnitrokey/pull/106#issuecomment-378914919 for...

enhancement

Custom allocator might be put to work on additional clearing of deallocated memory as a last safety layer.

enhancement
security

- `mmap` on Unix - similar on Windows

enhancement
security

Use specialized logging library, like: https://github.com/gabime/spdlog (header only, fast)

enhancement