aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor
Commit message (Collapse)AuthorAgeFilesLines
* trezor: replace use of boost::is_base_of with std::is_base_oftobtoht2026-04-254-6/+8
|
* trezor: fix protobuf 30 compatibilitytobtoht2025-03-182-0/+14
|
* Fix build with boost ASIO 0.87. Support boost 1.66+Lee *!* Clagett2025-02-142-4/+2
|
* allow exporting outputs in chunksmoneromooo-monero2022-09-072-8/+8
| | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
* feat(trezor): add HF15 support, BP+Dusan Klinec2022-08-053-162/+134
| | | | | - BP+ support added for Trezor - old Trezor firmware version support removed, code cleanup
* Add view tags to outputs to reduce wallet scanning timej-berman2022-04-181-2/+1
| | | | | | | | | | | | | 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-0416-16/+16
|
* Merge pull request #7869luigi11112021-10-171-2/+2
|\ | | | | | | ad9fde4 UB: virtual methods in destructor at Trezor (mj-xmr)
| * UB: virtual methods in destructor at Trezormj-xmr2021-09-081-2/+2
| |
* | trezor: try empty passphrase firstDusan Klinec2021-08-034-10/+63
|/ | | | | | | | | | - Try empty passphrase first when opening a wallet, as all Trezors will have passphrase enabled by default by Trezor Suite by default. This feature enables easier access to all users using disabled passphrase (or empty passhprase) - If wallet address differs from device address with empty passphrase, another opening attempt is made, without passphrase suppression, so user can enter his passhprase if using some. In this scenario, nothing changes to user, wallet opening just consumes one more call to Trezor (get wallet address with empty passphrase) - also change how m_passphrase is used. Previous version did not work well with recent passphrase entry mechanism change (made in Trezor), thus this commit fixes the behaviour).
* Merge pull request #7782luigi11112021-07-271-1/+1
|\ | | | | | | a48db50 device_trezor_base: fix typo (anon)
| * device_trezor_base: fix typoanon2021-07-101-1/+1
| |
* | Merge pull request #7762luigi11112021-07-101-0/+4
|\ \ | |/ |/| | | 8ae6c85 trezor: add #if for ByteSizeLong (selsta)
| * trezor: add #if for ByteSizeLongselsta2021-06-271-0/+4
| | | | | | | | Turns out Ubuntu 18.04 ships with an old protobuf version.
* | trezor: fix potential use of uninitialized memorymoneromooo-monero2021-06-111-2/+7
|/ | | | CID 1446575
* Merge pull request #7661luigi11112021-06-101-3/+1
|\ | | | | | | 08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
| * Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-231-3/+1
| |
* | trezor: deprecated ByteSize -> ByteSizeLongselsta2021-05-131-1/+1
|/
* Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr2021-04-163-0/+4
|
* Merge pull request #7418luigi11112021-03-201-14/+1
|\ | | | | | | 68f1ca6 trezor: simplify recognition of integrated addresses (Dusan Klinec)
| * trezor: simplify recognition of integrated addressesDusan Klinec2021-03-031-14/+1
| | | | | | | | | | now it is possible to simplify integrated addresses recognition using transaction destination info directly fixes https://github.com/monero-project/monero-gui/issues/3346
* | device_trezor: add redundant checkanon2021-01-201-1/+1
| |
* | device_trezor: wipe string fields properlyanon2021-01-201-20/+9
|/
* enable CLSAG support for Trezor clientDusan Klinec2020-09-041-12/+17
|
* Integrate CLSAGs into moneromoneromooo-monero2020-08-271-1/+1
| | | | They are allowed from v12, and MLSAGs are rejected from v13.
* Merge pull request #6512Alexander Blair2020-07-1914-14/+14
|\ | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * Update copyright year to 2020SomaticFanatic2020-05-0614-14/+14
| | | | | | | | Update copyright year to 2020
* | Merge pull request #6519luigi11112020-06-081-1/+3
|\ \ | | | | | | | | | ab44293 trezor: add new firmware version support (ph4r05)
| * | trezor: add new firmware version supportDusan Klinec2020-05-121-1/+3
| |/
* | Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett2020-05-311-1/+2
| |
* | build: fix boost 1.73 compatibilityselsta2020-05-141-1/+1
|/
* trezor: adapt to new passphrase mechanismDusan Klinec2020-04-2710-181/+351
| | | | | | | | | - 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
* device: show address on device displayDusan Klinec2019-06-173-0/+23
| | | | | | | | | - 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
* device/trezor: device sorting and filtering improvedDusan Klinec2019-04-253-16/+115
| | | | | | | | - Trezor type detection refactored, T1 disabled (was enabled before which was a bug) - Sort connected devices by env TREZOR_PATH - Compatibility with Trezor ecosystem using TREZOR_PATH env var - Enables to pick particular Trezor to use in GUI as we don't have the multi-device selection yet - Dump all detected devices to log for better debugging / troubleshooting
* device/trezor: button request callback fixDusan Klinec2019-04-181-1/+2
|
* Merge pull request #5398Riccardo Spagni2019-04-152-21/+53
|\ | | | | | | | | 41901b8d device/trezor: env-configurable ports (Dusan Klinec) c97a1f79 tests: trezor tests fixes and improvements (Dusan Klinec)
| * device/trezor: env-configurable portsDusan Klinec2019-04-102-21/+53
| |
* | Merge pull request #5355Riccardo Spagni2019-04-152-1/+14
|\ \ | | | | | | | | | | | | 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-072-1/+14
| |/
* / device/trezor: increase live-refresh timeoutDusan Klinec2019-03-291-1/+1
|/
* wallet: fix offline signing calling a daemon RPCmoneromooo-monero2019-03-212-5/+5
|
* Merge pull request #5211Riccardo Spagni2019-03-216-184/+831
|\ | | | | | | | | | | 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-206-185/+832
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge pull request #5166Riccardo Spagni2019-03-171-1/+1
|\ \ | | | | | | | | | 75e5aafd device/trezor: dummy payment ID fix (Dusan Klinec)
| * | device/trezor: dummy payment ID fixDusan Klinec2019-02-201-1/+1
| | |
* | | Merge pull request #5061Riccardo Spagni2019-03-1714-14/+14
|\ \ \ | |_|/ |/| | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * | Update 2019 copyrightbinaryFate2019-03-0514-14/+14
| | |
* | | Merge pull request #4977Riccardo Spagni2019-03-1411-59/+510
|\ \ \ | |/ / |/| | | | | 5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
| * | device/trezor: debugging features, trezor testsDusan Klinec2019-03-0511-59/+510
| |/
* / epee: add SSL supportmoneromooo-monero2019-02-021-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.