reproducible SSH Keygen by PBKDF2
+ Ed25519
|--PBKDF2--------|
| |
| salt <- (at least 5 characters long)
| passphrase <- "the default passphrase"
| |
| hash: sha512 |
| round: 400_000 |
|----------------|
▼
▼ -- 32 bytes entropy
▼
|--Ed25519---------------|
| |
| npm:micro-key-producer |
| npm:@scure/base |
| npm:@noble/hashes |
| npm:@noble/curves |
|------------------------|
deno run jsr:@key/gen-ssh-ed25519 salt <passphrase>
deno run jsr:@key/gen-ssh-ed25519/pub salt <passphrase>
deno run jsr:@key/gen-ssh-ed25519/private salt <passphrase>
deno run jsr:@key/gen-ssh-ed25519/uuid
or
node -p 'crypto.randomUUID()'