Remmina_mRemoteNG_conv
Remmina_mRemoteNG_conv copied to clipboard
Ubuntu 20.04 error
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
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!
Maybe the number of iterations needs to be adjusted to 10000, which works for me, as it is in the specific xml file.
key = hashlib.pbkdf2_hmac("sha1", key_from_mRemNG.encode(), salt, 10000, dklen=32)