aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor/trezor (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-07allow exporting outputs in chunksmoneromooo-monero1-2/+2
this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
2022-08-05feat(trezor): add HF15 support, BP+Dusan Klinec2-143/+127
- BP+ support added for Trezor - old Trezor firmware version support removed, code cleanup
2022-04-18Add view tags to outputs to reduce wallet scanning timej-berman1-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.
2022-03-04Copyright: Update to 2022mj-xmr10-10/+10
2021-07-10Merge pull request #7762luigi11111-0/+4
8ae6c85 trezor: add #if for ByteSizeLong (selsta)
2021-06-27trezor: add #if for ByteSizeLongselsta1-0/+4
Turns out Ubuntu 18.04 ships with an old protobuf version.
2021-06-11trezor: fix potential use of uninitialized memorymoneromooo-monero1-2/+7
CID 1446575
2021-06-10Merge pull request #7661luigi11111-3/+1
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-05-13trezor: deprecated ByteSize -> ByteSizeLongselsta1-1/+1
2021-04-16Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr1-0/+1
2021-03-03trezor: simplify recognition of integrated addressesDusan Klinec1-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
2021-01-23Improve cryptonote (block and tx) binary read performanceLee Clagett1-3/+1
2020-09-04enable CLSAG support for Trezor clientDusan Klinec1-12/+17
2020-08-27Integrate CLSAGs into moneromoneromooo-monero1-1/+1
They are allowed from v12, and MLSAGs are rejected from v13.
2020-07-19Merge pull request #6512Alexander Blair8-8/+8
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-05-31Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett1-1/+2
2020-05-14build: fix boost 1.73 compatibilityselsta1-1/+1
2020-05-06Update copyright year to 2020SomaticFanatic8-8/+8
Update copyright year to 2020
2020-04-27trezor: adapt to new passphrase mechanismDusan Klinec6-124/+224
- 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
2019-06-17device: show address on device displayDusan Klinec1-0/+3
- 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
2019-04-25device/trezor: device sorting and filtering improvedDusan Klinec2-15/+110
- 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
2019-04-10device/trezor: env-configurable portsDusan Klinec2-21/+53
2019-03-21wallet: fix offline signing calling a daemon RPCmoneromooo-monero2-5/+5
2019-03-21Merge pull request #5211Riccardo Spagni2-127/+351
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)
2019-03-20device/trezor: HF10 support added, wallet::APIDusan Klinec2-127/+351
- 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
2019-03-17Merge pull request #5061Riccardo Spagni8-8/+8
1f2930ce Update 2019 copyright (binaryFate)
2019-03-14Merge pull request #4977Riccardo Spagni7-41/+338
5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
2019-03-05Update 2019 copyrightbinaryFate8-8/+8
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec7-41/+338
2019-02-02epee: add SSL supportmoneromooo-monero1-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.
2019-01-22add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero1-1/+1
This makes it easier to modify the bulletproof format
2018-12-18device/trezor: store tx_prefix_hash in tx key auxDusan Klinec1-0/+3
- tx_prefix_hash is required in the key derivation for decryption of the tx keys
2018-12-04device/trezor: device/trezor: correct device initialization, status checkDusan Klinec1-1/+1
- checks if the device is in the correct usable state - implements check for the v2.0.9 firmware which does not support payment IDs - simple transacttion check, payment id fmt consistency - minor fixes, refactoring, webusb session counting fix
2018-12-04device/trezor: python2 compatibility - bundle dependenciesDusan Klinec5-8/+248
2018-11-25device/trezor: webusb transport added, cmake fixesDusan Klinec5-40/+555
- webusb transport based on libusb added. Provides direct access to Trezor via USB, no need for Trezor bridge. - trezor protocol message handler improved, no recursion used. Ready for upcoming integration tests. - libusb (for docker) bumped from v1.0.9 to v1.0.22, newer version required for webusb transport, for device enumeration. - cmake improvements and fixes. Cmake Trezor checks are moved to a dedicated CheckTrezor.cmake file. In case of a problem Trezor is excluded from build. - ifdefs made consistent to Ledger. - UDP Transport enumeration disabled by default in release mode
2018-11-02device/trezor: trezor support addedDusan Klinec12-0/+2895