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

feat: bls key generation #141

Merged
merged 20 commits into from
Aug 20, 2024
Prev Previous commit
Next Next commit
wip
  • Loading branch information
alexbarnsley committed Aug 12, 2024
commit c7c435f47ab64e8f8cb80d9a5c98986afa617ab9
1 change: 0 additions & 1 deletion crypto/identity/bls_public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def from_passphrase_attempt_1(cls, passphrase: str) -> str:
# seed = unhexlify(sha256(passphrase.encode()).hexdigest())
# seed = hexlify(passphrase.encode())
seed = btclib.mnemonic.bip39.seed_from_mnemonic(passphrase, '')
seed = bytes('1234'.encode())

private_key = my_bls.deriveChild(my_bls.deriveMaster(seed), 0).hex()
# public_key = generate_public_key(private_key).hex()
Expand Down
Loading