Skip to content

Conversation

@editheman
Copy link
Contributor

This PR enhances the README.md file in two significant ways to improve user experience and code maintainability.

Changes

  1. 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.

  2. 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

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 razvand self-requested a review November 14, 2025 14:57
@razvand razvand self-assigned this Nov 14, 2025
@razvand razvand added the enhancement New feature or request label Nov 14, 2025
Copy link
Member

@razvand razvand left a 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
Copy link
Member

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

```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```console


Ubuntu/Debian

```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```console

Ubuntu/Debian

```
sudo apt-get update sudo apt-get install -y build-essential libssl-dev coreutils
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```console


Arch Linux

```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```console


You build `vfdecrypt` using

```
Copy link
Member

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:

```
Copy link
Member

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.

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

Successfully merging this pull request may close these issues.

2 participants