Skip to content

[WIP] Deterministic zPIV Generation#416

Closed
presstab wants to merge 11 commits intoPIVX-Project:masterfrom
presstab:deterministic_zpiv
Closed

[WIP] Deterministic zPIV Generation#416
presstab wants to merge 11 commits intoPIVX-Project:masterfrom
presstab:deterministic_zpiv

Conversation

@presstab
Copy link

Fulfilling #349

Description: Deterministically generate zPiv using a given seed. This will allow for users to backup a seed, and have the ability to recover/import their zPiv using the seed value.

Status: For testing purposes only! Working on testnet. Deterministic 256 bit seed is generated and added to the wallet.dat on startup (if it does not have the seed already). Can manually replace the seed using RPC setzpivseed. Code will likely have significant refactoring and clean up.

Diagram:
deterministic zpiv

@ghost ghost assigned presstab Nov 27, 2017
@ghost ghost added the review label Nov 27, 2017
@borris345
Copy link

Is this seed just for zpiv or is it the whole wallet with piv aswell?

@presstab
Copy link
Author

@borris345 This is only for zPIV.

@jonspock
Copy link

ACK

@Fuzzbawls
Copy link
Collaborator

Similar to my comment in #413; should this not introduce a wallet version bump? and has there been consideration made for pre-existing wallets? or is this primarily only applied to NEW wallet files?

@presstab
Copy link
Author

This checks for the existence of a zPIV seed and if it DNE then it will add one. So this should be plug and play for new and old wallet files.

@Fuzzbawls Fuzzbawls added this to the 3.1.0 milestone Nov 30, 2017
@Sieres
Copy link

Sieres commented Jan 16, 2018

this branch has been tested against a number of different scenarios including backwards compatibility and in-flight scenarios.

@Fuzzbawls Fuzzbawls added the Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes label Feb 24, 2018
@presstab presstab closed this May 1, 2018
@ghost ghost removed the review label May 1, 2018
@Fuzzbawls Fuzzbawls removed the Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes label Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants