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

Hash verification error #2

Open
nikhilr612 opened this issue Apr 7, 2018 · 0 comments
Open

Hash verification error #2

nikhilr612 opened this issue Apr 7, 2018 · 0 comments
Assignees
Labels
appbreaking An issue or bug so severe, it hinders the proper functioning of the system

Comments

@nikhilr612
Copy link
Owner

The archive created when FLAG.HASH is active, contains an additional 64-bytes of data, which is the hash. But due to the sequence of execution, the hashes do not verify correctly, primarily because the verification is done before decryption.

The following error is produced

Exception in thread "main" io.minAR.core.Extractor$MalformedDataException: The file ./backup.mar is damaged; identical data absent.... [ERR: Hashes do not match]
	at io.minAR.core.Extractor.analyze(Extractor.java:67)
	at io.minAR.MinAR.extractArchive(MinAR.java:107)
	at test.Test.main(Test.java:18)
@nikhilr612 nikhilr612 self-assigned this Apr 7, 2018
@nikhilr612 nikhilr612 added bug Something isn't working appbreaking An issue or bug so severe, it hinders the proper functioning of the system and removed bug Something isn't working labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appbreaking An issue or bug so severe, it hinders the proper functioning of the system
Projects
None yet
Development

No branches or pull requests

1 participant