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

Updated examples/cli/README.md for directory encryption/decryption docs #28

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

SethLK
Copy link
Contributor

@SethLK SethLK commented Nov 24, 2024

No description provided.

envcloak encrypt --directory yourDirectory --output yourDirectory.enc --key-file mykey.key
```

**Description:** Encrypts your `yourDirectory` file into `yourDirectory.enc`. The original file remains unchanged.
Copy link
Owner

@Veinar Veinar Nov 24, 2024

Choose a reason for hiding this comment

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

Almost, but not quite 😀 it indeed encrypts directory and creates output directory (raises error if output directory exists, that's why --force flag is implemented). But EnvCloak processes files one by one in input directory and creates encrypted files in output directory. 😉

envcloak decrypt --directory yourDirectory.enc --output yourDirectory --key-file mykey.key
```

**Description:** Decrypts `yourDirectory.enc` back to `yourDirectory`. Ensure the `key-file` used matches the one from the encryption step.
Copy link
Owner

Choose a reason for hiding this comment

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

Same as above 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about now

@Veinar
Copy link
Owner

Veinar commented Nov 24, 2024

Hi @SethLK, 👋

Thanks for contribution, great work 🙌, but please make changes requested and we'll be ready to go. 😉

@Veinar Veinar merged commit 2272111 into Veinar:develop Nov 24, 2024
3 checks passed
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.

2 participants