View Single Post
Old 05-01-2022, 11:36 AM   #145
qfwfq
Enthusiast
qfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blueqfwfq can differentiate black from dark navy blue
 
Posts: 28
Karma: 13112
Join Date: May 2013
Device: Sony PRS-650; Kobo H2O; Kobo Libra 2; ONYX BOOX Note Air 2 Plus
Now the plugin does install on Ubuntu 22.04 but if I configure it with an anonymous account I get this error
Code:
calibre, version 5.37.0
ERRORE: Eccezione non gestita: <b>OSError</b>:OpenSSL has been compiled without RC2 support

calibre 5.37  embedded-python: False is64bit: True
Linux-5.15.0-27-generic-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '5.15.0-27-generic', '#28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022')
Python 3.10.4
Interface language: it
Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (10, 0, 2) && Obok DeDRM (10, 0, 0)
Traceback (most recent call last):
  File "calibre_plugins.deacsm.config", line 1032, in create_anon_auth
    success, resp = activateDevice(idx, None)
  File "/home/m/Scaricati/calibre-plugin-test-ubuntu-2204.zip/libadobeAccount.py", line 828, in activateDevice
    signature = sign_node(req_xml)
  File "/home/m/Scaricati/calibre-plugin-test-ubuntu-2204.zip/libadobe.py", line 518, in sign_node
    my_priv_key, _, _ = keys.parse_pkcs12(my_pkcs12, base64.b64encode(devkey_bytes))
  File "/home/m/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/asymmetric.py", line 800, in parse_pkcs12
    return _parse_pkcs12(data, password, load_private_key)
  File "/home/m/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 868, in _parse_pkcs12
    decrypted_content = _decrypt_encrypted_data(encryption_algorithm_info, encrypted_content, password)
  File "/home/m/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 1038, in _decrypt_encrypted_data
    plaintext = decrypt_func(enc_key, encrypted_content, enc_iv)
  File "/home/m/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/symmetric.py", line 358, in rc2_cbc_pkcs5_decrypt
    raise EnvironmentError('OpenSSL has been compiled without RC2 support')
OSError: OpenSSL has been compiled without RC2 support
qfwfq is offline   Reply With Quote