New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Floonet] Encrypt private slate data upon storage in DB #2189

Merged
merged 3 commits into from Dec 20, 2018

Conversation

Projects
None yet
1 participant
@yeastplume
Copy link
Member

yeastplume commented Dec 20, 2018

Resolves #1988 by:

XORing stored blinding sum against h(root_key|tx_id|"blind")
XORing stored nonce against h(root_key|tx_id|"nonce")

Also stops wallet doc tests from splatting wallet data files into the source directory

@yeastplume yeastplume changed the base branch from master to floonet Dec 20, 2018

@yeastplume yeastplume merged commit 7812a9e into mimblewimble:floonet Dec 20, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

ignopeverell added a commit that referenced this pull request Dec 21, 2018

Merge pull request #2196 from mimblewimble/floonet
* Get last bitcon block hash, setup genesis header without PoW (for now)
* More a few properties to mainnet genesis. Don't get too excited, several are placeholders.
* Mine a valid Cuckaroo solution for genesis block
* Use miner as library to get a solution for genesis. Replace final values in genesis.rs before committing it.
* Complete genesis replacement
* Fixed various replacements to obtain a compilable, well-formed genesis
* Check plugin errors, uncomment PoW validation
* Fixes to nonce handling in genesis mining
* Also produce full block hashes
* Fix genesis hash test
* Switch commitments (#2157)
* [Floonet] Use switch commits for all blinding factors (#2178)
* move wallet mods back into dirs
* use switched keys for blinding factor in all cases
* re-implement flag to turn off switch commit derivation
* rename tx log entry field tx_hex -> stored_tx (#2181)
* [Floonet] add feature for height locked kernels (#2168)
* add feature for height locked kernels
* add function to compute kernel features appropriate for lock height, and use it
* only sign kernel-features relevant fields; refactor Features
* simplify invalid kernel logic
* remove unused height arg to reward::output and run some rustfmt
* replace nested if/else by match
* Floonet chain type and genesis, testnets cleanup (#2182)
* [Floonet] Encrypt private slate data upon storage in DB (#2189)
* xor encrypt stored nonce and blind sum in transaction data
* stop doc tests splatting wallet files throughout
* Remove bzip2 dependency
* Changed magic number and seeds for Floonet (#2188)
* Genesis generator now loads a local wallet seed to build coinbase.
* Floonet genesis block
* Add floonet to generated grin-server.toml comments
* Test with final Floonet genesis hashes
* Fix get_header_for_output for genesis (#2192)
* start search with min height 0 (#2195)

@yeastplume yeastplume deleted the yeastplume:slate_keys branch Jan 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment