Replies: 2 comments 1 reply
-
From my limited knowledge, this is an issue with your system's python install or environment. Unfortunately I'm not versed enough in this area to give you any advice, but I expect someone else around here is, once they see this. |
Beta Was this translation helpful? Give feedback.
-
If you are still experiencing the issues it is recommended to upgrade to the latest version of chia. Please download it from here: https://www.chia.net/downloads/ Since this issue has been open for a number of years without additional comments, we will be closing this ticket but if we have closed this ticket in error do not hesitate to reach out to us again with any followup questions, comments, or if the issue persists after an update.
The best place to reach our support team is on Discord (https://discord.gg/chia) or by reopening this ticket. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
ValueError: MAC check failed
To Reproduce
Expected behavior
Daemon and farmer services to start without error
Additional context
Results are the same regardless of user access. Tested with root account in /root directory and newly created user in new users home directory.
Traceback (most recent call last):
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/keyrings/cryptfile/file_base.py", line 116, in get_password
password = self.decrypt(password_encrypted, assoc).decode('utf-8')
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/keyrings/cryptfile/cryptfile.py", line 130, in decrypt
return cipher.decrypt_and_verify(data['data'], data['mac'])
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/Crypto/Cipher/_mode_gcm.py", line 567, in decrypt_and_verify
self.verify(received_mac_tag)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/Crypto/Cipher/_mode_gcm.py", line 508, in verify
raise ValueError("MAC check failed")
ValueError: MAC check failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/chia/chia-blockchain/venv/bin/chia", line 33, in
sys.exit(load_entry_point('chia-blockchain', 'console_scripts', 'chia')())
File "/home/chia/chia-blockchain/chia/cmds/chia.py", line 77, in main
cli() # pylint: disable=no-value-for-parameter
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/chia/chia-blockchain/chia/cmds/keys.py", line 58, in add_cmd
check_keys(ctx.obj["root_path"])
File "/home/chia/chia-blockchain/chia/cmds/init_funcs.py", line 51, in check_keys
all_sks = keychain.get_all_private_keys()
File "/home/chia/chia-blockchain/chia/util/keychain.py", line 243, in get_all_private_keys
pkent = self._get_pk_and_entropy(self._get_private_key_user(index))
File "/home/chia/chia-blockchain/chia/util/keychain.py", line 142, in _get_pk_and_entropy
read_str = keyring.get_password(self._get_service(), user)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/keyrings/cryptfile/file_base.py", line 119, in get_password
password = self.decrypt(password_encrypted).decode('utf-8')
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/keyrings/cryptfile/cryptfile.py", line 130, in decrypt
return cipher.decrypt_and_verify(data['data'], data['mac'])
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/Crypto/Cipher/_mode_gcm.py", line 567, in decrypt_and_verify
self.verify(received_mac_tag)
File "/home/chia/chia-blockchain/venv/lib/python3.8/site-packages/Crypto/Cipher/_mode_gcm.py", line 508, in verify
raise ValueError("MAC check failed")
ValueError: MAC check failed
Beta Was this translation helpful? Give feedback.
All reactions