Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build with OpenSSL 3.0 (Used in Ubuntu 22.04 LTS) #121

Open
xrobau opened this issue Jun 12, 2022 · 3 comments
Open

Can not build with OpenSSL 3.0 (Used in Ubuntu 22.04 LTS) #121

xrobau opened this issue Jun 12, 2022 · 3 comments

Comments

@xrobau
Copy link

xrobau commented Jun 12, 2022

Many deprecated functions are used:

https://www.openssl.org/docs/manmaster/man3/EC_KEY_new_by_curve_name.html
https://www.openssl.org/docs/manmaster/man3/EC_KEY_generate_key.html
https://www.openssl.org/docs/manmaster/man3/EC_KEY_check_key.html
https://www.openssl.org/docs/manmaster/man3/PEM_write_bio_EC_PUBKEY.html
https://www.openssl.org/docs/manmaster/man3/EC_KEY_free.html

And a pile more that I gave up copying and pasting

@supapo
Copy link

supapo commented Nov 27, 2022

I got this error
src/stir_shaken.c: In function ‘stir_shaken_is_key_trusted’:
src/stir_shaken.c:726:9: error: ‘EVP_PKEY_cmp’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
726 | if (!EVP_PKEY_cmp(pkey, candidate_pkey)) {

@mrtrev
Copy link
Contributor

mrtrev commented Dec 7, 2022

There is a lot of refactoring needed to make this library compatible with OpenSSL 3. I've been chipping away at it very slowly. Would like to see some of the pending PRs be accepted before I put any serious time into a larger project such as this.

It also won't compile on Oracle Linux Server release 9.1 + Red Hat Enterprise Linux release 9.1 (Plow)

@mrtrev
Copy link
Contributor

mrtrev commented Dec 7, 2022

Here's a workaround for now

mrtrev@f361431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants