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

ECDSA private keys to be stored, retrieved and deleted from the network. #110

Open
manel1874 opened this issue Oct 14, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@manel1874
Copy link
Member

Feature Description
This allows to create ECDSA private keys to be stored in the network.

Why is this feature important?
This feature is part of the ongoing effort to support threshold ecdsa signature in Nillion.

How do developers use the feature?

import os

key1 = bytearray(os.urandom(32))
key2 = bytearray(os.urandom(32))

values = {
    "key1": nillion_client.EcdsaPrivateKey(key1),
    "key2": nillion_client.EcdsaPrivateKey(key2),
}

values_id = client.store_values(values, ttl_days=1)
returned_values = client.retrieve_values(values_id)
client.delete_values(values_id)

Additional context

  • PR that exposes Ecdsa keys to python client.
@manel1874 manel1874 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant