# Error after updating to Ubuntu Server 22.04 - Failed: EVP\_MD\_size assembly:\<unknown assembly\> type:\<unknown type\> member:(null)

**URL:** https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371
**Category:** Support
**Created:** [May 8, 2022, 4:56pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371 "2022-05-08T16:56:10Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![dhollingsworth](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/ebca7d/32.png) [@dhollingsworth](https://forum.duplicati.com/u/dhollingsworth)
#### Post date: [May 8, 2022, 4:56pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/1 "2022-05-08T16:56:11Z")

</div>

Hi,

After upgrading to Ubuntu Server 22.04 LTS I now receive the following error for all back ups:

Failed: EVP\_MD\_size assembly: type: member:(null)

Log file details follows:  
Failed: EVP\_MD\_size assembly: type: member:(null)  
Details: System.EntryPointNotFoundException: EVP\_MD\_size assembly: type: member:(null)  
at (wrapper managed-to-native) FasterHashing.InteropOpenSSL11\_libcrypto\_dll.EVP\_MD\_size(intptr)  
at FasterHashing.OpenSSL11\_libcrypto\_dll\_HashAlgorithmSHA256…ctor () [0x0003b] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.OpenSSL11\_libcrypto\_dll\_HashAlgorithm.Create (System.String name) [0x00036] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.OpenSSL11HashAlgorithm.Create (System.String algorithm, FasterHashing.OpenSSL11HashAlgorithm+LibraryName library) [0x0003a] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.FasterHash.Create (System.String algorithm, System.Boolean allowfallback, FasterHashing.HashImplementation implementation) [0x00034] in \<787629f3dc434608a1b2bf412946d433\>:0  
at Duplicati.Library.Utility.HashAlgorithmHelper.Create (System.String name) [0x00000] in \<2a3ee711c7c04f6c957360f2cf183a7f\>:0  
at Duplicati.Library.Main.Options.get\_BlockhashSize () [0x00025] in :0  
at Duplicati.Library.Main.Volumes.VolumeBase…ctor (Duplicati.Library.Main.Options options) [0x0002b] in :0  
at Duplicati.Library.Main.Volumes.VolumeWriterBase…ctor (Duplicati.Library.Main.Options options, System.DateTime timestamp) [0x00000] in :0  
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter…ctor (Duplicati.Library.Main.Options options, System.DateTime timestamp) [0x00000] in :0  
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x01048] in :0  
at CoCoL.ChannelExtensions.WaitForTaskOrThrow (System.Threading.Tasks.Task task) [0x00050] in \<9a758ff4db6c48d6b3d4d0e5c2adf6d1\>:0  
at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x00009] in :0  
at Duplicati.Library.Main.Controller+\<\>c\_\_DisplayClass14\_0.b\_\_0 (Duplicati.Library.Main.BackupResults result) [0x0004b] in :0  
at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x0011c] in :0

Log data:  
2022-05-08 16:14:04 +00 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error  
System.EntryPointNotFoundException: EVP\_MD\_size assembly: type: member:(null)  
at (wrapper managed-to-native) FasterHashing.InteropOpenSSL11\_libcrypto\_dll.EVP\_MD\_size(intptr)  
at FasterHashing.OpenSSL11\_libcrypto\_dll\_HashAlgorithmSHA256…ctor () [0x0003b] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.OpenSSL11\_libcrypto\_dll\_HashAlgorithm.Create (System.String name) [0x00036] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.OpenSSL11HashAlgorithm.Create (System.String algorithm, FasterHashing.OpenSSL11HashAlgorithm+LibraryName library) [0x0003a] in \<787629f3dc434608a1b2bf412946d433\>:0  
at FasterHashing.FasterHash.Create (System.String algorithm, System.Boolean allowfallback, FasterHashing.HashImplementation implementation) [0x00034] in \<787629f3dc434608a1b2bf412946d433\>:0  
at Duplicati.Library.Utility.HashAlgorithmHelper.Create (System.String name) [0x00000] in \<2a3ee711c7c04f6c957360f2cf183a7f\>:0  
at Duplicati.Library.Main.Options.get\_BlockhashSize () [0x00025] in :0  
at Duplicati.Library.Main.Volumes.VolumeBase…ctor (Duplicati.Library.Main.Options options) [0x0002b] in :0  
at Duplicati.Library.Main.Volumes.VolumeWriterBase…ctor (Duplicati.Library.Main.Options options, System.DateTime timestamp) [0x00000] in :0  
at Duplicati.Library.Main.Volumes.FilesetVolumeWriter…ctor (Duplicati.Library.Main.Options options, System.DateTime timestamp) [0x00000] in :0  
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync (System.String[] sources, Duplicati.Library.Utility.IFilter filter, System.Threading.CancellationToken token) [0x001bb] in :0

