François Colas
ec46069248
Fix incorrect lenght of command INS_PREFIX_HASH
...
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
4 years ago
luigi1111
443f5c6bda
Merge pull request #6436
...
688a3e8
Add timelock verification on device (cslashm)
4 years ago
cslashm
688a3e87e7
Add timelock verification on device
4 years ago
xiphon
29b7cd1351
device_ledger: include status code name in error message
4 years ago
xiphon
296ec7c9bb
device: bounds checking in Ledger send_secret/receive_secret
5 years ago
cslashm
32febd277d
Fix debug feature
5 years ago
cslashm
235b94eb59
Revert PR #5835 (export view key)
5 years ago
cslashm
34f28a79bc
Add display address
5 years ago
cslashm
d25acd7a1d
Add hmac over encrypted value during transaction
5 years ago
luigi1111
4ef3848423
Merge pull request #5835
...
26f7a26
device: fix ledger requesting secret keys export twice (xiphon)
5 years ago
moneromooo-monero
7c894fc7fd
device_ledger: add paranoid buffer overflow check
...
Coverity 200183
5 years ago
xiphon
26f7a26ee3
device: fix ledger requesting secret keys export twice
5 years ago
moneromooo-monero
35c20c4332
Fix GCC 9.1 build warnings
...
GCC wants operator= aand copy ctor to be both defined, or neither
5 years ago
cslashm
83fc45a413
Add NanoX support
5 years ago
cslashm
7c44091541
Add get_tx_proof support, needed for new sanity check
...
Enhance debug info
5 years ago
cslashm
98fdcb2aa5
Add support for V11 protocol with BulletProofV2 and short amount.
...
New scheme key destination contrfol
Fix dummy decryption in debug mode
5 years ago
cslashm
3a981a3313
Add application version compatibility check.
5 years ago
binaryFate
1f2930ce0b
Update 2019 copyright
5 years ago
moneromooo-monero
ef93b0995c
various: remove unused variables
5 years ago
cslashm
2dbc487ec0
Add support for V10 protocol with BulletProofV2 and short amount.
5 years ago
cslashm
f0e55cebf7
fix log namespace
5 years ago
cslashm
460da140ec
New scheme key destination contrfol
...
Implies protocol version management.
5 years ago
Riccardo Spagni
77e96d0948
Merge pull request #5055
...
6c060e6a
device: proper handling of user input (selsta)
5 years ago
Riccardo Spagni
0c970fde1c
Merge pull request #5054
...
93c21644
device_ledger: remove full_name variable (selsta)
5 years ago
moneromooo-monero
99d946e619
ringct: encode 8 byte amount, saving 24 bytes per output
...
Found by knaccc
5 years ago
selsta
6c060e6aaa
device: proper handling of user input
...
(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.
5 years ago
selsta
93c2164434
device_ledger: remove full_name variable
...
This variable was never set, resulting in the
device name always showing as "disconnected".
5 years ago
moneromooo-monero
d4f50cb109
remove some unused code
...
Found by codacy.com
6 years ago
moneromooo-monero
d6937e373b
ringct: use dummy bulletproofs when in fake mode, for speed
6 years ago
xiphon
25d327e796
device: extended logging, refactored device selection code
6 years ago
selsta
c716a331f3
device: increase ledger timeout to 2 minutes
6 years ago
moneromooo-monero
c5a97315ee
Remove last traces of libpcsc-lite
6 years ago
cslashm
bb6e3bbc0f
Replace USB-CCID (smartcard) by USB-HID
...
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac
Split Ledger logic and device IO
6 years ago
cslashm
cd236aebca
Add bulletproof support
6 years ago
moneromooo-monero
2a8fcb421b
Bulletproof aggregated verification and tests
...
Also constrains bulletproofs to simple rct, for simplicity
6 years ago
moneromooo-monero
d2e26c23f3
add and use constant time 32 byte equality function
6 years ago
stoffu
bcab579864
wallet: allow adjusting number of rounds for the key derivation function
6 years ago
luigi1111
cff15e4123
Merge pull request #4032
...
87e158b
device_ledger: factor the prologue code (moneromooo-monero)
6 years ago
Riccardo Spagni
d1f102626c
Merge pull request #4043
...
34de7bc2
device_ledger: fix buffer underflow on bad data from device (moneromooo-monero)
41e9cab4
device: misc cleanup (moneromooo-monero)
3b4dec2d
device_ledger: fix potential buffer overflow from bad size calc (moneromooo-monero)
6 years ago
luigi1111
31f47d72fe
Merge pull request #3977
...
0309615
device_ledger: fix bad memory access on connect error (moneromooo-monero)
6 years ago
moneromooo-monero
87e158b5b9
device_ledger: factor the prologue code
6 years ago
moneromooo-monero
34de7bc267
device_ledger: fix buffer underflow on bad data from device
6 years ago
moneromooo-monero
41e9cab4e1
device: misc cleanup
...
use snprintf "just in case" where appropriate
consistently use unsigned for temp values
pass std::string by const ref rather than by value
add length check (which can't happen in practice) for memcpy
6 years ago
moneromooo-monero
3b4dec2d12
device_ledger: fix potential buffer overflow from bad size calc
6 years ago
moneromooo-monero
03096150c6
device_ledger: fix bad memory access on connect error
6 years ago
cslashm
bdf5a3ad3f
Fix PCSC compilation under windows
...
PR3843 based on release-v0.12 => rebased on master
6 years ago
cslashm
2c274e05fe
Fix sub-address tx scan.
...
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.
6 years ago
cslashm
c77d2bfaa0
Add the possibility to export private view key for fast scan.
...
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.
6 years ago
cslashm
100b7bc10d
Change mutex lock model to avoid dead lock and ensure locks are always released.
...
Additional cosmetic fixes:
move 'name' as protected
remove unnecessary local var
Fix debug log
6 years ago
stoffu
7dfa5e9e6e
chacha: call prehashed version explicitly as generate_chacha_key_prehashed
...
hash: add prehashed version cn_slow_hash_prehashed
slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not
slow-hash: add support for prehashed version for the other 3 platforms
6 years ago