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

Cannot load the example identity: "Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()" #152

Open
asomers opened this issue Feb 16, 2024 · 1 comment

Comments

@asomers
Copy link

asomers commented Feb 16, 2024

When I try to run the echo example, it fails at the Identity::from_pkcs12(der, "mypass") line with this error:

Error: Normal(ErrorStack([Error { code: 50856204, library: "digital envelope routines", function: "inner_evp_generic_fetch", reason: "unsupported", file: "/usr/home/somers/src/freebsd.org/src/crypto/openssl/crypto/evp/evp_fetch.c", line: 373, data: "Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()" }]))

I see this error in both environments that I've tried:

  • FreeBSD 15.0-CURRENT amd64, OpenSSL 3.0.12 24 Oct 2023 (Library: OpenSSL 3.0.12 24 Oct 2023)
  • Debian 12 amd64, OpenSSL 3.0.11 19 Sep 2023 (Library: OpenSSL 3.0.11 19 Sep 2023)
@asomers
Copy link
Author

asomers commented Feb 16, 2024

It does work in an older environment. Does the identity file need to be regenerated for newer versions of openssl?

  • FreeBSD 13.3-BETA2 OpenSSL 1.1.1w-freebsd 11 Sep 2023

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

1 participant