164 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
158
views
Weird linker error "undefined reference to `__imp__vsnprintf'" in "libcrypto.a" in C++ Windows project?
I've been working on a C++ project. I have been using 2 Windows PCs for building it and both worked fine with the same (kinda janky) setup. I recently got a new computer and I get a linker error. My ...
1
vote
2
answers
67
views
Intermittent segmentation fault in OpenSSL SHA1_Update after days of operation in multi-threaded C program
----Problem Summary----
I'm experiencing intermittent segmentation faults in a multi-threaded C program that heavily uses OpenSSL's libcrypto for cryptographic operations. The crash occurs in ...
1
vote
0
answers
119
views
Creating self‐signed certificates using LibCrypto-3.dll from OpenSSL, code in FreePascal
I’m having trouble with the x509_sign function in the following code.
The error I get from LibCrypto via ERR_print_errors_fp is:
OPENSSL_Uplink(721B6200,08): no OPENSSL_Applink"
program ...
1
vote
0
answers
95
views
How to use CRYPTO_ctr128_encrypt in c for libcrypto.so.1.1?
I changed the linking of my binary from libcrypto.so.10 to libcrypto.so.1.1. I intend to run this binary on RHEL version 8.8. This required me to change AES_ctr128_encrypt() function to ...
1
vote
1
answer
111
views
Does the EVP_KEY created by OSSL_DECODER_CTX_new_for_pkey need to be manually freed?
Does this code (ignoring lack of error handling) leak with OpenSSL 3.0?
EVP_PKEY *pkey = NULL;
BIO *public_key_file = BIO_new_file("public.pem", "r");
OSSL_DECODER_CTX *dctx = ...
1
vote
1
answer
599
views
EVP_DigestVerifyFinal fails - ECDSA P-256/SHA-256 with OpenSSL (Libcrypto)
While learning Libcrypto I reached a point where I need some external input.
I've the following working python example:
#!/usr/bin/env python3
import hashlib
from ecdsa import curves, VerifyingKey
...
0
votes
0
answers
158
views
How to properly handle byte buffers from C to Ada?
I'm trying to create a simple Ada program that would encrypt/decrypt files using the OpenSSL libcrypto library. One of the issues I'm facing is handling output streams properly. Trying to achieve ...
0
votes
0
answers
1k
views
libcrypto-x64.dll was missing
I make an executable file using cmake, and it runs perfectly on my computer, but when I share it to another computer and I open it, it says libcrypto-x64.dll was missing. I tried to find it on web and ...
-1
votes
3
answers
2k
views
Error loading key "/dev/fd/63": error in libcrypto
I am trying to push a file to GH repo from pipeline and failing at ssh-add $private_key / ssh-add <(cat git-private-key | base64 --decode)
git config --global user.name "CI Bot"
git ...
1
vote
0
answers
768
views
Why does building of nodejs Docker image with Alpine fails when there are newer versions of a libssl library?
We create a nodejs 18.18 Docker image based on Alpine 3.18.
We include the libraries libssl3 and libcrypto3. By default, it will use the versions 3.1.3-r0, for which our vulnerability scanner reports ...
1
vote
0
answers
68
views
Alternative to static linking OpenSSL
I am working on a shared library loaded into application that uses libcurl and libopenssl+libcrypto. For certain reasons I have to override memory allocation functions, using curl_global_init_mem and ...
0
votes
1
answer
630
views
Can you use OpenSSL's CRYPTO_free function with memory allocated using CRYPTO_secure_malloc?
I'm using OpenSSL's secure heap feature, but not all functions in the library let you specify how memory is allocated. Hence, in some places I'm calling CRYPTO_free on memory allocated with ...
0
votes
0
answers
673
views
C++ Linking Problem with CURL, OpenSSL and AWS SDK S3 using conan, cmake
I am having trouble in linking two libraries, CURL, OpenSSL and AWS SDK S3, simultaneously. But the thing is I need to manage another libraries with conan 2.0.
I shrinked CMakeLists.txt and Example ...
1
vote
1
answer
1k
views
Alpine Package libcrypto3 (3.1.4-r0) crash java-cacerts /etc/ssl/certs/java/cacerts
I tried to build a Java 17 image based on Alpine (3.18.4).
I ran the following command:
apk upgrade --no-cache && apk add --no-cache openjdk17-jre="17.0.9_p8-r0"
When I tried to ...
1
vote
1
answer
516
views
How to solve "Cannot build without libcrypto (OpenSSL)"?
I use commands as below to build and install xar-1.5.2, but libssl1.0-dev can’t be installed, I use libssl-dev instead of it.
sudo apt-get install build-essential libxml2-dev libssl1.0-dev zlib1g-dev
...