summaryrefslogtreecommitdiff
path: root/src/device/device_ledger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect lenght of command INS_PREFIX_HASHFrançois Colas2020-05-271-2/+2
| | | | | buffer_send[4] (LC) is an unsigned char, len should not exceed 254 (255 - 1 for the option).
* Merge pull request #6436luigi11112020-05-011-1/+77
|\ | | | | | | 688a3e8 Add timelock verification on device (cslashm)
| * Add timelock verification on devicecslashm2020-04-081-1/+77
| |
* | device_ledger: include status code name in error messagexiphon2020-02-081-1/+69
|/
* device: bounds checking in Ledger send_secret/receive_secretxiphon2019-10-251-0/+4
|
* Fix debug featurecslashm2019-10-031-0/+2
|
* Revert PR #5835 (export view key)cslashm2019-10-031-1/+1
|
* Add display addresscslashm2019-10-031-0/+23
|
* Add hmac over encrypted value during transactioncslashm2019-10-031-90/+145
|
* Merge pull request #5835luigi11112019-09-081-1/+1
|\ | | | | | | 26f7a26 device: fix ledger requesting secret keys export twice (xiphon)
| * device: fix ledger requesting secret keys export twicexiphon2019-08-201-1/+1
| |
* | device_ledger: add paranoid buffer overflow checkmoneromooo-monero2019-08-261-1/+3
|/ | | | Coverity 200183
* Fix GCC 9.1 build warningsmoneromooo-monero2019-06-091-0/+14
| | | | GCC wants operator= aand copy ctor to be both defined, or neither
* Add NanoX supportcslashm2019-04-011-1/+6
|
* Add get_tx_proof support, needed for new sanity checkcslashm2019-03-281-19/+126
| | | | Enhance debug info
* Add support for V11 protocol with BulletProofV2 and short amount.cslashm2019-03-281-43/+78
| | | | | New scheme key destination contrfol Fix dummy decryption in debug mode
* Add application version compatibility check.cslashm2019-03-281-2/+18
|
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* various: remove unused variablesmoneromooo-monero2019-03-041-5/+1
|
* Add support for V10 protocol with BulletProofV2 and short amount.cslashm2019-02-081-13/+34
|
* fix log namespacecslashm2019-02-081-45/+45
|
* New scheme key destination contrfolcslashm2019-02-081-7/+147
| | | | Implies protocol version management.
* Merge pull request #5055Riccardo Spagni2019-01-281-5/+34
|\ | | | | | | 6c060e6a device: proper handling of user input (selsta)
| * device: proper handling of user inputselsta2019-01-091-5/+34
| | | | | | | | | | | | | | | | | | (1) If the user denies something on the Ledger, a proper error message is now shown. (2) Ledger doesn't time out anymore while waiting on user input. (3) Lower the timeout to 2 seconds, this is enough for normal Ledger <-> System communication.
* | Merge pull request #5054Riccardo Spagni2019-01-281-1/+1
|\ \ | | | | | | | | | 93c21644 device_ledger: remove full_name variable (selsta)
| * | device_ledger: remove full_name variableselsta2019-01-091-1/+1
| |/ | | | | | | | | This variable was never set, resulting in the device name always showing as "disconnected".
* / ringct: encode 8 byte amount, saving 24 bytes per outputmoneromooo-monero2019-01-221-4/+4
|/ | | | Found by knaccc
* remove some unused codemoneromooo-monero2018-11-231-2/+0
| | | | Found by codacy.com
* ringct: use dummy bulletproofs when in fake mode, for speedmoneromooo-monero2018-10-231-1/+1
|
* device: extended logging, refactored device selection codexiphon2018-10-181-1/+1
|
* device: increase ledger timeout to 2 minutesselsta2018-10-091-1/+1
|
* Remove last traces of libpcsc-litemoneromooo-monero2018-10-081-9/+0
|
* Replace USB-CCID (smartcard) by USB-HIDcslashm2018-09-241-140/+60
| | | | | | Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac Split Ledger logic and device IO
* Add bulletproof supportcslashm2018-09-131-1/+1
|
* Bulletproof aggregated verification and testsmoneromooo-monero2018-09-111-1/+1
| | | | Also constrains bulletproofs to simple rct, for simplicity
* add and use constant time 32 byte equality functionmoneromooo-monero2018-08-231-1/+2
|
* wallet: allow adjusting number of rounds for the key derivation functionstoffu2018-08-081-3/+3
|
* Merge pull request #4032luigi11112018-07-191-411/+57
|\ | | | | | | 87e158b device_ledger: factor the prologue code (moneromooo-monero)
| * device_ledger: factor the prologue codemoneromooo-monero2018-06-251-411/+57
| |
* | Merge pull request #4043Riccardo Spagni2018-07-031-5/+8
|\ \ | | | | | | | | | | | | | | | 34de7bc2 device_ledger: fix buffer underflow on bad data from device (moneromooo-monero) 41e9cab4 device: misc cleanup (moneromooo-monero) 3b4dec2d device_ledger: fix potential buffer overflow from bad size calc (moneromooo-monero)
| * | device_ledger: fix buffer underflow on bad data from devicemoneromooo-monero2018-06-231-0/+1
| | |
| * | device: misc cleanupmoneromooo-monero2018-06-231-3/+3
| | | | | | | | | | | | | | | | | | | | | use snprintf "just in case" where appropriate consistently use unsigned for temp values pass std::string by const ref rather than by value add length check (which can't happen in practice) for memcpy
| * | device_ledger: fix potential buffer overflow from bad size calcmoneromooo-monero2018-06-231-2/+4
| |/
* | Merge pull request #3977luigi11112018-06-251-1/+1
|\ \ | |/ |/| | | 0309615 device_ledger: fix bad memory access on connect error (moneromooo-monero)
| * device_ledger: fix bad memory access on connect errormoneromooo-monero2018-06-091-1/+1
| |
* | Fix PCSC compilation under windowscslashm2018-05-231-0/+9
|/ | | | PR3843 based on release-v0.12 => rebased on master
* Fix sub-address tx scan.cslashm2018-04-121-0/+23
| | | | | | | | When additional keys was needed, the TX scan failed because the derivation data was always recomputed with the main tx_key and not the corresponding additional one. Moreover this patch avoid perf decreasing when not using HW device.
* Add the possibility to export private view key for fast scan.cslashm2018-03-311-54/+117
| | | | | | On client startup the device asks for authorization to export the private view key. If user agree, the client hold the private view key allowing a fast blockchain scan. If the user does not agree, the blockchain scan is fully done via the device.
* Change mutex lock model to avoid dead lock and ensure locks are always released.cslashm2018-03-311-373/+157
| | | | | | | Additional cosmetic fixes: move 'name' as protected remove unnecessary local var Fix debug log
* chacha: call prehashed version explicitly as generate_chacha_key_prehashedstoffu2018-03-141-2/+2
| | | | | | hash: add prehashed version cn_slow_hash_prehashed slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not slow-hash: add support for prehashed version for the other 3 platforms