| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
688a3e8 Add timelock verification on device (cslashm)
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
26f7a26 device: fix ledger requesting secret keys export twice (xiphon)
|
| | | |
|
| |/
|
|
| |
Coverity 200183
|
| |
|
|
| |
GCC wants operator= aand copy ctor to be both defined, or neither
|
| | |
|
| |
|
|
| |
Enhance debug info
|
| |
|
|
|
| |
New scheme key destination contrfol
Fix dummy decryption in debug mode
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Implies protocol version management.
|
| |\
| |
| |
| | |
6c060e6a device: proper handling of user input (selsta)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
(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.
|
| |\ \
| | |
| | |
| | | |
93c21644 device_ledger: remove full_name variable (selsta)
|
| | |/
| |
| |
| |
| | |
This variable was never set, resulting in the
device name always showing as "disconnected".
|
| |/
|
|
| |
Found by knaccc
|
| |
|
|
| |
Found by codacy.com
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac
Split Ledger logic and device IO
|
| | |
|
| |
|
|
| |
Also constrains bulletproofs to simple rct, for simplicity
|
| | |
|
| | |
|
| |\
| |
| |
| | |
87e158b device_ledger: factor the prologue code (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/ |
|
| |\ \
| |/
|/|
| | |
0309615 device_ledger: fix bad memory access on connect error (moneromooo-monero)
|
| | | |
|
| |/
|
|
| |
PR3843 based on release-v0.12 => rebased on master
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Additional cosmetic fixes:
move 'name' as protected
remove unnecessary local var
Fix debug log
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When #3303 was merged, a cyclic dependency chain was generated:
libdevice <- libcncrypto <- libringct <- libdevice
This was because libdevice needs access to a set of basic crypto operations
implemented in libringct such as scalarmultBase(), while libringct also needs
access to abstracted crypto operations implemented in libdevice such as
ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct
into libringct_basic and libringct, where the basic crypto ops previously in
libringct are moved into libringct_basic. The cyclic dependency is now resolved
thanks to this separation:
libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct
This eliminates the need for crypto_device.cpp and rctOps_device.cpp.
Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and
get_subaddress_secret_key() were previously implemented in libcryptonote_basic
(cryptonote_format_utils.cpp) and were then called from hw::core::device_default,
which is odd because libdevice is supposed to be independent of libcryptonote_basic.
Therefore, those functions were moved to device_default.cpp.
|