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

Is it secure to expose cryptographic RPCs? #64

Open
nchashch opened this issue Oct 26, 2024 · 2 comments
Open

Is it secure to expose cryptographic RPCs? #64

nchashch opened this issue Oct 26, 2024 · 2 comments
Labels
blocked question Further information is requested security

Comments

@nchashch
Copy link
Collaborator

nchashch commented Oct 26, 2024

Right now we have ripemd160 and hmac_sha512 RPCs, implemented in #63 .

hmac_sha512 is supposed to be used by the launcher GUI in order to derive the seed of mainchain wallet and all sidechain wallet seed from a single master seed 12 words.

After
LayerTwo-Labs/cusf_sidechain_proto#15
is done we will implement assymetric cryptography RPCs:

Edit: These are already implemented in #75

Ecdsa(private key) ---> public key
Sign( r , m ) --> s
Verify( P, m , s) ---> True/False

The RPCs are only supposed to be used locally by the GUI launcher, so it might be good enough.

@nchashch
Copy link
Collaborator Author

Public cryptography RPCs are implemented in #75 .

@nchashch
Copy link
Collaborator Author

I'll keep this one open, just as a reminder to revisit this before actually going to production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked question Further information is requested security
Projects
None yet
Development

No branches or pull requests

1 participant