Repository navigation
Conversation
|
it might also be possible to link both openssl and boringssl into the same ceph binaries: https://boringssl.googlesource.com/boringssl/+/HEAD/BUILDING.md#building-with-prefixed-symbols |
|
discussed this with @mdw-at-linuxbox, and he suggested that we could make rgw's frontends pluggable so that the h3 frontend's boringssl dependency could be hidden from the rest of ceph and rgw |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
rgw_kmip_client_impl.cc uses BIO_new_ssl_connect() which isn't present in boringssl allow compiling without kmip support as a workaround Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
boringssl didn't have HMAC_CTX_get_md() until very recently in google/boringssl@d45d893 Signed-off-by: Casey Bodley <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
this way all dependent targets will use the same openssl include dir, which may be overridden for windows or boringssl Signed-off-by: Casey Bodley <[email protected]>
this way the sources in libosd.a will use our customized openssl headers Signed-off-by: Casey Bodley <[email protected]>
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
this won't work in practice. ceph-mgr requires ceph's ssl library to match python's: if(NOT (OPENSSL_SOVERSION VERSION_EQUAL PYSSL_SOVERSION))
message(FATAL_ERROR "Python and Ceph link to different OpenSSL versions: ${PYSSL_VER} vs ${OPENSSL_VERSION}") |
OpenSSL doesn't support quic, so many quic libraries depend on BoringSSL. to start experimenting with quic integration, we need the ability to build in this configuration
this doesn't add BoringSSL as a ceph dependency, it only works around some build/link failures when our
find_package(OpenSSL)is pointed at a boringssl build. this was tested against the master branch of https://github.com/google/boringssl:these were several compilation failures due to api differences:
HMAC_CTX_get_md()not found in openssl/hmac.h with older boringssl versions (added very recently in google/boringssl@d45d893)OPENSSL_cleanse()not found in openssl/crypto.h, boringssl has it in openssl/mem.hCONF_modules_load()not found in openssl/conf.h, boringssl only hasCONF_modules_load_file()BIO_new_ssl_connect()not found in openssl/ssl.hthere were also linker errors because some sources were still including the default /usr/include/openssl headers. all sources that depend on openssl need to use our overridden include directory, so OPENSSL_INCLUDE_DIR was made a PUBLIC part of the common-common-objs target
we're still using the system libcurl library which links against openssl, so rgw's RGWHTTPManager crashes on startup in
curl_easy_init()the boost::asio::ssl wrappers used by rbd and rgw already support boringssl
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows