Skip to content
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

Moar camera entropy #76

Merged
merged 2 commits into from
Aug 22, 2021
Merged

Conversation

kdmukai
Copy link
Contributor

@kdmukai kdmukai commented Aug 21, 2021

Enhances image-based entropy by chaining hashes from:

  • the CPU's unique Serial
  • the millis since power on
  • each live preview image (up to 50 images)
  • and then the final 720x480 entropy image.

Also refactors all mnemonic processing code into a new mnemonic_generation.py. Includes vast simplifications.

Basic related test suite additions in test_mnemonic_generation.py.

@newtonick
Copy link
Collaborator

@kdmukai I reviewed this commit. I don't see any issues.

I am planning to refactor the SeedStorage class to better handle mnemonic, passphrase, and bytes representing a seed. This may make the need for mnemonic_generation.py unnecessary. I think it make more sense to create a Seed class/object to pass around instead adding the overhead of converting mnemonic_to_seed every time it's needed.

@SeedSigner
Copy link
Owner

Appreciate your work on this, and appreciate hcaklockenga & newtonick for the review, approving PR.

@SeedSigner SeedSigner merged commit 718e6c0 into SeedSigner:0_4_4 Aug 22, 2021
@kdmukai kdmukai deleted the moar_camera_entropy branch September 2, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants