create account

What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery. by pibara

View this thread on: hive.blogpeakd.comecency.com
· @pibara · (edited)
$8.74
What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery.
If you haven't seen my talk on my [CoinZdense](https::/conin.z-den.se/) project yet,CoinZdense is a slow going but ambitious project that aims to create a collection of hash-based signature and key-management libraries meant for Web3 ecosystems.

I had a few really interesing discussions about my project at #hivefest, including one about the question: *What if my solution comes too late? *

My idea was: It won't be too late, there is time enough. But then an other subject came by, that without funding, the project will continue to go very slow, and maybe the creation of a quick and dirty solution that could aid in disaster recovery could show potential project funders something concrete.

So that is what I've been doing this week. I've burned about 18 hours this week on a little set of tools that could soon act as a little demonstratorof quantum-event disaster recovery.

I just pushed some [code](https://github.com/pibara/hive-coinzdense-disaster-recovery) and put it on pypi. It's not much yet, I hope to complete the code in a few days to have a full and functioning demonstrator that (I hope not because that would mean CoinZdense will become a failure) might one day help attenuate the damage from a quantum-computing compromize event on HIVE.

So what is the idea of this little set of tools? Basically we create a one-time hash based signing key that is derived from the same master key (or alternately is created from randmness). The public key of this one-time signing key is then signed with the OWNER key and is added to the account JSON.

Now if many users would use this tool (or the functionality could get integrated into keychain, maybe, and into scripts and tools that create new users), in the event of a suspected quantum compomized chain, the last trusted pre-event version of this info could be used for one purpose and one purpose only: To sign the public key for a new hash-based-signing OWNER key.

For now all the tool does is ask for the master password, create a new one-time private disaster recovery key, derive the public key, , sign it with the OWNER key, and post it into the account JSON.

A little walkthrough:

```
pip install hiveqdpr
```

After the tool is installed, we can invoke it. In this case I use my @croupierbot account:

```
hqpdr-userpost-masterpass croupierbot
```

The tool will ask for the master password, or alternatively we can call:

```
hqpdr-userpost-randomkey croupierbot
```

In this case the tool asks for the owner and the active key. The owner key is used for signing the disaster recovery key, the active key for posting it to the account JSON.

If we now look at the [hiveblocks page](https://hiveblocks.com/@croupierbot) for @croupierbot, we see the *coinzdense_disaster_recovery* object with a pubkey and a signature.
![image.png](https://files.peakd.com/file/peakd-hive/pibara/23twA2cG5hTMnuT65xhrJXCXGY8ErtKV5zB7y9hNgDbPx87QfY1ZG7MyCfBuh8ZfLEVSY.png)

In the comming days I'm going to extned the tool to also demonstrate the actual disaster recovery signing and validation, and prove that what it does now makes some actual sense.

I'll write an other post when the functionality of the tool is complete.

This is a little side-track for the main CoinZdense project, but I'll eventualy integrate it.

# Support the CoinZdense project

As I mentioned in my [talk at HiveFest](https://peakd.com/coinzdense/@pibara/my-hivefest-coinzdense-slides-and-some-personal-shit), CoinZdense is a one-man and **unfunded** project. You can help support the project by buying project support tokens on hive-engine, by helping out looking at the [1995 style project website](https://github.com/pibara/coinzdense), or by advocating with the different target Web3 ecosystem communities.

So far the project has received roughly **4 HBD** from sale of [project support tokens](https://hive-engine.com/trade/COINZDENSE) on hive-engine and from a tiny Paypal donation on the [tipping-jar page](https://coin.z-den.se/qr.html).

I would really like to spent some structural time on this project, so all donations and support are highly welcomed right now. I hope this little disaster preparation tool shows everyone with some concrete and functional, be it very limited code that CoinZdense is a project deserving of your tips and donations. 
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorpibara
permlinkwhat-if-coinzdense-comes-to-late-a-little-unfinished-just-in-case-tool-for-preparing-for-quantum-event-disaster-recovery
categoryhive-139531
json_metadata"{"app":"peakd/2022.07.1","format":"markdown","description":"A soon to be completed just-in-case tool for securing your HIVE account against a quantum-computing compromize of HIVE.","tags":["postquantum","web3","development"],"users":["croupierbot","pibara"],"image":["https://files.peakd.com/file/peakd-hive/pibara/23twA2cG5hTMnuT65xhrJXCXGY8ErtKV5zB7y9hNgDbPx87QfY1ZG7MyCfBuh8ZfLEVSY.png"]}"
created2022-09-23 21:24:42
last_update2022-09-24 13:08:45
depth0
children3
last_payout2022-09-30 21:24:42
cashout_time1969-12-31 23:59:59
total_payout_value4.374 HBD
curator_payout_value4.361 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,300
author_reputation60,469,629,952,622
root_title"What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,875,186
net_rshares14,057,903,365,597
author_curate_reward""
vote details (62)
@arcange ·
Dear @pibara,<br>May I ask you to review and support the Dev Marketing Proposal (https://peakd.com/me/proposals/232) we presented on Conference Day 1 at HiveFest?<br>The campaign aims to onboard new application developers to grow our ecosystem. If you missed the presentation, you can watch it on [YouTube](https://youtu.be/DZ9MpQQoPu4?t=18434).<br>You cast your vote for the proposal on [Peakd](https://peakd.com/me/proposals/232), [Ecency](https://ecency.com/proposals/232), [Hive.blog](https://wallet.hive.blog/proposals) or [using HiveSigner](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22232%22%5D&approve=true).<br><br>Thank you!
properties (22)
authorarcange
permlinknotify-pibara-20220926071536
categoryhive-139531
json_metadata""
created2022-09-26 07:15:36
last_update2022-09-26 07:15:36
depth1
children0
last_payout2022-10-03 07:15:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length658
author_reputation1,148,317,845,798,682
root_title"What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,939,543
net_rshares0
@felixxx ·
$0.20
*too late

(In the title)
👍  
properties (23)
authorfelixxx
permlinkre-pibara-rip7ja
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.07.1"}
created2022-09-24 05:06:45
last_update2022-09-24 05:06:45
depth1
children1
last_payout2022-10-01 05:06:45
cashout_time1969-12-31 23:59:59
total_payout_value0.098 HBD
curator_payout_value0.099 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation218,698,764,507,703
root_title"What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,882,484
net_rshares325,792,547,550
author_curate_reward""
vote details (1)
@pibara ·
Tnx
properties (22)
authorpibara
permlinkre-felixxx-riptvn
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.07.1"}
created2022-09-24 13:09:24
last_update2022-09-24 13:09:24
depth2
children0
last_payout2022-10-01 13:09:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3
author_reputation60,469,629,952,622
root_title"What if CoinZdense comes too late: A little (unfinished) just-in-case tool for preparing for quantum-event disaster recovery."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,890,152
net_rshares0