monero/tests/libwallet_api_tests
cslashm e745c1e38d Code modifications to integrate Ledger HW device into monero-wallet-cli.
The basic approach it to delegate all sensitive data (master key, secret
ephemeral key, key derivation, ....) and related operations to the device.
As device has low memory, it does not keep itself the values
(except for view/spend keys) but once computed there are encrypted (with AES
are equivalent) and return back to monero-wallet-cli. When they need to be
manipulated by the device, they are decrypted on receive.

Moreover, using the client for storing the value in encrypted form limits
the modification in the client code. Those values are transfered from one
C-structure to another one as previously.

The code modification has been done with the wishes to be open to any
other hardware wallet. To achieve that a C++ class hw::Device has been
introduced. Two initial implementations are provided: the "default", which
remaps all calls to initial Monero code, and  the "Ledger", which delegates
all calls to Ledger device.
2018-03-04 12:54:53 +01:00
..
scripts wallet2_api: added Wallet::daemonBlockChainHeight() 2016-09-26 23:19:25 +03:00
CMakeLists.txt Code modifications to integrate Ledger HW device into monero-wallet-cli. 2018-03-04 12:54:53 +01:00
main.cpp Update 2018 copyright 2018-01-26 10:03:20 -05:00