is python package grpcio from conda-forge or pypi build using boringssl?

607 views Asked by At

I would like to be sure that the python package grpcio (version >= 1.38.1) that I need to install is using BoringSSL and not OpenSSL. I was looking a conda-forge conda-forge or pypi pypi or at the grpc site grpc but could find this info. I found some blog that mention that boringssl is used but without any reference blog. Any suggestion how to find this info ? or it will use the available SSL lib from the system ?

1

There are 1 answers

1
Lidi Zheng On BEST ANSWER

Yes, BoringSSL is used for all grpcio pre-compiled wheels. However, not all of them enabled assembly optimization for encrption: https://github.com/grpc/grpc/blob/master/doc/ssl-performance.md

Building with OpenSSL is an option that people need to explicitly opt-in: https://github.com/grpc/grpc/blob/master/setup.py#L138