Comments (3)
Thank you for the detailed report. this strikes me as a regression, @tmshort since you authored the referenced change, would you agree with that assessment.
@mattcaswell @levitte @t8m your input would be appreciated here as well.
for now I am assuming that it is, and marking it as such
from openssl.
@jmb202 may I ask you to publish your workaround? We also are hit by this issue
from openssl.
@beldmit sure -- it's trivial:
--- a/crypto/evp/pmeth_lib.c
+++ b/crypto/evp/pmeth_lib.c
@@ -1061,8 +1061,13 @@ static int evp_pkey_ctx_add1_octet_string(EVP_PKEY_CTX *ctx, int fallback,
os_params[0] = OSSL_PARAM_construct_octet_string(param, NULL, 0);
os_params[1] = OSSL_PARAM_construct_end();
- if (!EVP_PKEY_CTX_get_params(ctx, os_params))
+ if (!EVP_PKEY_CTX_get_params(ctx, os_params)) {
+ if (EVP_PKEY_CTX_gettable_params(ctx) == NULL) {
+ /* Older provider that doesn't support gettable parameters */
+ return evp_pkey_ctx_set1_octet_string(ctx, fallback, param, op, ctrl, data, datalen);
+ }
return 0;
+ }
/* Older provider that doesn't support getting this parameter */
if (os_params[0].return_size == OSSL_PARAM_UNMODIFIED)
from openssl.
Related Issues (20)
- How to visualize providers function call paths?
- 3.3.1: ${prefix} missing in /usr/lib/pkg-config HOT 13
- Base 64 decoding truncation
- memory leak in OPENSSL_config HOT 5
- `apps/openssl.cnf` default is to not enforce TLS. Should default to: enforce TLS HOT 8
- `SSL_get_ex_data_X509_STORE_CTX_idx` does not respect `OSSL_LIB_CTX` HOT 4
- OpenSSL 3.0.8 - How to fallback to default provider when property fips=yes set and FIPS provider is loaded
- OS Zoo CI currently broken HOT 12
- Use of RSA_test_flags generates Segmentation fault HOT 2
- The EVP_PKEY_derive() does not returns maximum size of the output buffer for ECDH with X963KDF HOT 9
- add default cases to switch statements HOT 13
- want to install openssl HOT 1
- -Werror missing from many unit tests HOT 2
- error during make : For bug reporting instructions, please see: <file:///usr/share/doc/gcc-13/README.Bugs>. ar: providers/common/der/libdefault-lib-der_rsa_sig.o: No such file or directory make[1]: *** [Makefile:22733: providers/libdefault.a] Error 1 make[1]: Leaving directory '/home/alexandre/Téléchargements/openssl' make: *** [Makefile:3731 : build_sw] Erreur 2 HOT 6
- [BUG] asn1_time_test started failing on NonStop as of 3.2 HOT 6
- Investigate Clusterfuzz heap buffer overflow
- Could OpenSSL send alerts when DTLS is over sctp? HOT 2
- OpenSSL 3.0.13 can't decrypt file encrypted with OpenSSL 1.1.1 HOT 2
- issue with libssl with 3x version and authentication error with 1.1.1c version when deploying through aws codebuild, HOT 4
- May be an infinite loop occurs during the ossl_rsa_fips186_4_gen_prob_primes()?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.