Nextcloud Client End to End Encryption Crash while decrypting shared folder

Hello,

one of our clients faces an issue with the nextcloud client in combination with the End-to-End Encryption. When he get a share for an encrypted folder his client crashes while trying to sync.

We could extract following relevant Logentries before the client crashed.

    [OCC::LsColJob::finished 	LSCOL of QUrl("https://secure.ptg.intra/remote.php/dav/files/*********") FINISHED WITH STATUS "OK"
[OCC::GetMetadataApiJob::start 	Requesting the metadata for the fileId "10481" as encrypted
[OCC::AccessManager::createRequest 	2 "" "https://secure.ptg.intra/ocs/v2.php/apps/end_to_end_encryption/api/v1/meta-data/10481?format=json" has X-Request-ID "0d4cd9a7-68fd-47c9-a443-2559c41aebab"
[OCC::AbstractNetworkJob::start 	OCC::GetMetadataApiJob created for "https://secure.ptg.intra" + "ocs/v2.php/apps/end_to_end_encryption/api/v1/meta-data/10481" ""
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::FolderMetadata::FolderMetadata 	Setting up existing metadata
[OCC::FolderMetadata::setupExistingMetadata 	"{\"ocs\":{\"data\":{\"meta-data\":\"{\\n    \\\"files\\\": {\\n        \\\"eabf66c5ef024a5780d95f5a87d048bd\\\": {\\n            \\\"authenticationTag\\\": \\\"9pZkpE8Vn+E0Q0fbQGuTDg==\\\",\\n            \\\"encrypted\\\": \\\"pxaFGV0LORKKG5MggciQsIiQ3W2ZnMStM34CwtugMivtsEWacJvyNeFEocuz5bJCmTUuqMnMD+OtnFtGP+Jf3/WZauVuNIhkOe9Ivuk6ut1A0AsT9hTtuXtUSojaLS4vVi/ec4IlkqKwKBl3Gu3WCxjmOmiUoUG2zMEhOMK4+skGwJchh5xIYEp0d7aqUPFn9CLBgmiCvz41hbCUncQwUXWZOsB2DJO3vLxPeNTLD11H6svZcqZKvEPhUfFuukUqfA==eu8JYFUvhfrD1rLqj+wOpA==\\\",\\n            \\\"initializationVector\\\": \\\"xgxA7zuyE1pK+Gq3791W0g==\\\",\\n            \\\"metadataKey\\\": 0\\n        }\\n    },\\n    \\\"metadata\\\": {\\n        \\\"metadataKeys\\\": {\\n            \\\"0\\\": \\\"hwxPVFPGBQaxkHAHSpozfxqAmBaWQa+2/ZRXP8+83wvvZZc7w1Bj+amuNa5DtzE6qrezYjuI2781eK4fq9/lHWFhiWLmfFAUcgGhvPZyjVqmVFdypTWOIQ6GjEVVc95csh4Ve131tK+ZHkK0KGR/snK/HjQCFRmy5Mej/z6ggfC2o1h9/nhEgSyIwsNl82vZxgWMWxpJfpoN1vhs9O561W5JzHsFytahKiCX/98E0TT4CMOjew/k72huJ9hS9s5C30J61B17zXqR2SgT5jNj72lKM4yUPtLFD/J88U1pUyv04g6aWBwFYAn/2sXc1iAYoLRwwqKRLUa/YRd79D5yEA==\\\"\\n        },\\n        \\\"version\\\": 1\\n    }\\n}\\n\"},\"meta\":{\"message\":\"OK\",\"status\":\"ok\",\"statuscode\":200}}}"
[OCC::EncryptionHelper::decryptStringAsymmetric 	Start to work the decryption.
[OCC::EncryptionHelper::decryptStringAsymmetric 	Size of output is:  256
[OCC::EncryptionHelper::decryptStringAsymmetric 	Size of data is:  256
[OCC::EncryptionHelper::decryptStringAsymmetric 	Could not decrypt the data.

Also appearing is this messagebox.

image

Is this a known bug and is there a fix for this?