Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | C API for Encrypted volume ro/rw switch | Szczepan Zalega | 2018-02-23 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Correct getting minor and major from firmware version | Szczepan Zalega | 2018-02-23 |
| | | | | | | | | | 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> | ||
* | Include stdbool.h in NK_C_API.h | Robin Krahl | 2018-02-12 |
| | | | | | | | 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.) | ||
* | Add test for enabling firmware update | Szczepan Zalega | 2018-02-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Expose enabling firmware update in C API | Szczepan Zalega | 2018-02-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Update license/copyright lines | Szczepan Zalega | 2018-01-16 |
| | | | | | | Remove redundant file Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add DEBUG_L1 level and set it as default for Python tests | Szczepan Zalega | 2017-10-10 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Export C API functions | Szczepan Zalega | 2017-07-03 |
| | | | | Guard extern to only C++ | ||
* | Fix includes in C_API | Szczepan Zalega | 2017-04-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Return OTP codes as strings to make sure they are zero-filled properly | Szczepan Zalega | 2017-04-03 |
| | | | | | | | | | Adjust Python tests for new OTP codes return value Also remove manual 0-filling Fixes #57 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation warnings | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove unnecessary extern keyword from C API | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Get major firmware version | Szczepan Zalega | 2016-12-06 |
| | |||
* | Rename methods in API to make string return more obvious | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Document Storage methods in C API | Szczepan Zalega | 2016-11-26 |
| | | | | | | Use uint8_t instead of int where appropriate Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Tests: remake fill SD card test. Get progress bar value when busy. | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Python bindings and tests for most of Storage functionality | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix bug for setting HOTP counters - send uint64 (was uint8) | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Function for getting device's serial number in hex. Fixes #33 | Szczepan Zalega | 2016-09-08 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Autodetect inserted stick and connect to it | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Slots token ID documentation and payload fields update | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Slots config writing - C API documentation update | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Update general config commands - bool -> uint8_t | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support writing token id to OTP slots in API | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Allow user to choose new user PIN when unlocking | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove commented code | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle OTP slot config in C API during writing | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Support for command: is_aes_supported | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add string parameters lengths to function documentation for C API | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Added description for C API functions, updated README.md | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do not authenticate on login with admin credentials | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Choose device model during connection | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Config options for OTP slots added to command structure | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Authorizing getting OTP codes - initial version | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Test read/write config | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle write config command | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Getting password safe data does not need admin temp | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle misc functions: factory reset, build aes key, unlock user password ↵ | Szczepan Zalega | 2016-08-01 |
| | | | | | | (not yet tested) Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Erasing slot - initial version with some authorization issues | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle password safe slots programmed status | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Erase password safe slot | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle writing PW safe slot | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handling PW safe login and password | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Working PW safe getting slot name | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle locking device | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Manage retry counts of user and admin passwords | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Enabling password safe and password safe status (latter not working yet) | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Change fields naming in login function | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle changing user and admin PINs | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle errors with exceptions | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> |