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

Legacy parser mode for Jacksum 1.7.0 with option -m generated files #8

Open
Alepod opened this issue Sep 14, 2021 · 7 comments
Open
Assignees
Labels
accepted feature request New feature or request low prio Low priority

Comments

@Alepod
Copy link

Alepod commented Sep 14, 2021

Please re-implement original Jacksum's 1.7.0 parsing mode with self-signed hashlists and keys like -w or -m. It was enormously useful.

@jonelo jonelo added the feature request New feature or request label Sep 14, 2021
@Alepod
Copy link
Author

Alepod commented Sep 16, 2021

It could also be used by default, if using -c without -E or -a, for the sake of convenience

@Alepod
Copy link
Author

Alepod commented Sep 16, 2021

Please keep it's behavior, when it could split files by catalogs or could have single list with relative paths.

@jonelo
Copy link
Owner

jonelo commented Sep 16, 2021

Alepod, what do you mean with "self-signed hashlists" and "when it could split file according to catalogs or could avoid that as weel." ?

@jonelo jonelo added the pending label Sep 18, 2021
@Alepod
Copy link
Author

Alepod commented Sep 18, 2021

Alepod, what do you mean with "self-signed hashlists" and "when it could split file according to catalogs or could avoid that as weel." ?

Sorry for unclear message, comment was fixed

@jonelo jonelo removed the pending label Sep 19, 2021
@jonelo
Copy link
Owner

jonelo commented Sep 19, 2021

Thanks for clarifying your request, Alepod.

Well, from the today's point of view I must admit that the Jacksum 1.7.0 check file format from 2003 has too many hurdles actually:

  • 3rd party software vendors found it difficult to parse those files
  • it was often saved in non-Unicode charsets which is not good for localized filenames/foldernames
  • the meta information in the files have a direct relationship to the CLI which it shouldn't have
  • it is cumbersome to extend the format with new features
  • ...

Therefore I have removed it in Jacksum 3.

Workarounds:

  • If you still have Jacksum 1.7.0 check files, I suggest to use Jacksum 1.7.0 to parse those. Jacksum 1.7.0 can still be found on sf.net/project/jacksum
  • Recalculate digests with Jacksum 3+, use a modern cryptographic, non-broken hash algorithm,
    and use the Jacksum standard output format or one of the predefined standard formats (see also jacksum -h --compat).

Plans:
I understand that you (and maybe others?) like/require the old Jacksum 1.7.0 format, so I plan to add a compatibility module for Jacksum 1.7.0 files. However, since easy workarounds exist, this request has a lower prio for now.

@jonelo jonelo changed the title Legacy parser mode Legacy parser mode for Jacksum 1.7.0 generated files Sep 19, 2021
@jonelo jonelo self-assigned this Sep 19, 2021
@Alepod
Copy link
Author

Alepod commented Sep 20, 2021

Well, if you consider JS1.7.0 format uneffective for new JS, then I suppose the new self-explanatory hash list format could be designed. Jacksum would be able to use this info if called with single param, like jacksum -c hash.jacksum. And possibility to split list by catalogs would be much appreciated, too. It looks really neat.

Perhaps I should submit new issue, right?

@jonelo
Copy link
Owner

jonelo commented Sep 20, 2021

yes, please! 😁

@jonelo jonelo changed the title Legacy parser mode for Jacksum 1.7.0 generated files Legacy parser mode for Jacksum 1.7.0 with option -m generated files Jan 26, 2022
@jonelo jonelo added the low prio Low priority label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted feature request New feature or request low prio Low priority
Projects
None yet
Development

No branches or pull requests

2 participants