summaryrefslogtreecommitdiff
path: root/src/device
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 #6446luigi11112020-05-011-1/+1
|\ | | | | | | e509ede trezor: adapt to new passphrase mechanism (ph4r05)
| * trezor: adapt to new passphrase mechanismDusan Klinec2020-04-271-1/+1
| | | | | | | | | | | | | | | | | | - choice where to enter passphrase is now made on the host - use wipeable string in the comm stack - wipe passphrase memory - protocol optimizations, prepare for new firmware version - minor fixes and improvements - tests fixes, HF12 support
* | Merge pull request #6436luigi11112020-05-015-1/+87
|\ \ | |/ |/| | | 688a3e8 Add timelock verification on device (cslashm)
| * Add timelock verification on devicecslashm2020-04-085-1/+87
| |
* | Merge pull request #6364luigi11112020-04-041-2/+14
|\ \ | | | | | | | | | 6e1cb5a device: Ledger - fix wide char hidapi error string conversion (xiphon)
| * | device: Ledger - fix wide char hidapi error string conversionxiphon2020-03-011-2/+14
| |/
* | Merge pull request #6338luigi11112020-04-041-11/+8
|\ \ | | | | | | | | | 80d5320 Hash domain separation (SarangNoether)
| * | Hash domain separationSarang Noether2020-04-011-11/+8
| |/
* / device_ledger: include status code name in error messagexiphon2020-02-082-3/+111
|/
* 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-032-1/+24
|
* Add hmac over encrypted value during transactioncslashm2019-10-032-91/+171
|
* 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: fix uninitialized additional_keymoneromooo-monero2019-08-261-1/+1
| | | | | | | | Coverity 200185
* | device_ledger: add paranoid buffer overflow checkmoneromooo-monero2019-08-261-1/+3
| | | | | | | | Coverity 200183
* | hid_error() could return a null, which causes the program to crash withTheQuantumPhysicist2019-08-091-1/+2
|/ | | | std::logic_error()
* Merge pull request #5594luigi11112019-07-242-0/+2
|\ | | | | | | f074b6b device: show address on device display (ph4r05)
| * device: show address on device displayDusan Klinec2019-06-172-0/+2
| | | | | | | | | | | | | | | | | | - Trezor: support for device address display (subaddress, integrated address) - Wallet::API support added - Simplewallet: - address device [<index>] - address new <label> // shows address on device also - integrated_address [device] <payment_id|address> // new optional "device" arg to display also on the device
* | Fix GCC 9.1 build warningsmoneromooo-monero2019-06-092-0/+15
|/ | | | GCC wants operator= aand copy ctor to be both defined, or neither
* Merge pull request #5355Riccardo Spagni2019-04-151-0/+1
|\ | | | | | | | | c68fe787 device/trezor: add button pressed request (Dusan Klinec) 827f52ad wallet: API changes to enable passphrase entry (Dusan Klinec)
| * device/trezor: add button pressed requestDusan Klinec2019-04-071-0/+1
| |
* | Add NanoX supportcslashm2019-04-013-5/+26
|/
* Add get_tx_proof support, needed for new sanity checkcslashm2019-03-286-36/+157
| | | | Enhance debug info
* Add support for V11 protocol with BulletProofV2 and short amount.cslashm2019-03-286-43/+90
| | | | | New scheme key destination contrfol Fix dummy decryption in debug mode
* Add application version compatibility check.cslashm2019-03-282-2/+30
|
* Merge pull request #5211Riccardo Spagni2019-03-212-4/+113
|\ | | | | | | | | | | c9b13fbb tests/trezor: HF9 and HF10 tests (Dusan Klinec) a1fd1d49 device/trezor: HF10 support added, wallet::API (Dusan Klinec) d74d26f2 crypto: hmac_keccak added (Dusan Klinec)
| * device/trezor: HF10 support added, wallet::APIDusan Klinec2019-03-202-4/+113
| | | | | | | | | | | | | | | | | | | | | | | | - import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
* | Update 2019 copyrightbinaryFate2019-03-0513-13/+13
|/
* 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 dummy decryption in debug modecslashm2019-02-081-1/+3
|
* fix log namespacecslashm2019-02-081-45/+45
|
* New scheme key destination contrfolcslashm2019-02-085-22/+223
| | | | Implies protocol version management.
* Merge pull request #5055Riccardo Spagni2019-01-285-9/+43
|\ | | | | | | 6c060e6a device: proper handling of user input (selsta)
| * device: proper handling of user inputselsta2019-01-095-9/+43
| | | | | | | | | | | | | | | | | | (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-282-2/+1
|\ \ | | | | | | | | | 93c21644 device_ledger: remove full_name variable (selsta)
| * | device_ledger: remove full_name variableselsta2019-01-092-2/+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-225-14/+14
|/ | | | Found by knaccc
* Merge pull request #4839Riccardo Spagni2018-12-121-0/+10
|\ | | | | | | | | | | | | | | d71f89e2 device/trezor: device/trezor: correct device initialization, status check (Dusan Klinec) 65b9bca7 device/trezor: python2 compatibility - bundle dependencies (Dusan Klinec) 9cf636af device/trezor: ask for KI sync on first refresh (Dusan Klinec) d21dad70 device: enable to use multiple independent device wallets (Dusan Klinec) 318cc784 device/trezor: passphrase entry on host (Dusan Klinec)
| * device: enable to use multiple independent device walletsDusan Klinec2018-12-041-0/+1
| | | | | | | | | | | | | | - adds a new option `--hw-device-deriv-path` to the simple wallet. Enables to specify wallet derivation path / wallet code (path avoided so it can be misinterpreted as a file path). - devices can use different derivation mechanisms. Trezor uses standard SLIP-10 mechanism with fixed SLIP-44 prefix for Monero - Trezor: when empty, the default derivation mechanism is used with 44'/128'/0'. When entered the derivation path is 44'/128'/PATH. - Trezor: the path is always taken as elements are hardened (1<<31 bit turned on)
| * device/trezor: passphrase entry on hostDusan Klinec2018-11-291-0/+9
| | | | | | | | | | | | - simple device callback object added. Device can request passphrase/PIN entry via the callback or notify user some action is required - callback is routed to wallet2, which routes the callback to i_wallet_callback so CLI or GUI wallets can support passphrase entry for HW tokens - wallet: device open needs wallet callback first - passphrase protected device needs wallet callback so user can enter passphrase
* | Merge pull request #4894Riccardo Spagni2018-12-041-2/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
| * | remove some unused codemoneromooo-monero2018-11-231-2/+0
| |/ | | | | | | Found by codacy.com
* / move int-util.h to epeemoneromooo-monero2018-12-041-1/+1
|/
* device/trezor: trezor support addedDusan Klinec2018-11-025-5/+93
|
* Merge pull request #4663Riccardo Spagni2018-11-013-4/+8
|\ | | | | | | d6937e37 ringct: use dummy bulletproofs when in fake mode, for speed (moneromooo-monero)