With OpenSSL 3.0 (which is default since at least Ubuntu 22.04 Jammy), the cipher ECB isn't supported anymore. This will break vncdes#40.
Short reproducer:
> ruby -r openssl -e "p OpenSSL::Cipher::DES.new(:ECB)"
/usr/lib/ruby/3.0.0/openssl/cipher.rb:21:in `initialize': unsupported (OpenSSL::Cipher::CipherError)
from /usr/lib/ruby/3.0.0/openssl/cipher.rb:21:in `block (3 levels) in <class:Cipher>'
from -e:1:in `new'
from -e:1:in `<main>'
Workaround
The current workaround is allowing legacy crypto via openssl.cnf or pin your gem to an older version with selfmade crypto.
With OpenSSL 3.0 (which is default since at least Ubuntu 22.04 Jammy), the cipher
ECBisn't supported anymore. This will break vncdes#40.Short reproducer:
Workaround
The current workaround is allowing legacy crypto via openssl.cnf or pin your gem to an older version with selfmade crypto.