136 questions
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 ...
46
votes
2
answers
33k
views
SSL_ERROR_SSL(1): operation failed within the library
I am getting some SSL Errors (which are causing my project to stop/hang with no crash as I have a DispatchGroup waiting for the request), which I don't know how they are caused, what they are, or what ...
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 ...
11
votes
1
answer
6k
views
BoringSSL failed
When i try sign in or sign up in Firebase, I get error
2018-09-20 10:59:15.502959+0300 app[1980:18396] TIC Read Status [3:0x0]: 1:57
2018-09-20 10:59:15.503055+0300 app[1980:18396] TIC Read Status [3:...
11
votes
0
answers
657
views
Add a custom TLS extension on Android
I am developing an Android application and want to add a custom extension on the TLS/SSL ClientHello handshake. Both OpenSSL and BoringSSL support the necessary functionality and callbacks to add ...
7
votes
1
answer
6k
views
How to build curl with boringssl?
I'm trying to build curl with boringssl on Ubuntu 16.04.
I have boringssl built OK.
With curl 7.53 I configure using:
./configure --with-ssl=/home/john/dev/boringssl
and the output says " SSL ...
6
votes
3
answers
4k
views
Which JCE provider to use on Android ? Bouncy Castle, Conscrypt,...?
I’m starting the development of an Android App using ECC Cryptography. I have seen that Android embeds some Cryptography (defined here https://developer.android.com/guide/topics/security/cryptography )...
5
votes
1
answer
20k
views
Android SSL Handshake Failed when connecting to a web service using HTTPS
My Android app connects to a web service on my server. Everything worked fine yesterday, but today I got the error.
I didn't make any changes to the web service, nor to the app. I suspect it's ...
5
votes
1
answer
1k
views
Undefined symbol with BoringSSL
I'm writing a test application with BoringSSL and when I execute it I get this error:
symbol lookup error: ./main: undefined symbol: SSL_CTX_set_min_proto_version
All needed libraries are getting ...
4
votes
1
answer
5k
views
Verify FIPS mode in golang boringssl
how to verify if fips mode is enabled for binary in golang dev boring crypto branch ?
I dont see an easy way apart from internal golang tests
4
votes
1
answer
2k
views
Qt for Android and BoringSSL
I'm developing a Qt-based app for Android, which uses QSslSocket to download data. Due to Android's moving away from OpenSSL to BoringSSL since Marshmallow Qt programs, relying on the OpenSSL library, ...
4
votes
0
answers
2k
views
Disable TLS 1.3 for GRPC or system-wide in Ubuntu?
I'm trying to use a GRPC client which is TLS 1.3 enabled on my system (Ubuntu 20.04). I'd like to force it to connect over TLS 1.2: I don't see any options to control this, so I thought I'd try ...
4
votes
0
answers
702
views
linux based android repo build boringssl libcrypto-host undefined reference to `sha512_block_data_order'
while compiling android firmware on linux Ubuntu 16.04 x86-64 host
uname -sm
Linux x86_64
following error occur in boringssl module:
out/host/linux-x86/obj/SHARED_LIBRARIES/libcrypto-...
4
votes
1
answer
845
views
Do you have to patch the security provider when the device runs Android M?
Android M came packed with the new security provider: BoringSSL. Therefore I wonder: do I still have to update the SecurityProvider on Android M devices using the Dynamic Security Provider from Google ...
3
votes
2
answers
770
views
CMake .. produces output in parent directory
I'm trying to build BoringSSL by Google. The BUILDING file instructions clearly indicate that the output should go under the build directory.
I have a directory project, and under it I've created ...
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 -...
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 ...
3
votes
1
answer
4k
views
Why am I getting SSL_ERROR_ZERO_RETURN error on NSURLSession
Here is my code and I have not used Borring SSL anywhere
NSURL* urlToRequest = [NSURL URLWithString:urlString];
NSMutableURLRequest* urlRequest = [NSMutableURLRequest requestWithURL:urlToRequest];
[...
2
votes
2
answers
5k
views
error:0c0890ba:ASN.1 encoding routines:asn1_check_tlen:WRONG_TAG
I am trying to implement ssl support in my volley request (also I saw answers in SO with similar issues, but it does not help me)
With help of this article I converted my certificate extension from ....
2
votes
1
answer
660
views
Which is the easiest to use, well-maintained and stable API for DTLS 1.2 implementation?
There are several implementations of TLS that support DTLS 1.2. Wikipedia has an exhaustive link here.
My reading points to the classic openssl, libressl, boringssl and mbed TLS as viable options. I ...
2
votes
2
answers
804
views
How to use deprecated functions in boring SSL?
I would like to convert AES128 encrypted text into base64 encoding using boringssl in android. I am using functions like "BIO_new(BIO_f_base64());" to accomplish this. The compile process fails saying ...
2
votes
0
answers
521
views
Curl static compilation problem (X509_NAME) on Windows with BoringSSL 1.1.0
I have a recent problem when I try to compile Curl static lib on windows with BoringSSL. The above commands where working fine 6 months ago, but with latest versions of Curl and BoringSSL I came into ...
2
votes
0
answers
3k
views
REACT_NATIVE_MACOS - Error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
Getting error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER in console log within xcode.
xcode version:Version 10.1 (10B61)
npm install react-native-macos-cli -g
react-native-macos ...
2
votes
0
answers
487
views
statically built boringssl depend on dynamic c runtime
I managed to build boringssl as dll built with /MT and /NODEFAULTLIB
I added the c runtime library in input -> Additional libraries
The toolset was used is LLVM-vs2014
the surprising thing is that I ...
1
vote
2
answers
872
views
Android 6.0 Application crashes when I use TIdHTTP for HTTPS calls
I'm using Delphi XE8 with Indy 10 for Android application development. I have used the TIdHTTP component for HTTP/S service calls.
It works fine in Android 5 and earlier versions, but the same is ...