|  | Commit message (Collapse) | Author | Age | 
|---|
| |\  
| | 
| | 
| | 
| | 
| | | Return serial number as uint32_t
Fixes #174 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | This patch adds the function NK_device_serial_number_as_u32 to the C
API.  It is similar to NK_device_serial_number but returns the raw
unsigned integer instead of a formatted string.  This patch also adds a
simple test case that ensures that the number is not zero.
Fixes #172. | 
| | | 
| | 
| | 
| | 
| | 
| | | To avoid duplicate code, this patch refactors the get_serial_number
method to use get_serial_number_as_u32 internally.  It does not change
get_serial_number’s behavior. | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | This patch adds the get_serial_number_as_u32 method to NitrokeyManager.
It returns the serial number as a 32-bit unsigned integer.  Previously,
we only returned it as a string generated from the integer value,
get_serial_number.
While get_serial_number returns an empty string if no device is
connected and "NA" if an unknown model is connected, the new method
throws a DeviceNotConnected exception in the first case and returns zero
in the second case as we cannot express the three states in one integer
return value. | 
| |\ \  
| | | 
| | | 
| | | 
| | | 
| | | | Update CI settings
Add new compilers and use Ubuntu 18.04 | 
| | | | |  | 
| | | | |  | 
| |/ / |  | 
| |\ \  
| | | 
| | | 
| | | 
| | | 
| | | | Support Librem Key
Fixes #163 | 
| | | | 
| | | 
| | | 
| | | 
| | | | Remove the change to keep binary compatibility.
Use the vendor_id field from the dev description. | 
| | | | |  | 
| |\ \ \  
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Correct Python 2 and 3 examples
Fixes #178 | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> | 
| |/ / /  
| | |   
| | |   
| | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> | 
| | |/  
|/| |  | 
| |\ \  
| | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | Add tests for the Nitrokey Pro bootloader support.
Allow to reconnect to the device during the test execution
(e.g. for a reinsertion).
Connected: https://github.com/Nitrokey/nitrokey-pro-firmware/issues/69 | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| |/ / |  | 
| | | 
| | 
| | 
| | | Related: https://github.com/Nitrokey/nitrokey-fido2-firmware/issues/29 | 
| |/ |  | 
| |\  
| | 
| | 
| | 
| | 
| | | Fix for CMAKE's version getter
Fixes #161 | 
| |/  
|   
|   
|   
|   
| | * The previous check for `PROJECT_VERSION_GIT_RETURN_CODE`
  was fragile and did not check specifically that the
  return code is *exactly* 0. | 
| | 
| 
| 
| | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| | 
| 
| 
| | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| | 
| 
| 
| | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| |\  
| | 
| | 
| | 
| | 
| | | Add OTP tests:
- complete writing and reading codes
- test edge slots of TOTP and HOTP | 
| | | 
| | 
| | 
| | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| | | 
| | 
| | 
| | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| |/  
|   
|   
|   
|   
|   
| | This tests encountered bug in the Storage v0.54 RC.
Write either TOTP15 or HOTP1, and try to access the other.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| |\  
| | 
| | 
| | 
| | | Do the HOTP slot counter conversion from ASCII to binary only for
Storage v0.53 and lower. Storage v0.54 returns binary counter. | 
| | | 
| | 
| | 
| | | 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> | 
| | 
| 
| 
| 
| 
| 
| | Makes the 64bit OTP tests passing on the Pro v0.8+ (instead of being
skipped).
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | 
| |\  
| | 
| | 
| | | Add bootloader support for the Nitrokey Pro v0.11+ | 
| | | 
| | 
| | 
| | | 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> |