You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate to use package:boring instead of building native assets in package:webcrypto #471
We want to use package:boring: https://pub.dev/packages/boring instead of having our own native assets in package:webcrypto.
Package boring is just the ffigen stuff for BoringSSL along with BoringSSL.
The motivation is ensure that all the things we do that uses BoringSSL rely on as few boringssl copies as reasonably possible. So if some other crypto package needs to use BoringSSL use package:boring. That way we only have to update the BoringSSL copy in package:boring.
It also means that different packages that use BoringSSL can share the same binary (reducing size), and that we only have to do prebuilt assets once, and figuring out treeshaking once.
Note: package:boring is not really intended to be an end-user facing package, it's intended to be used by crypto libraries that wrap BoringSSL. It is not the aim that package:boring will ship a pleasant easy to use API, instead it'll ship the raw ffigen wrapped C API. Use package:webcrypto when writing applications.
Reacted by Eli Geller, HamdaanAliQuatil, Koji Wakamiya and James O'Leary
Activity
mosuem commentedon Nov 17, 2026
Fixed by #417
jonasfj commentedon Nov 17, 2026
@HamdaanAliQuatil FYI
HamdaanAliQuatil commentedon Nov 17, 2026
awesome!