Hey,
Can I create private keys, public keys, and addresses using just an old computer (Windows, Mac, or Linux) that’s not connected to the internet? If it's possible, what’s the method? I figure generating a private key isn’t that hard for a laptop from 2012, right?
Can I Generate Keys Offline on an Old Computer?
16 replies 78 views
just_nonceNewbie
Posts: 122 · Reputation: 15
#2May 28, 2021, 10:01 PM
For sure, generating keys isn’t heavy on resources. You could download something like bitaddress offline or grab a wallet like Electrum on another computer and then transfer it to your old one.
No need for an internet connection to use any desktop wallet. Bitcoin Core, Electrum, all those can be installed and run just fine. Of course, the steps for generating an address vary by client. What wallet you thinking of using?
So, I have to download something, huh?
Can’t I just do it through the terminal?
You can, but it’s a hassle compared to using something like Bitcoin Core. If your OS has OpenSSL, you could generate an ECDSA keypair through the terminal and convert it to a Bitcoin address. Just be careful, or you might lose your funds. Wallets like Bitcoin Core have UI checks to help prevent mistakes.
Thanks for the heads up.
But just to clarify, can an offline machine really generate proven keys, public keys, and addresses?
Seems to me that doing this offline is safer than online, right?
In computer science, a sanity check is different from what you might think. You definitely don’t need the internet to generate keys. As long as your OS has what it needs, you can create ECDSA keypairs and addresses. You could even use pen and paper.
Not really. You can do it on an old 2002 machine.
Creating a private key requires generating 256 random bits, which is pretty light on resources.
It’s all about the RNG source in the script or software you’re using. Just so you know, Debian ISO files have Electrum included. You could also prep needed applications on a DVD or flash drive for your offline setup.
Wallet software can generate everything without needing net access. You create private keys for addresses and public keys that match them, all offline. It's a known method, called an air-gapped wallet, meant to avoid malware threats.
For sure, it’s possible. But be careful creating and backing up private keys manually. One small mistake can cost you.
Thanks, everyone.
I’m gonna try with a few test sats.
Definitely safer since an online computer can get hacked, while an air-gapped device is secure from that. But honestly, seems like you might mess up. Why not try testnet first? I can send you some testnet sats.
Or maybe share your steps here for feedback?
Make sure the private key is valid. It should be between 1 and FFFFFFFFFFFFFFFF... If it’s outside that range, some software might not warn you or silently adjust it.
Getting 31 Fs in a row is super rare, like one in trillions. If that happens, something’s probably off.
Totally agree. Could be a CPU issue or just random chance.
But honestly, anyone with some sense would just generate another key.
Related topics
- Need help migrating my old wallet.dat to the latest version 4
- Can old Bitcoin from 2010 be recovered? 7
- Is Mempool.space Accurate for Fee Estimates? 19
- HD Wallet vs Descriptor Wallet: What's the Deal? 3
- New Wallet Regulations for Crypto Purchases Over $10K in the US 15
- Advice on Channel Size for Lightning Network 5