Remix.run Logo
▲ AnotherGoodName 4 hours ago

The part i don’t fundamentally get and i’m not trying to argue against the post, this is an ask for my own understanding;

As stated in the article after a transaction others have your public key. If anyone tells you the public key is hashed that’s only for a coin at rest. When you make a transaction your public key is given as-is. Others likely have your public key today.

If a break occurs there’s an easy path to generate the private key given a public key. That means others now have everything you have that proves you are you right?

In reasonably simple terms; if crypto is broken at the time of the fork don’t both the real users and the thief’s have the same proof?

▲vagab0nd 4 hours ago | parent | next [-]

Most crypto wallets use a "master key" to generate the private keys actually used on chain. Think the seed phrases. He's proposing that once the private keys are compromised, you roll back the chain to revert the attack, disable the standard transaction types, and only allow using the master keys since they are never exposed.

▲10111001 3 hours ago | parent [-]

> Most crypto wallets use a "master key" to generate the private keys actually used on chain. Think the seed phrases. He's proposing that once the private keys are compromised, you roll back the chain to revert the attack, disable the standard transaction types, and only allow using the master keys since they are never exposed.

How do you do that if the master keys are never used on the chain?

▲vagab0nd 3 hours ago | parent | next [-]

You add a new transaction type that uses a zero knowledge proof to prove that you possess a master key that generates the private key, which corresponds to the public key.

That said, with the latest development, I'm not even sure whether the STARK mentioned in the post is safe.

▲Kubuxu 3 hours ago | parent [-]

STARKs at the root are unaffected by QC or EC breaks because they rely on hashing as their underlying primitive. Although that is also an issue, the proofs are large and scale with the size of the statement. Many common deployments use another proving system to produce a succinct proof from the STARK. For example, RISC0 uses recursive aggregation of STARK proofs followed by a STARK verifier in Groth16, producing a small Groth16 proof (~200KiB -> 256B).

▲numpad0 2 hours ago | parent | prev [-]

If I'm reading this right, their pubkeys are usually derived by f_hash(g(h(j(k(l(master_key))), and it's trivial to perform key succession by publishing {"old_pub":"$PUBKEY", "proof":"$(g(h...l(master_key))", "new_pub":"$PQ_PUBKEY"}, including in the message the last intermediate key that produces the final pubkey. The message can then be verified and vetted by the majority by evaluating (old_pub == f_hash(proof)), confirming that the last intermediate key provided in fact produces the old pubkey. This relies on the hash functions f_hash, g, h, ..., l to be intact despite the breakthrough, but as long as they are, it can even be repeated until the hashing rounds are exhausted and key bearer would have to reveal the actual master_key to do this. And apparently they think those hash functions should be plenty quantum proof.

▲olaird25 2 hours ago | parent [-]

It is not trivial.

What you described doesn't bind to new_pub so someone could see your transaction and then frontrun it with a replaced new_pub.

That's why you need a STARK to prove that you know $(g(h...l(master_key)) without revealing it, and this STARK has to bind new_pub.

▲doublepg23 4 hours ago | parent | prev [-]

Yes, this happened ~recently with the bad RNG on Coldcard hardware wallets.