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

Check single file integrity by adding support for cshatag #368

Open
jaromil opened this issue Oct 12, 2019 · 2 comments
Open

Check single file integrity by adding support for cshatag #368

jaromil opened this issue Oct 12, 2019 · 2 comments
Assignees
Labels
enhancement An issue to improve current behavior wish feature we wish someone would refine and implement
Milestone

Comments

@jaromil
Copy link
Member

jaromil commented Oct 12, 2019

This software uses user_xattr to save hashes of files and their mtime, to detect changes.
https://github.com/oriansj/cshatag

It may be used to check both on tomb contents and on tomb files?

@jaromil jaromil added the wish feature we wish someone would refine and implement label Oct 12, 2019
@Narrat
Copy link
Contributor

Narrat commented Oct 13, 2019

As an optional dep propably not a bad idea. At least for the contents of the tomb itself.
Not sure what to think of it, to check the tomb file itself. If .last could be made bulletproof it would achieve the same? And is a file from the tomb itself

@jaromil jaromil added this to the portable milestone Nov 14, 2022
@jaromil jaromil removed this from the portable milestone May 11, 2024
@jaromil jaromil added the enhancement An issue to improve current behavior label May 11, 2024
@jaromil jaromil added this to the 3.0 milestone May 11, 2024
@jaromil
Copy link
Member Author

jaromil commented May 11, 2024

I think you are right: best save integrity info inside a .integrity file than modify contents of tomb. This can be created and verified running a command on open tombs.

@jaromil jaromil self-assigned this May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue to improve current behavior wish feature we wish someone would refine and implement
Projects
None yet
Development

No branches or pull requests

2 participants