mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 17:00:04 -07: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. |
||
---|---|---|
.. | ||
base58.cpp | ||
block.cpp | ||
CMakeLists.txt | ||
cold-outputs.cpp | ||
cold-transaction.cpp | ||
fuzzer.cpp | ||
fuzzer.h | ||
http-client.cpp | ||
levin.cpp | ||
load_from_binary.cpp | ||
load_from_json.cpp | ||
parse_url.cpp | ||
signature.cpp | ||
transaction.cpp |