<blockquote>
  <p>Use (or modify to use) the Ledger to perform general key generation and signing?</p>
</blockquote>

<p>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.</p>

<blockquote>
  <p>: Buy a general-purpose keygen + signing device that supports crypto-currency signature methods?</p>
</blockquote>

<p>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.</p>

<hr>

<p>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.</p>

CC BY-SA 3.0
2018-03-09T03:43:46.010Z
*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
CC BY-SA 3.0
2018-03-09T04:57:56.783Z
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.
Ava Chow
CC BY-SA 3.0
2018-03-09T02:05:21.520Z
2018-03-09T02:05:21.520Z
Ava Chow
<p>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?</p>

<p>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:</p>

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

<hardware-wallet>
General-Purpose Hardware Wallet
MooseBoys
# General-Purpose Hardware Wallet

(Asked by: username_0 on 2018-03-09)

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?

**Tags:** hardware-wallet


---

## 1 answers

### Answer by username_1 on 2018-03-09. Score: 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.

> **Comments:**
> **username_0**: *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.  
> **username_1**: 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.  

---

