-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Description
ℹ️ Should be fixed by #36173 (NC26)
server/apps/encryption/lib/Crypto/Crypt.php
Line 689 in 6fa62e9
if (openssl_open($encKeyFile, $plainContent, $shareKey, $privateKey, 'RC4')) { |
Completely breaks the encryption on any system with the default openssl 3.0 config (legacy ciphers are now disabled).
Error example if this inevitably starts happening for fedora 36 et. al
OCA\Encryption\Exceptions\MultiKeyDecryptException: multikeydecrypt with share key failed:error:0308010C:digital envelope routines::unsupported
Workaround (from within the distribution openssl.conf)
# Configure as (add or uncomment as needed)
[provider_sect]
default = default_sect
legacy = legacy_sect
[default_sect]
activate = 1
[legacy_sect]
activate = 1
alxgb, yasij, SquaredPotato, EchoDev, HeyBanditoz and 35 moreolehj, foss-fan023, Rosti-dev, pdolinic, JasonRaveling and 3 more