136 questions
0
votes
0
answers
38
views
How to achieve complete read/write thread separation for BoringSSL using BIO APIs
I'm integrating BoringSSL into my networking library for secure communication. I've observed that both SSL_read() and SSL_write() operations can potentially trigger both read and write activities on ...
0
votes
0
answers
34
views
Android WebSocket SSL error: ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT during connection
I'm trying to establish a WebSocket connection on Android using AsyncHttpClient and WebSocketConnectCallback, but I consistently get the following SSL error when initiating the connection:
onCompleted:...
0
votes
0
answers
327
views
BoringSSL-GRPC Build Error: Unsupported Option '-G' for Target 'x86_64-apple-ios10.0-simulator' After Updating to Xcode 16
I'm working on a Flutter iOS project and facing multiple warnings related to IPHONEOS_DEPLOYMENT_TARGET. Some dependencies (like Firebase) are using 10.0 or 11.0, but the minimum supported version is ...
0
votes
0
answers
374
views
Upgraded to Xcode16 and now keep seeing this when trying to build code BoringSSL-GRPC unsupported option '-G' for target 'arm64-apple-ios15.0'
since upgrading to Xcode 16 I have been getting this error. I have tried updating the Pod file below as many have suggested but when doing this it seems to break the link to all of my Pods and can not ...
1
vote
0
answers
70
views
Why does SSL_write in BoringSSL cause a 2-second delay?
I'm developing an application on Android 10 using C code, compiled into a .so library. The application sends data using BoringSSL's SSL_write() in blocking mode.
SSL_write() returns successfully, but ...
1
vote
0
answers
180
views
Howto use TLS 1.0 in Android
I want to connect to a local device which supports only TLS 1.0. The device's firmware cannot be updated thus I am stuck to this protocol version.
SSLContext sslContext = SSLContext.getInstance("...
3
votes
0
answers
3k
views
BoringSSL-GRPC Unsupported option '-G' for target 'arm64-apple-ios10.0' for Swift Project
After updating to the XCode 16 Beta, while building the app, I get this error.
I've tried pod deintegrate, pod install, pod update, changing Minimum Deployment version.
Also tried removing the -...
0
votes
1
answer
711
views
Not able to install BoringSSL-GRPC (0.0.32)
Comparing resolved specification to the sandbox manifest
A BoringSSL-GRPC
A Firebase
A FirebaseAppCheckInterop
A FirebaseAuth
A FirebaseAuthInterop
A FirebaseCore
A FirebaseCoreExtension
A ...
87
votes
14
answers
85k
views
BoringSSL-GRPC unsupported option '-G' for target 'arm64-apple-ios15.0'
After updating to Xcode 16 Beta, when building an app, I get this error (in attachments). That's basically it. Is there any way to fix that or should I wait for BoringSSL update?
I've tried pod update ...
2
votes
4
answers
5k
views
ITMS-91065: Missing Signature in Privacy Impacting SDK
I submitted my app to the App Review and got the following message.
ITMS-91065: Missing signature - Your app includes “Frameworks/OpenSSL.framework/OpenSSL”, which includes BoringSSL / openssl_grpc, ...
5
votes
1
answer
839
views
Building boringSSL x64 on Windows [duplicate]
While building BoringSSL on windows, the x32 build works just fine.
But the x64 (adding -m64 to c & cxx flags in cmake) I get a link error, two symbols are missing: fiat_p256_adx_sqr and ...
0
votes
1
answer
336
views
libcrypto.so: error adding symbols: File in wrong format clang++: error: linker command failed with exit code 1
I am trying to build boringssl for Android's armeabi-v7a. I looked at the boringssl git document and built it.
//termanal
cmake -DANDROID_ABI=armeabi-v7a \
-DANDROID_PLATFORM=android-21 \
-...
0
votes
1
answer
50
views
Get the error "Unknown CMake command perlasm" in boringssl
I'm trying to use boringssl in Android environment.
I added the code I needed,
include/openssl
ssl
crypto
third_party/fiat
to my project.
Now, CMakeLists.txt of the added project has been added and ...
1
vote
1
answer
1k
views
ios/Pods/Headers/Private/openssl_grpc/BoringSSL-GRPC.modulemap' not found
The problem arises when attempting to use @react-native-firebase/firestore. While Android appears to function flawlessly, iOS is presenting the issue described below:
I've been struggling with this ...
1
vote
1
answer
512
views
How to make okhttp use OpenSSL engine for https?
I need to use an algorithm which is implemented using OpenSSL engine.
My target device is an Android9 device using okhttp2.6, I need this algorithm to work in https, how should I modify it?
Can the ...
0
votes
0
answers
977
views
What about my Swift-NIO-SSL handshake is failing?
I am trying to figure out what about my TLS handshake is failing. I am not exactly sure what this error code means. Can someone provide more context here?
2000-00-00T00:00:00-0000 error [[GRPC-LOGG]] :...
3
votes
0
answers
2k
views
Building & using uWebSockets
Recently, I've been trying to get uWebSockets working, but I have absolutely no idea how to compile it in order to add it to my project in the include directory. The furthest I've been able to get was ...
6
votes
2
answers
1k
views
pod install in flutter iOS project gives base64: invalid input
After some downtime I'm trying to build my Flutter app for iOS without success. pod intall gives me the following output (even after cleaning the XCode workspace):
$ pod install
Analyzing dependencies
...
3
votes
0
answers
3k
views
Xcode failed to log metrics boringssl
I'm building a simple Xcode project to help me calculate taxes. I'm requesting an xml url but getting the error:
[boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
I've ...
-1
votes
1
answer
211
views
How to find CMVP certificate of the boringssl used in a dev.boringcrypto binary
I am deciding to use https://go-boringcrypto.storage.googleapis.com/go1.14.15b4.linux-amd64.tar.gz.
I want to know which exact NIST CMVP certificate number will be applicable for the BoringCrypto ...
1
vote
1
answer
3k
views
Netty Socket SSLHandshakeException WRONG_VERSION_NUMBER
I'm having issues with using a cert on a netty pipeline. The Netty pipeline is executed by Spring, but the SSL is only a part of the Netty portion.
for dependencies I'm using netty and boringssl
&...
14
votes
1
answer
12k
views
Swift boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics
I just get an error "[boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics" while to get JSON data from API link. Before it worked and I just updated Xcode version ...
0
votes
1
answer
492
views
/usr/bin/ld: /usr/include/c++/8/bits/stl_construct.h:107: undefined reference to ***
Running into errors when compiling Google's BoringSSL for NGINX QUIC on my Raspberry Pi 4B, with Raspberry Pi OS, aka Raspbian buster running on it.
The commands I used to compile
As what Google's ...
4
votes
1
answer
2k
views
Go dev.boringcrypto branch - x/crypto library FIPS 140-2 compliance
The dev.boringcrypto branch of Go replaces the built-in crypto modules with a FIPS-verified version:
We have been working inside Google on a fork of Go that uses
BoringCrypto (the core of BoringSSL) ...
1
vote
0
answers
875
views
How to build GRPC with custom BoringSSL symbol prefix?
I need to use in the my application both GRPC (which uses and comes with sources of the BoringSSL) and another third-party library which is tied to OpenSSL, and does not link with BorinSSL. Specifying ...