Skip to content

pkeys are immutable on OpenSSL 3.0

Running mailcrypt-cli on a system with OpenSSL 3.0 we get the following:

Invalid Token or Master Key
pkeys are immutable on OpenSSL 3.0

Error comes from:

lib/iapi/utils/mail_crypt.rb:25:in private_key=': pkeys are immutable on OpenSSL 3.0 (OpenSSL::PKey::PKeyError)`

https://code.immerda.ch/immerda/apps/iapi/-/blob/master/lib/iapi/utils/mail_crypt.rb#L25