Dangerous toys: Anything to ed25519 (SSH Keys)
0xcc.re
0xcc.re
https://github.com/warner/wireguard-vanity-address
Although not as dangerous since the entropy of the rng is (mostly?) still there. If I'm doing the handwaving right, it's base64 where each char contains 6 bits, so you reduce the effective keysize to 256-6*$num_chars -- cryptographers tell me how wrong I am :)
My biggest worry would be some sort of spoofing. An attacker may be able to impersonate you (or rather a server you control) if they generate a similar vanity key and convince a 3rd party to accept it as yours.
Correct: you reduce the search-space of the private key, but you simultaneously increase the cost of brute-forcing by the same amount because finding keys to try in the smaller search-space takes more work (the same work as generating vanity addresses).
As long as brute-forcing is the most efficient way to crack the attacker has to do the same expected amount of work on vanity addresses.
Phidelius: Constructing Asymmetric Keypairs From Mere Passwords For Fun and PAKE
https://dankaminsky.com/2012/01/03/phidelius/
Non-Persistent PGP Keys (2011)
https://ritter.vg/blog-non_persistent_pgp.html
--
Also related: https://github.com/jpf/lokey, "a tool for converting between cryptographic key formats". Unfortunately it needs maintenance.
The "keyspace" in the sense of valid public keys is really defined by the order of the curves generator, G, which in this case is approximately 2^252 ish. Due to the curve having a co-factor of 8.
0: https://www.jcraige.com/an-explainer-on-ed25519-clamping
1: https://github.com/jedisct1/libsodium/blob/master/src/libsod...
In very rough terms, not accounting for the cofactor means that there are several related unexpected points for any given Curve25519 key. In theory, these points would allow you to conduct an invalid curve point attack; in practice, you have so few of these points that you leak only a couple bits of key information, unlike with the non-25519-vintage curves, where invalid curve points can leak the entire key over a series of probes. So, for DH systems, people sometimes shrug off clamping.
For Ed25519 and signing systems in general, it's a much bigger deal, because it implies that there are multiple possible validating signatures for a set of inputs, which breaks protocol assumptions.
But yep, any 256-bit string is good.
seems like a reliable way to back up your private keys would be to print it on matte or card stock, and optionally laminate it. to recover the key you just OCR it
You might argue that a situation where you have to open the safe with the printed-out key material cannot be particularly urgent, but apparently the author found it useful for this kind of situation.