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

Update blst to 0.3.12 #3079

Open
vtamara opened this issue Jun 4, 2024 · 0 comments · May be fixed by #3080
Open

Update blst to 0.3.12 #3079

vtamara opened this issue Jun 4, 2024 · 0 comments · May be fixed by #3080
Labels
enhancement New feature or request

Comments

@vtamara
Copy link
Contributor

vtamara commented Jun 4, 2024

Context and scope

Currently avalanchego uses the version 0.3.11 of the library blst to implement the cryptographic signature BLS12-381. The version 0.3.12 of blst improves security as described in its release notes https://github.com/supranational/blst/releases/tag/v0.3.12 and in particular includes the commits supranational/blst@dae1f94 and supranational/blst@6cca12a that

  1. Improve security of the library by moving constants to a read-only section (not allowing attackers to modify the constants after the program starts)
  2. Works with OpenBSD/adJ and advances Support OpenBSD/adJ #2782. Due to security policies of that OS the previous version 0.3.11 with avalanchego produced segmentation faults sporadically, see Segmentation fault in some machines and not in others using OpenBSD adJ74 supranational/blst#206 The issue was solved with the mentioned commits included in version 0.3.12.

Discussion and alternatives
IMHO it is a good security practice to update version of libraries periodically.

Open questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗄️
Development

Successfully merging a pull request may close this issue.

1 participant