-
Notifications
You must be signed in to change notification settings - Fork 1
Improve README.md with package instructions and formatting (#1, #4) #6
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
base: main
Are you sure you want to change the base?
Conversation
Restructured Markdown content to follow the one-sentence-per-line convention. This improves readability of diffs in version control. Makes future edits more trackable. No content changes, only formatting modifications. Signed-off-by: editheman <edipana0409@gmail.com>
…alus-security#4) Added comprehensive installation instructions for required dependencies across multiple platforms: - macOS (via Homebrew) - Ubuntu/Debian - Fedora/RHEL/CentOS - Arch Linux This enables users to properly set up their environment before building vfdecrypt locally. Signed-off-by: editheman <edipana0409@gmail.com>
razvand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squash commits into a single commit.
| We've used and updated the implementation [here](https://github.com/trailofbits/iverify-oss/tree/master/vendor/vfdecrypt). | ||
| We've updated `vfdecrypt.c` to support OpenSSL >= 1.1.0 and the `Makefile` to be OS-dependent. | ||
|
|
||
| ### Dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use macOS, Ubuntu/Debian etc. as lists (* macOS, * Ubuntu/Debian etc.).
|
|
||
| macOS | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```console |
|
|
||
| Ubuntu/Debian | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```console |
| Ubuntu/Debian | ||
|
|
||
| ``` | ||
| sudo apt-get update sudo apt-get install -y build-essential libssl-dev coreutils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| sudo apt-get update sudo apt-get install -y build-essential libssl-dev coreutils | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential libssl-dev coreutils |
|
|
||
| Fedora/RHEL/CentOS | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```console |
|
|
||
| Arch Linux | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```console |
|
|
||
| You build `vfdecrypt` using | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use triple backticks and console.
| You runn `vfdecrypt` by passing it the root filesystem key, the root filesystem image and the output (decrypted) file: | ||
| You run `vfdecrypt` by passing it the root filesystem key, the root filesystem image and the output (decrypted) file: | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use triple backticks and console.
This PR enhances the README.md file in two significant ways to improve user experience and code maintainability.
Changes
Added platform-specific package installation instructions (Add local instructions on install required packages (for Linux, for Mac) #4)
Added comprehensive dependency installation instructions for multiple platforms:
-macOS (via Homebrew)
-Ubuntu/Debian
-Fedora/RHEL/CentOS
-Arch Linux
This enables users to properly set up their environment before building vfdecrypt locally without guesswork.
Standardized Markdown formatting (Use one sentence per-line in README.md #1)
Restructured the Markdown content to follow the one-sentence-per-line convention which:
-Improves readability of diffs in version control
-Makes future edits more trackable
-Ensures consistent styling across documentation