ripem160 issues on Ubuntu 22

9 replies 466 views
nickaltMember
Posts: 32 · Reputation: 129
#1Mar 18, 2017, 07:52 AM
Anyone else dealing with this problem and figured out a fix? I've gone through all the suggestions online and still can't get it to work on Ubuntu 22. It should function if I enable it manually, but that’s not happening for me: https://stackoverflow.com/questions/69922525/python-3-9-8-hashlib-and-ripemd160/72509045#72509045 Funny part is, it works just fine on Ubuntu 18... thanks!
7 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#2Mar 18, 2017, 09:38 AM
What OpenSSL version?
4 Reply Quote Share
nickaltMember
Posts: 32 · Reputation: 129
#3Mar 18, 2017, 10:30 AM
hey achow101... OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) I edited manually the openssl.cnf as in the tutorial: Make sure that the config file contains following lines: openssl_conf = openssl_init [openssl_init] providers = provider_sect [provider_sect] default = default_sect legacy = legacy_sect [default_sect] activate = 1 [legacy_sect] activate = 1 But still not working..
6 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#4Mar 18, 2017, 02:30 PM
Where did you put the openssl.cnf file?
4 Reply Quote Share
nickaltMember
Posts: 32 · Reputation: 129
#5Mar 18, 2017, 08:34 PM
According to that guide I read I edited this one: /usr/lib/ssl/openssl.cnf but I notice there are others: /etc/ssl/openssl.cnf /snap/core20/1587/etc/ssl/openssl.cnf /snap/core20/1587/usr/lib/ssl/openssl.cnf /snap/core20/2318/etc/ssl/openssl.cnf /snap/core20/2318/usr/lib/ssl/openssl.cnf /usr/lib/shim/mok/openssl.cnf /usr/lib/ssl/openssl.cnf /usr/share/doc/nodejs/openssl.cnf.gz /usr/share/doc/openvpn/examples/sample-keys/openssl.cnf I am not ot sure which one should be?
3 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#6Mar 18, 2017, 10:04 PM
What is the result of
6 Reply Quote Share
nickaltMember
Posts: 32 · Reputation: 129
#7Mar 19, 2017, 12:03 AM
I got this: OPENSSLDIR: "/usr/lib/ssl"
6 Reply Quote Share
LuckyCoinLegendary
Posts: 832 · Reputation: 4795
#8Mar 19, 2017, 01:22 AM
Does openssl list -providers mention "OpenSSL Legacy Provider" somewhere? If not, then it appears that your configuration is not taking effect. Also you may have to restart system services or reboot the computer to apply the new openssl settings to each program.
2 Reply Quote Share
nickaltMember
Posts: 32 · Reputation: 129
#9Mar 19, 2017, 02:57 AM
yes it does have legacy..but still not working. This is very annoying, since I got Ubuntu18 and it does works well there... mahuro@WorkStation:~/Desktop$ openssl list -providers Providers:   default     name: OpenSSL Default Provider     version: 3.0.2     status: active   legacy     name: OpenSSL Legacy Provider     version: 3.0.2     status: active
2 Reply Quote Share
LuckyCoinLegendary
Posts: 832 · Reputation: 4795
#10Mar 20, 2017, 02:57 AM
Which programs are you trying to use that require the legacy provider? It is possible that they might be linked to a different version of OpenSSL. You can check on Linux which libraries a program is linked to by running ldd $(which <program>). For example, if you are trying to check the libraries that Python uses: Should print something like this: See if they are using custom versions of OpenSSL. You should see a library called libssl or something like that. A custom installation of OpenSSL will have its own configuration files.
6 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics