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

ExperimentalWarning in createKeyPairFromPrivateKeyBytes() #54

Closed
devconet opened this issue Jan 9, 2025 · 2 comments
Closed

ExperimentalWarning in createKeyPairFromPrivateKeyBytes() #54

devconet opened this issue Jan 9, 2025 · 2 comments
Labels
question Add this to close an issue with instructions on how to repost as a question on Stack Exchange

Comments

@devconet
Copy link

devconet commented Jan 9, 2025

Hi,

I recently started using your package and encountered a warning when running a simple project that uses the createKeyPairFromPrivateKeyBytes() function. The warning message is as follows:

_(node:884349) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time_

Running node with --trace-warnings seems to indicate that the warning originates from this line:

return await crypto.subtle.importKey('pkcs8', privateKeyBytesPkcs8, 'Ed25519', extractable ?? false, ['sign']);

Could you clarify whether this warning is expected and if it is safe to ignore? If not, is there a recommended workaround or alternative approach?

Thanks in advance for your help!

@steveluscher steveluscher added the question Add this to close an issue with instructions on how to repost as a question on Stack Exchange label Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Hi @devconet,

Thanks for your question!

We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of the Solana JavaScript SDK itself.

Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that this is a bug with the Solana JavaScript SDK itself, please post your question to the Solana Stack Exchange using this link: https://solana.stackexchange.com/questions/ask


This automated message is a result of having added the ‘question’ tag.

@github-actions github-actions bot closed this as completed Jan 9, 2025
Copy link

Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Add this to close an issue with instructions on how to repost as a question on Stack Exchange
Projects
None yet
Development

No branches or pull requests

2 participants