mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-27 06:28:51 +00:00
e745c1e38d
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. |
||
---|---|---|
.. | ||
address_book.cpp | ||
address_book.h | ||
CMakeLists.txt | ||
common_defines.h | ||
pending_transaction.cpp | ||
pending_transaction.h | ||
subaddress_account.cpp | ||
subaddress_account.h | ||
subaddress.cpp | ||
subaddress.h | ||
transaction_history.cpp | ||
transaction_history.h | ||
transaction_info.cpp | ||
transaction_info.h | ||
unsigned_transaction.cpp | ||
unsigned_transaction.h | ||
utils.cpp | ||
wallet2_api.h | ||
wallet_manager.cpp | ||
wallet_manager.h | ||
wallet.cpp | ||
wallet.h |