Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR synology_logger unknown type byte 0xBC #27

Open
Nacionarte opened this issue Dec 30, 2022 · 0 comments
Open

ERROR synology_logger unknown type byte 0xBC #27

Nacionarte opened this issue Dec 30, 2022 · 0 comments

Comments

@Nacionarte
Copy link

Hi,
I'm getting errors and my impression is it like/folder related rather than the tool itself.. Check logs:
2022-12-30 13:53:46,588 INFO syndecrypt.files decrypting "/Users/User1/Desktop/BAK/@Projects@/ECRYPTFS_FNEK_ENCRYPTED.FWbELhHcZphxBUbzIZ66nWLjEID.ZR2E1Dc9dFnaOhqa1V9r20EoYgsMoU--" to "/Users/User1/Desktop/BAK/@Projects@/Test-decryption-mac-Syno-tool/ECRYPTFS_FNEK_ENCRYPTED.FWbELhHcZphxBUbzIZ66nWLjEID.ZR2E1Dc9dFnaOhqa1V9r20EoYgsMoU--"
2022-12-30 13:53:46,595 ERROR syndecrypt.core magic should not be b'\x00\x00\x00\x00\x00\x008\x04=\xc6\x02X\x01G\xb5\xad\x03' but b'CLOUDSYNC_ENC'
2022-12-30 13:53:46,596 ERROR syndecrypt.core magic hash should not be b'\x00\x00\n\x00\x00\x10\x00\x00\x02\x8c-\x04\t\x03\x01\x00\x11"3DUfw`\xdeo\xc0\xdf\x17\xe3yf' but b'd8d6ba7b9df02ef39a33ef912a91dc56'
2022-12-30 13:53:46,949 ERROR syndecrypt.files decryption failed, exception occurred: <class 'Exception'>: unknown type byte 0xBC
2022-12-30 13:53:46,949 ERROR synology_logger unknown type byte 0xBC
Traceback (most recent call last):
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/Synology.py", line 204, in validate
run_tool()
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/Synology.py", line 307, in run_tool
main.main(['-p', pword, out, input])
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/main.py", line 96, in main
files.decrypt_file(ff, os.path.join(output_dir, fp), password=password, private_key=private_key, public_key=public_key)
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/files.py", line 28, in decrypt_file
core.decrypt_stream(instream, outstream, password=password, private_key=private_key, public_key=public_key)
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/core.py", line 200, in decrypt_stream
for (key,value) in decode_csenc_stream(instream):
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/core.py", line 173, in decode_csenc_stream
for obj in _read_objects_from(f):
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/core.py", line 109, in _read_objects_from
obj = _read_object_from(f)
File "/Users/User1/Downloads/synology-cloud-sync-decrypt-tool-master/syndecrypt/core.py", line 129, in _read_object_from
raise Exception('unknown type byte ' + ("0x%02X" % header_byte))
Exception: unknown type byte 0xBC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant