-
Notifications
You must be signed in to change notification settings - Fork 71
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
Use audited dependencies #270
Comments
Not a maintainer, but I think it would be really nice to use audited packages. I have one question though. Do these libs work on React Native? As there is overlap in maintainers between Veramo and this package and one of the requirements of Veramo is that it also has to run on RN, this package also needs to run on RN. If it does not it would break certain apps, like our wallet. |
Yes they do |
Cool @mirceanis What do you think. If you ask me it would be great to have audited packages for these core functionalities needed in this lib |
@paulmillr a PR would be highly appreciated! 🙏 |
The discord link refers to this server: https://discord.gg/U5SCRnNFuS |
I'm in favor of a replacement. I would have liked to move forward with #170, which aims to refactor this library to allow folks to bring their own crypto implementations instead of us bundling things in, but since I haven't had any time for that it makes more sense to do what you suggest. |
I see you have ES256K, ES256 signers. How should this rewrite behave? Should I simply replace elliptic with noble in these files, or should I create new signers? |
Great minds think alike: #280 Have just noticed this thread, otherwise would ping you pals first before doing any code. |
# [7.0.0](6.11.6...7.0.0) (2023-04-19) ### Features * **deps:** replace @stablelib/ with noble-crypto ([#280](#280)) ([0f6221a](0f6221a)), closes [#270](#270) ### BREAKING CHANGES * **deps:** `ES256*` signers are now enforcing canonical signatures (s-value less than or equal to half the curve order). This will likely break some expectations for dependents that were using the previous versions.
🎉 This issue has been resolved in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hey @ukstv , this is wonderful, thank you for doing this! |
@inevolin The package you mentioned is not directly used by Ceramic ecosystem AFAIK, so I would like to politely refuse the invitation. What I could propose instead, is maybe you could depend on key-did-provider-ed25519 or key-did-provider-secp256k1 which are cared for. As soon as paulmillr/noble-curves#32 gets merged, we could fully migrate to noble-crypto and leverage its speed and dependability there. That would transitively apply to your package suite as well. |
interesting! thank you |
Wanna me send a PR?
The text was updated successfully, but these errors were encountered: