Open ricmoo opened 8 years ago
It's doable, will take a little bit of futzing. But not ready at the moment. Plus, according to #92, we don't have Curve25519 DH support yet..
Just an update here, seems you guys already implemented Curve25519 DH support in https://github.com/keybase/kbpgp/pull/121, am I correct?
@ricmoo just as a thought, you could probably modify the generate function in https://github.com/keybase/kbpgp/blob/v2.0.69/src/ecc/curves.iced#L298 to receive a Uint8Array
value as a parameter to use it as x
to recreate a key.
I was wondering if there was a way to deterministically generate PGP keys? Specifically with the ed25519 elliptic curve.
Basically, I would want to be able to pass in some seed and have the same key generated every time, given the same seed (for ed25519 the seed would be 256-bits, the same size as the curve).
Thanks.