1

Fundamentally, crypto-currency hardware wallets are just devices that securely generate public/private key pairs, and sign input data when approved using a password and physical approval mechanism, right?

This seems like a generally useful capability, though as far as I can tell, the only devices available are purpose-built for a specific set of crypto-currency protocols, or some other protocol like U2F on the YubiKey. I don't want my $100 Ledger wallet to become useless if its supported currencies (or the entire market) fall into disuse. So is there any way to either:

  • Use (or modify to use) the Ledger to perform general key generation and signing?
  • Buy a general-purpose keygen + signing device that supports crypto-currency signature methods?

1 Answer 1

1

Use (or modify to use) the Ledger to perform general key generation and signing?

Yes. The things that the Ledger support are not specific to cryptocurrencies. You can write applications for the Ledger that do other things, so long as the firmware supports the cryptographic operations that are necessary.

: Buy a general-purpose keygen + signing device that supports crypto-currency signature methods?

Yes. The cryptocurrency stuff happens externally to the cryptography. You can write an application that offloads the cryptography to a general purpose keygen and signing device (usually HSMs) and handles the remaining cryptocurrency stuff (transaction construction, node, etc.) on a general purpose computer.


Hardware wallets are really generic HSMs (although the Trezor does not contain a secure element like Ledger Nano S's do) that have had specific cryptocurrency applications built into them. They can be used for general cryptography things too, you just need to write software for that, and possibly modify firmware.

2
  • HSM was the term I was missing - thanks! I also didn't think to check for an SDK or anything for the Ledger but it looks like there's a ton you can do with it even if the entire crypto-currency market dies out.
    – MooseBoys
    Mar 9, 2018 at 3:43
  • The Ledger's API does provide some commonly use cryptographic utilities. You can create keys for AES, RSA, ECDSA (with multiple curves), and DES. You can then use those keys for encryption and signing. So it is actually useful outside of cryptocurrencies. They even have apps for GPG and SSH key management, which is notably not cryptocurrency related.
    – Andrew Chow
    Mar 9, 2018 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.