Skip to content

🩹 [Patch]: Update README to clarify Context data storage and encryption details#89

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
docs
Jun 3, 2025
Merged

🩹 [Patch]: Update README to clarify Context data storage and encryption details#89
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
docs

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Jun 3, 2025

Copy link
Copy Markdown
Member

Description

This pull request updates the README.md file to clarify the functionality of the Context concept and improve the documentation for storing and managing data securely in PowerShell modules. It also updates links to the Sodium module repository.

Documentation Improvements:

  • Enhanced the explanation of the Context concept, emphasizing its role in securely persisting user and module data, and clarified how SecureString values are handled during storage and retrieval.
  • Added detailed descriptions of the Set-Context function, including how data is converted to JSON, encrypted, and stored to disk, with examples of the file structure and metadata.
  • Updated examples to illustrate how module and user-specific configurations are organized within ContextVault using unique IDs.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Copilot AI review requested due to automatic review settings June 3, 2025 21:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the README to better explain how the Context concept works for secure data storage, details the Set-Context/JSON/encryption flow, and updates the Sodium module links.

  • Clarified the Context lifecycle, ID usage, and SecureString handling
  • Added step-by-step examples for Set-Context, JSON conversion, encryption, and metadata
  • Updated all references to the Sodium module repository
Comments suppressed due to low confidence (1)

README.md:89

  • [nitpick] Clarify that the ID is used for both storing and retrieving contexts; consider wording like 'stored and accessed using the ID GitHub.'
as part of the loading section in the module code. The module configuration is accessed using the ID `GitHub`.

Comment thread README.md Outdated
Comment thread README.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MariusStorhaug Marius Storhaug (MariusStorhaug) merged commit c8b97b5 into main Jun 3, 2025
34 checks passed
@github-actions

github-actions Bot commented Jun 3, 2025

Copy link
Copy Markdown

Module Context - 7.0.6 published to the PowerShell Gallery.

@github-actions

github-actions Bot commented Jun 3, 2025

Copy link
Copy Markdown

GitHub release for Context v7.0.6 has been created.

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