| Commit message (Collapse) | Author | Age |
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
|
|
| |
model and version
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
|
|
|
| |
For 0.49 run new command, which needs Admin PIN
For 0.48 and lower run old command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
|
|
|
|
|
| |
Add get_minor_firmware_version
Correct get_major_firmware version (was returning minor instead)
Name 3rd version field for test builds
Use minor firmware version in tests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| |
| |
| | |
C99 compatibility - bool type support
Closes #94
|
| |
| |
| |
| |
| |
| |
| | |
NK_C_API.h uses the type bool although it is not defined in standard C.
Since C99, the header stdbool.h provides this type, so this patch
includes it in NK_C_API.h to make it valid C code. (Note that the API
already required C99 for the "//"-style comments.)
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Changes in hex_string_to_byte - it could produce invalid results
depending on value from byte after the buffer.
Used in:
write_HOTP_slot_authorize
write_OTP_slot_no_authorize
write_TOTP_slot_authorize
Closes #96
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
strnlen stops scanning after reaching big_string_size and returns last position
in the searched string.
If a string terminator is not found then the big_string_size is returned hence
the modification of the later size-checking condition.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
|
|
|
|
| |
hex_string_to_byte in misc.cc calls strtoul with a non-null-terminated
string, causing a buffer over-read. This patch extends the buffer to
always include a null character in the end.
Fixes issue #95.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| | |
Closes #91
|
| |
| |
| |
| |
| |
| | |
Makes occasional fails
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| | |
Adding support for Catch2 if available in system
|
|/ |
|
|\
| |
| |
| | |
Closes #87
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| |
| | |
Catch communication exceptions in C API to avoid crash.
Fixes #89
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\ \
| |/
|/|
| |
| | |
Add missing header for C/CFFI access to the C API.
Fixes #77
|
|/
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|
|
|
| |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| |
| | |
Added license-headers to all source code files.
Fixes #83
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
|
|
| |
Remove redundant file
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\
| |
| |
| | |
Fixes #88
|
|/
|
|
|
|
|
| |
Windows 7 and 10 were not detecting devices
Fixes #88
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
| |
| |
| |
| | |
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Update example
Add instructions for compiling with Qt
Update CMake flags (LIB_STATIC->BUILD_SHARED)
Add description for more CMake flags
Replace file names with their links
Add information about experimental support of multiple devices
Update minimal xcode used in Travis
Correct information about showing Debug info in Nitrokey App 1.x
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
|