mkud / Remmina_mRemoteNG_conv

This is converter between Remmina and mRemoteNG - two popular remote connections managers.
GNU Affero General Public License v3.0
27 stars 9 forks source link

Ubuntu 20.04 error #7

Open epigraphe opened 3 years ago

epigraphe commented 3 years ago
Traceback (most recent call last):
  File "remmina_mremoteng_conv.py", line 225, in <module>
    main() 
  File "remmina_mremoteng_conv.py", line 189, in main
    if PassDecrypt(root.attrib["Protected"]) != 'ThisIsNotProtected':
  File "remmina_mremoteng_conv.py", line 114, in PassDecrypt
    plaintext = cipher.decrypt_and_verify(ciphertext, tag)
  File "/home/at/.local/lib/python3.8/site-packages/Cryptodome/Cipher/_mode_gcm.py", line 567, in decrypt_and_verify
    self.verify(received_mac_tag)
  File "/home/at/.local/lib/python3.8/site-packages/Cryptodome/Cipher/_mode_gcm.py", line 508, in verify
    raise ValueError("MAC check failed")
ValueError: MAC check failed

What should i do? Thanks

necronaut1 commented 3 years ago

Hi, I seem to have the same issue. Also on Ubuntu 20.04. Remmina installed from ubuntu repo (not from ppa).

python3 remmina_mremoteng_conv.py -f /home/necroub/remmina_import.xml Traceback (most recent call last): File "remmina_mremoteng_conv.py", line 225, in main() File "remmina_mremoteng_conv.py", line 189, in main if PassDecrypt(root.attrib["Protected"]) != 'ThisIsNotProtected': File "remmina_mremoteng_conv.py", line 114, in PassDecrypt plaintext = cipher.decrypt_and_verify(ciphertext, tag) File "/home/necroub/.local/lib/python3.8/site-packages/Cryptodome/Cipher/_mode_gcm.py", line 567, in decrypt_and_verify self.verify(received_mac_tag) File "/home/necroub/.local/lib/python3.8/site-packages/Cryptodome/Cipher/_mode_gcm.py", line 508, in verify raise ValueError("MAC check failed") ValueError: MAC check failed

Thanks!