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

loading caibx header failed #3

Closed
devhigh29 opened this issue Mar 26, 2021 · 2 comments
Closed

loading caibx header failed #3

devhigh29 opened this issue Mar 26, 2021 · 2 comments

Comments

@devhigh29
Copy link

While trying to extract, i am getting the following error

sudo csn /tmp/foo.caibx /dev/mmcblk1p6 http://192.168.0.93:8080/default.castr/
caibx.c:load_index_header:65 unsupported feature set: 0xa000000000000000
main.c:csn:124 loading caibx header failed
main.c:main:270 initializing synchronization process failed

The same caibx file is working with casync, i only see this error with casync-nano

@florolf
Copy link
Owner

florolf commented Mar 26, 2021

The feature flag set displayed in the error message means that you're trying to extract a caibx file that uses SHA512/256 hashes. casync-nano only supports SHA256 because on the class of devices it is meant for (roughly 32bit ARM processors), SHA512 is significantly slower than SHA256. You can get casync make to generate compatible indices by using --digest=sha256. Note that while this will result in the same chunks as in the default settings, but they will have different IDs because of the different hash algorithm.

@devhigh29
Copy link
Author

Thanks, it solved the issue.

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

2 participants