---

<div class="post-metadata">

### Author: ![Andor\_Kiss](https://forum.duplicati.com/user_avatar/forum.duplicati.com/andor_kiss/32/2657_2.png) [@Andor\_Kiss](https://forum.duplicati.com/u/Andor_Kiss)
#### Post date: [May 11, 2022, 11:49am UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/2 "2022-05-11T11:49:13Z")

</div>

Same here; I believe it’s an OpenSSL related bug.

---

<div class="post-metadata">

### Author: ![gpatel-fr](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/7993a0/32.png) [@gpatel-fr](https://forum.duplicati.com/u/gpatel-fr)
#### Post date: [May 11, 2022, 12:01pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/3 "2022-05-11T12:01:30Z")

</div>

Ubuntu 22.04 does not support Openssl 1.1. All software must be upgraded to use Openssl 3.0.

---

<div class="post-metadata">

### Author: ![foxhollow](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/f/8edcca/32.png) [@foxhollow](https://forum.duplicati.com/u/foxhollow)
#### Post date: [May 11, 2022, 7:14pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/4 "2022-05-11T19:14:45Z")

</div>

Same issue with Fedora 36. Works just fine with F35, but when I upgraded to F36 this error occured. I had to revert to F35 until this issue is resolved.

---

<div class="post-metadata">

### Author: ![Andor\_Kiss](https://forum.duplicati.com/user_avatar/forum.duplicati.com/andor_kiss/32/2657_2.png) [@Andor\_Kiss](https://forum.duplicati.com/u/Andor_Kiss)
#### Post date: [May 11, 2022, 7:51pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/5 "2022-05-11T19:51:24Z")

</div>

Workaround here: [boot - Upgrading to Ubuntu 22.04 causes libcrypto errors, apt/dpkg broken - Ask Ubuntu](https://askubuntu.com/questions/1403778/upgrading-to-ubuntu-22-04-causes-libcrypto-errors-apt-dpkg-broken)

Tested and works in Pop\_OS 22.04 LTS (and likely Ubuntu 22.04).

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 11, 2022, 8:39pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/6 "2022-05-11T20:39:10Z")

</div>

> [@foxhollow](#):
>
> Same issue with Fedora 36.

Welcome to the forum @foxhollow

Does Fedora (unlike Ubuntu) make it easy to add libssl1.1 to supplement latest release?  
You wouldn’t want two copies of the openssl command, but I think libaries are versioned.

[https://repology.org/project/openssl/versions](https://repology.org/project/openssl/versions) reveals which distros moved to OpenSSL 3.  
I know Fedora is kind of leading edge, but I’m surprised some rolling distros didn’t move.  
I’m also surprised that it looks like Ubuntu first let loose on an LTS release. Seems risky.

> [@Andor\_Kiss](#):
>
> Workaround here

Thanks for the workaround and the test. This mention should link here from GitHub issue.

[OneDrive backup error message: EVP\_MD\_size assembly:\<unknown assembly\> type:\<unknown type\> member:(null) #4716](https://github.com/duplicati/duplicati/issues/4716)

Anybody here a developer? Please look over [https://github.com/kenkendk/FasterHashing](https://github.com/kenkendk/FasterHashing).

[2.0.2.11\_canary\_2017-10-20](https://github.com/duplicati/duplicati/releases/tag/v2.0.2.11-2.0.2.11_canary_2017-10-20)

> Updated FasterHashing, so it automatically picks up openssl 1.0 and 1.1 on all platforms

Possibly it needs to be taught about OpenSSL 3, but I’m surprised it doesn’t fall back safely:

> falling back to the managed implementation if none are found.

as documented, after [Supported libraries](https://github.com/kenkendk/FasterHashing#supported-libraries) (OpenSSL 1.0 and 1.1 API) are found unavailable.  
An open question needing test and investigation is whether the version 3 API is compatible.

Actually getting FasterHashing changed (if that is required) requires its owner’s scarce help.  
Maybe a less elegant temporary workaround to at least keep running (slower) can be found.

---

<div class="post-metadata">

### Author: ![Andor\_Kiss](https://forum.duplicati.com/user_avatar/forum.duplicati.com/andor_kiss/32/2657_2.png) [@Andor\_Kiss](https://forum.duplicati.com/u/Andor_Kiss)
#### Post date: [May 11, 2022, 8:56pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/7 "2022-05-11T20:56:53Z")

</div>

Well, I’m pretty sure (and someone please correct me if I’m wrong) that the libraries are versioned - so there _shouldn’t_ be any issues with OpenSSL 3.0 moving forward. I guess it’s a temporary solution and the proper one is a re-compile and rebuild against OpenSSL 3.0.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 11, 2022, 11:06pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/8 "2022-05-11T23:06:38Z")

</div>

> [@Andor\_Kiss](#):
>
> I guess it’s a temporary solution and the proper one is a re-compile and rebuild against OpenSSL 3.0.

I’m not a C# developer but AFAIK this is in [managed code](https://en.wikipedia.org/wiki/Common_Language_Runtime), meaning it wouldn’t link openssl at compile.  
The proper solution is maybe to look into how FasterHashing [searches for libraries](https://github.com/kenkendk/FasterHashing/blob/master/FasterHashing/FasterHash.cs), then update that…  
That’s hindered by not having access to do anything with that project without help from its maintainer…

I do notice in the code (now that I look a bit) that one can disable probing. I wonder if it can be forced quietly into managed code using some of the below. Or maybe that’s where we got, and it’s broken…

> <https://github.com/kenkendk/FasterHashing/blob/6198adf6a8af08dc3c69502693b2730d8736f85f/FasterHashing/FasterHash.cs#L171-L199>

> [@Andor\_Kiss](#):
>
> the libraries are versioned

I think this is correct. I can run [ldd](https://linux.die.net/man/1/ldd) to print traditional shared lib dependencies for my old openssl version:

```plaintext
> which openssl
/usr/bin/openssl
> ldd /usr/bin/openssl
	linux-vdso.so.1 (0x00007fff039ff000)
	libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007ffb19582000)
	libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007ffb190b7000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffb18e98000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffb18aa7000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffb188a3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ffb19ac2000)
> dpkg -S /usr/lib/x86_64-linux-gnu/libssl.so.1.1
libssl1.1:amd64: /usr/lib/x86_64-linux-gnu/libssl.so.1.1
> dpkg -S /usr/bin/openssl
openssl: /usr/bin/openssl
> 

```

Above is Linux Mint 19.3, a Ubuntu derivative. So lib installs probably don’t clash (and you proved it).  
The openssl command itself looks like it’s probably in the same path-friendly place for all its versions.

Still looking for a developer volunteer to sort things out. Developer and other volunteers in code, test, documentation, forum, and other areas are always highly valuable to maintain and improve Duplicati.

---

<div class="post-metadata">

### Author: ![foxhollow](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/f/8edcca/32.png) [@foxhollow](https://forum.duplicati.com/u/foxhollow)
#### Post date: [May 12, 2022, 5:53am UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/9 "2022-05-12T05:53:48Z")

</div>

Hello ts678,

> Does Fedora (unlike Ubuntu) make it easy to add libssl1.1 to supplement latest release?  
> You wouldn’t want two copies of the openssl command, but I think libaries are versioned.

This is beyond my Linux knowledge at this time.

This error is the first time I have had any issues with Duplicati, it has always been a solid piece of software which is my main backup solution. I was surprised when it didn’t work on Fedora which always just works in my experience.

---

<div class="post-metadata">

### Author: ![gpatel-fr](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/7993a0/32.png) [@gpatel-fr](https://forum.duplicati.com/u/gpatel-fr)
#### Post date: [May 12, 2022, 8:01am UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/10 "2022-05-12T08:01:16Z")

</div>

> [@ts678](#):
>
> Does Fedora (unlike Ubuntu) make it easy to add libssl1.1

easy as:  
dnf install openssl1.1

---

<div class="post-metadata">

### Author: ![Steven\_Meyer](https://forum.duplicati.com/user_avatar/forum.duplicati.com/steven_meyer/32/3948_2.png) [@Steven\_Meyer](https://forum.duplicati.com/u/Steven_Meyer)
#### Post date: [June 30, 2022, 12:42pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/11 "2022-06-30T12:42:28Z")

</div>

Does anybody know if a fix for this is in the works? I’m not doing those work around due to the nature of the server.

---

<div class="post-metadata">

### Author: ![linmanfu](https://forum.duplicati.com/user_avatar/forum.duplicati.com/linmanfu/32/5657_2.png) [@linmanfu](https://forum.duplicati.com/u/linmanfu)
#### Post date: [July 1, 2022, 10:07am UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/12 "2022-07-01T10:07:44Z")

</div>

The libssl problem is also being discussed over at [GitHub Issues](https://github.com/duplicati/duplicati/issues/4716).

@dhollingsworth could you please change the post titles to something more appropriate, such as “Duplicati on Linux requires OpenSSL 1, which is not supported on recent Linux distros”? The long quoted error message “EVP\_MD” makes it look like this issue involves some obscure set up, but we now know that this bug is a serious problem for the future of Duplicati on Linux.

---

<div class="post-metadata">

### Author: ![dhollingsworth](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/ebca7d/32.png) [@dhollingsworth](https://forum.duplicati.com/u/dhollingsworth)
#### Post date: [July 2, 2022, 3:14pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/13 "2022-07-02T15:14:03Z")

</div>

@linmanfu I’ve had a look, but for the life of me, I can’t see how to edit the title.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [July 2, 2022, 4:53pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/14 "2022-07-02T16:53:21Z")

</div>

> [@dhollingsworth](#):
>
> I can’t see how to edit the title.

 ![image](https://forum.duplicati.com/uploads/default/original/2X/f/fc60140483539c77482b8ac95dad7b1078524e54.png)

I hoped you (as original poster) would have an edit icon to its right, but if not, say what you want it to be, although personally I think the challenge will be more in attracting someone to pursue this, not topic title.

Eye-catching titles don’t help if no skilled eyes are proactively looking about for problems needing fixing. Developers might be more prone to look at [GitHub](https://github.com/duplicati/duplicati/issues/) anyway. It’s a true issue tracker, but still rather weak.

Duplicati community at the moment seems highly short on development volunteers, and it’s unfortunate.  
As a community effort, all progress comes from volunteers in any area, including code, docs, forum. etc.

---

<div class="post-metadata">

### Author: ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)
#### Post date: [July 3, 2022, 3:12pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/15 "2022-07-03T15:12:32Z")

</div>

Is this problem limited to the OneDrive back end? I spun up a 22.04 VM and didn’t have issues using my normal TLS back end (WebDAVS).

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [July 4, 2022, 11:42am UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/16 "2022-07-04T11:42:01Z")

</div>

> [@drwtsn32](#):
>
> I spun up a 22.04 VM

Was this a fresh install or an upgrade? My 20.10 VM said it was unsupported, so offered 21.10 which offered 22.04 which is asking me `Remove obsolete packages?` which includes `libssl1.1`. For now

```plaintext
$ dpkg -l 'libssl*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-=================-============-===============================================
ii libssl1.1:amd64 1.1.1l-1ubuntu1.5 amd64 Secure Sockets Layer toolkit - shared libraries
ii libssl3:amd64 3.0.2-0ubuntu1.5 amd64 Secure Sockets Layer toolkit - shared libraries

```

> [@drwtsn32](#):
>
> didn’t have issues using my normal TLS back end (WebDAVS).

I would have thought that would have trouble. I think `mono` actually has a Let’s Encrypt-challenged old version of BoringSSL for its TLS, but Duplicati looks around elsewhere for something to do hash work.

> <https://github.com/duplicati/duplicati/blob/d716051cdca941f13c0060b6bcc9b5ac3a3f8ee5/Duplicati/Library/Utility/HashAlgorithmHelper.cs#L23-L38>

might be where it connects to the below output from

> mono --trace=FasterHashing Duplicati.GUI.TrayIcon.exe

which in order to work right needs

> export AUTOUPDATER\_Duplicati\_SKIP\_UPDATE=true

```plaintext
[0x7f83754d3640: 1.23579 0] ENTER: FasterHashing.FasterHash:Create (string,bool,FasterHashing.HashImplementation)([STRING:0x7f8399f80cc0:SHA256], 1, 0)
[0x7f83754d3640: 1.23581 1] ENTER: FasterHashing.FasterHash:get_PreferedImplementation ()()
[0x7f83754d3640: 1.23582 1] LEAVE: FasterHashing.FasterHash:get_PreferedImplementation ()result=2
[0x7f83754d3640: 1.23583 1] ENTER: FasterHashing.OpenSSL11HashAlgorithm:Create (string,FasterHashing.OpenSSL11HashAlgorithm/LibraryName)([STRING:0x7f8399f80cc0:SHA256], 0)
[0x7f83754d3640: 1.23584 2] ENTER: FasterHashing.OpenSSL11HashAlgorithm:get_DefaultLibrary ()()
[0x7f83754d3640: 1.23584 2] LEAVE: FasterHashing.OpenSSL11HashAlgorithm:get_DefaultLibrary ()result=2
[0x7f83754d3640: 1.23585 2] ENTER: FasterHashing.OpenSSL11_libssl_so_1_1_HashAlgorithm:Create (string)([STRING:0x7f8399f80cc0:SHA256])
[0x7f83754d3640: 1.23586 3] ENTER: FasterHashing.OpenSSL11_libssl_so_1_1_HashAlgorithmSHA256:.ctor ()(this:0x7f8399862310[FasterHashing.OpenSSL11_libssl_so_1_1_HashAlgorithmSHA256 Duplicati.GUI.TrayIcon.exe])
[0x7f83754d3640: 1.23587 4] ENTER: (wrapper managed-to-native) FasterHashing.InteropOpenSSL11_libssl_so_1_1:EVP_get_digestbyname (string)([STRING:0x7f8399f80cc0:SHA256])
[0x7f83754d3640: 1.23589 4] LEAVE: (wrapper managed-to-native) FasterHashing.InteropOpenSSL11_libssl_so_1_1:EVP_get_digestbyname (string)result=0x7f836a91c200
[0x7f83754d3640: 1.23590 4] ENTER: (wrapper managed-to-native) FasterHashing.InteropOpenSSL11_libssl_so_1_1:EVP_MD_size (intptr)(0x7f836a91c200)
[0x7f83754d3640: 1.23591 4] LEAVE: (wrapper managed-to-native) FasterHashing.InteropOpenSSL11_libssl_so_1_1:EVP_MD_size (intptr)result=32

```

```plaintext
$ pwd
/lib/x86_64-linux-gnu
$ ls -1 libssl*
libssl3.so
libssl.so.1.1
libssl.so.3
$ dpkg -S libssl3.so
thunderbird: /usr/lib/thunderbird/libssl3.so
libnss3:amd64: /usr/lib/x86_64-linux-gnu/libssl3.so
$ dpkg -S libssl.so.1.1
libssl1.1:amd64: /usr/lib/x86_64-linux-gnu/libssl.so.1.1
$ dpkg -S libssl.so.3
libssl3:amd64: /usr/lib/x86_64-linux-gnu/libssl.so.3
$ nm --dynamic libssl.so.1.1 | grep 'EVP_MD.*size'
                 U EVP_MD_size@OPENSSL_1_1_0
$ nm --dynamic libssl.so.3 | grep 'EVP_MD.*size'
                 U EVP_MD_get_size@OPENSSL_3.0.0
$ 

```

[EVP\_MD\_size](https://www.openssl.org/docs/man3.0/man3/EVP_MD_size.html)

> The EVP\_MD\_type(), EVP\_MD\_nid(), EVP\_MD\_name(), EVP\_MD\_pkey\_type(), EVP\_MD\_size(), EVP\_MD\_block\_size(), EVP\_MD\_flags(), EVP\_MD\_CTX\_size(), EVP\_MD\_CTX\_block\_size(), EVP\_MD\_CTX\_type(), and EVP\_MD\_CTX\_md\_data() functions were renamed to include `get` or `get0` in their names in OpenSSL 3.0, respectively. The old names are kept as non-deprecated alias macros.

but alias source macros don’t help binaries that expect the old names. I wonder if that’s our problem?

If anybody out there has a good understanding of `mono` [Interop with Native Libraries](https://www.mono-project.com/docs/advanced/pinvoke/), please assist us.

---

<div class="post-metadata">

### Author: ![umgfoin](https://forum.duplicati.com/user_avatar/forum.duplicati.com/umgfoin/32/7716_2.png) [@umgfoin](https://forum.duplicati.com/u/umgfoin)
#### Post date: [December 7, 2022, 8:15pm UTC](https://forum.duplicati.com/t/error-after-updating-to-ubuntu-server-22-04-failed-evp-md-size-assembly-unknown-assembly-type-unknown-type-member-null/14371/17 "2022-12-07T20:15:38Z")

</div>

A possible solution to openssl3 issues can be found [here on github](https://github.com/duplicati/duplicati/issues/4716#issuecomment-1334013420): This should ensure _openssl3_-support for _FasterHashing_.  
++umgfoin.
