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

Add the rehash utility to the openssl CLI tool #2258

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

smittals2
Copy link
Contributor

Description of changes:

Adding the rehash utility to the OpenSSL CLI tool. This design makes a number of different design choices from OpenSSL. Namely:

  1. Multiple directory paths are not supported, therefore duplicate filenames are not supported
  2. Like OpenSSL, any existing symlinks matching the hash regex are removed from the given directory. We do not provide an option to preserve these.
  3. We return a binary true or false to indicate status. OpenSSL counts and returns the number of errors.
  4. Simplified the general processing logic and hash table structures.
  5. Removed windows filesystem support, we only need this tool for unix based systems.
  6. We don't support the legacy hash format (MD5)

Testing:

PENDING

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

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

Successfully merging this pull request may close these issues.

1 participant