aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.hpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-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.
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2021-10-07Ledger: member 'mode' was shadowing that of base classmj-xmr1-2/+0
2021-06-04ledger: use software device if we have view keytobtoht1-4/+1
2020-10-13device: Ledger - update status codesxiphon1-38/+27
2020-08-28Bind signature to full address and signing modeSarang Noether1-1/+0
2020-08-28wallet: allow signing a message with spend or view keymoneromooo-monero1-0/+1
2020-08-28Update minimal Ledger Monero app versionFrançois Colas1-2/+2
2020-08-27draft support of clsagcslashm1-0/+5
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2020-04-08Add timelock verification on devicecslashm1-0/+2
2020-02-08device_ledger: include status code name in error messagexiphon1-2/+42
2019-10-03Add display addresscslashm1-1/+1
2019-10-03Add hmac over encrypted value during transactioncslashm1-1/+26
2019-08-26device_ledger: fix uninitialized additional_keymoneromooo-monero1-1/+1
Coverity 200185
2019-06-09Fix GCC 9.1 build warningsmoneromooo-monero1-0/+1
GCC wants operator= aand copy ctor to be both defined, or neither
2019-03-28Add get_tx_proof support, needed for new sanity checkcslashm1-1/+5
Enhance debug info
2019-03-28Add support for V11 protocol with BulletProofV2 and short amount.cslashm1-0/+2
New scheme key destination contrfol Fix dummy decryption in debug mode
2019-03-28Add application version compatibility check.cslashm1-0/+12
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-02-08New scheme key destination contrfolcslashm1-6/+13
Implies protocol version management.
2019-01-22ringct: encode 8 byte amount, saving 24 bytes per outputmoneromooo-monero1-2/+2
Found by knaccc
2019-01-09device: proper handling of user inputselsta1-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.
2019-01-09device_ledger: remove full_name variableselsta1-1/+0
This variable was never set, resulting in the device name always showing as "disconnected".
2018-11-02device/trezor: trezor support addedDusan Klinec1-0/+1
2018-09-24Replace USB-CCID (smartcard) by USB-HIDcslashm1-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
2018-09-21device: fix warnings about overridden functionsmoneromooo-monero1-1/+1
2018-09-19query backing devicem2049r1-1/+3
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu1-1/+1
2018-06-25device_ledger: factor the prologue codemoneromooo-monero1-0/+3
2018-05-23Fix PCSC compilation under windowscslashm1-0/+5
PR3843 based on release-v0.12 => rebased on master
2018-04-14device: add a one off override keyword where appropriatemoneromooo-monero1-1/+1
2018-04-12Fix sub-address tx scan.cslashm1-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.
2018-03-31Add the possibility to export private view key for fast scan.cslashm1-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.
2018-03-31Change mutex lock model to avoid dead lock and ensure locks are always released.cslashm1-8/+15
Additional cosmetic fixes: move 'name' as protected remove unnecessary local var Fix debug log
2018-03-14device: made function prototypes consistent with pre-#3303 codebasestoffu1-6/+6
2018-03-12Ledger HW Bug fixesCédric1-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
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-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.