aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.hpp
Commit message (Collapse)AuthorAgeFilesLines
* ledger: throw on secret view key export rejectiontobtoht2025-11-111-2/+2
|
* Merge pull request #8463luigi11112022-08-091-1/+1
|\ | | | | | | 265d6ca device: set ledger min app version (selsta)
| * device: set ledger min app versionselsta2022-07-261-1/+1
| |
* | ledger support for hf 15 (BP+, view tags)j-berman2022-08-061-0/+1
|/
* Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-1/+2
| | | | | | | | | | | | | Implements view tags as proposed by @UkoeHB in MRL issue https://github.com/monero-project/research-lab/issues/73 At tx construction, the sender adds a 1-byte view tag to each output. The view tag is derived from the sender-receiver shared secret. When scanning for outputs, the receiver can check the view tag for a match, in order to reduce scanning time. When the view tag does not match, the wallet avoids the more expensive EC operations when deriving the output public key using the shared secret.
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Ledger: member 'mode' was shadowing that of base classmj-xmr2021-10-071-2/+0
|
* ledger: use software device if we have view keytobtoht2021-06-041-4/+1
|
* device: Ledger - update status codesxiphon2020-10-131-38/+27
|
* Update minimal Ledger Monero app versionFrançois Colas2020-08-281-2/+2
|
* draft support of clsagcslashm2020-08-271-0/+5
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* Merge pull request #6436luigi11112020-05-011-0/+2
|\ | | | | | | 688a3e8 Add timelock verification on device (cslashm)
| * Add timelock verification on devicecslashm2020-04-081-0/+2
| |
* | device_ledger: include status code name in error messagexiphon2020-02-081-2/+42
|/
* Add display addresscslashm2019-10-031-1/+1
|
* Add hmac over encrypted value during transactioncslashm2019-10-031-1/+26
|
* device_ledger: fix uninitialized additional_keymoneromooo-monero2019-08-261-1/+1
| | | | Coverity 200185
* Fix GCC 9.1 build warningsmoneromooo-monero2019-06-091-0/+1
| | | | GCC wants operator= aand copy ctor to be both defined, or neither
* Add get_tx_proof support, needed for new sanity checkcslashm2019-03-281-1/+5
| | | | Enhance debug info
* Add support for V11 protocol with BulletProofV2 and short amount.cslashm2019-03-281-0/+2
| | | | | New scheme key destination contrfol Fix dummy decryption in debug mode
* Add application version compatibility check.cslashm2019-03-281-0/+12
|
* Update 2019 copyrightbinaryFate2019-03-051-1/+1
|
* New scheme key destination contrfolcslashm2019-02-081-6/+13
| | | | Implies protocol version management.
* Merge pull request #5055Riccardo Spagni2019-01-281-0/+1
|\ | | | | | | 6c060e6a device: proper handling of user input (selsta)
| * device: proper handling of user inputselsta2019-01-091-0/+1
| | | | | | | | | | | | | | | | | | (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/+0
|\ \ | | | | | | | | | 93c21644 device_ledger: remove full_name variable (selsta)
| * | device_ledger: remove full_name variableselsta2019-01-091-1/+0
| |/ | | | | | | | | 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-2/+2
|/ | | | Found by knaccc
* device/trezor: trezor support addedDusan Klinec2018-11-021-0/+1
|
* Merge pull request #4412Riccardo Spagni2018-09-251-1/+1
|\ | | | | | | 4d0a8db0 device: fix warnings about overridden functions (moneromooo-monero)
| * device: fix warnings about overridden functionsmoneromooo-monero2018-09-211-1/+1
| |
* | Replace USB-CCID (smartcard) by USB-HIDcslashm2018-09-241-21/+17
|/ | | | | | Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac Split Ledger logic and device IO
* query backing devicem2049r2018-09-191-1/+3
|
* wallet: allow adjusting number of rounds for the key derivation functionstoffu2018-08-081-1/+1
|
* device_ledger: factor the prologue codemoneromooo-monero2018-06-251-0/+3
|
* Fix PCSC compilation under windowscslashm2018-05-231-0/+5
| | | | PR3843 based on release-v0.12 => rebased on master
* device: add a one off override keyword where appropriatemoneromooo-monero2018-04-141-1/+1
|
* Fix sub-address tx scan.cslashm2018-04-121-0/+1
| | | | | | | | 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-10/+13
| | | | | | 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-8/+15
| | | | | | | Additional cosmetic fixes: move 'name' as protected remove unnecessary local var Fix debug log
* device: made function prototypes consistent with pre-#3303 codebasestoffu2018-03-141-6/+6
|
* Ledger HW Bug fixesCédric2018-03-121-7/+8
| | | | | | | | | | | | | | | | | | | | | | Fix the way the REAL mode is handle: Let create_transactions_2 and create_transactions_from construct the vector of transactions. Then iterate on it and resign. We just need to add 'outs' list in the TX struct for that. Fix default secret keys value when DEBUG_HWDEVICE mode is off The magic value (00...00 for view key and FF..FF for spend key) was not correctly set when DEBUG_HWDEVICE was off. Both was set to 00...00. Add sub-address info in ABP map in order to correctly display destination sub-address on device Fix DEBUG_HWDEVICE mode: - Fix compilation errors. - Fix control device init in ledger device. - Add more log. Fix sub addr control Fix debug Info
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-0/+202
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.