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

Implement a digest(1) command for dealing with newer hashing algorithms. #33

Open
takusuman opened this issue Jul 29, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@takusuman
Copy link
Member

takusuman commented Jul 29, 2023

Reference: Projeto-Pindorama/copacabana@a16ef11

Today I implemented a sha256sum utility in Korn Shell 93 and AWK, but I've been thinking about implementing a set of *sum utilities in Heirloom starting from the cksum(1) source code or implementing a new command --- a clone of Solaris' digest(1) seems to be a good option. Yes, a clone, not porting old code (since it's copyrighted anyway).
I think implementing a entire new command may be a better option since we do not take the risk of breaking cksum. The drawback would be depending on a SSL library being installed on the system, but this could be workarounded if we make the new command build and install being optional.

Just planning for now.

@takusuman takusuman added the enhancement New feature or request label Jul 29, 2023
@takusuman takusuman changed the title Implement a \*sum set of utilities based on already existing cksum code? Implement a *sum set of utilities based on already existing cksum code? Jul 29, 2023
@takusuman takusuman changed the title Implement a *sum set of utilities based on already existing cksum code? Implement a digest(1) command for dealing with newer hashing algorithms. Jan 6, 2024
@arthurbacci
Copy link
Member

The current crypto.-related functionalities don't use any external libraries?

@takusuman
Copy link
Member Author

The current crypto.-related functionalities don't use any external libraries?

Apparently no, the cksum utility is pretty simple.

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

No branches or pull requests

2 participants