Author

Topic: ripem160 not working in buntu 22... (Read 169 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 30, 2024, 03:54:33 AM
#10
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 ).

For example, if you are trying to check the libraries that Python uses:

Code:
ldd $(which python)

Should print something like this:

Code:
        linux-vdso.so.1 (0x00007fff3f191000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9b72c14000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f9b72be3000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9b72bc7000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9b7299e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f9b73309000)

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.
jr. member
Activity: 34
Merit: 2
May 28, 2024, 04:16:44 PM
#9
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

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
May 25, 2024, 10:14:35 AM
#8
I got this:

OPENSSLDIR: "/usr/lib/ssl"

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.
jr. member
Activity: 34
Merit: 2
May 23, 2024, 09:50:36 PM
#7
I got this:

OPENSSLDIR: "/usr/lib/ssl"
staff
Activity: 3458
Merit: 6793
Just writing some code
May 23, 2024, 08:13:44 PM
#6
What is the result of
Code:
openssl version -d
jr. member
Activity: 34
Merit: 2
May 23, 2024, 07:50:12 PM
#5
 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?


staff
Activity: 3458
Merit: 6793
Just writing some code
May 23, 2024, 07:30:43 PM
#4
Where did you put the openssl.cnf file?
jr. member
Activity: 34
Merit: 2
May 23, 2024, 06:04:44 PM
#3
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..
staff
Activity: 3458
Merit: 6793
Just writing some code
May 23, 2024, 05:56:16 PM
#2
What OpenSSL version?
jr. member
Activity: 34
Merit: 2
May 23, 2024, 05:52:39 PM
#1

Has anybody come across this issue and found a solution? I have tried every suggestion on the internet but nothing gets it to work in Ubuntu 22.

this should work, by manually anabling it, but it doesnt for me:

https://stackoverflow.com/questions/69922525/python-3-9-8-hashlib-and-ripemd160/72509045#72509045

Funny thing is, it works in Ubuntu18 ....thanks!
Jump to: