Skip to content

🩹 [Patch]: Support pipeline input on ConvertTo- and ConvertFrom-SodiumSealedBox and New-SodiumKeyPair#24

Merged
Marius Storhaug (MariusStorhaug) merged 8 commits intomainfrom
pipeline
Feb 9, 2025
Merged

🩹 [Patch]: Support pipeline input on ConvertTo- and ConvertFrom-SodiumSealedBox and New-SodiumKeyPair#24
Marius Storhaug (MariusStorhaug) merged 8 commits intomainfrom
pipeline

Conversation

@MariusStorhaug
Copy link
Copy Markdown
Member

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Feb 9, 2025

Description

This pull request enhances the Sodium PowerShell module by adding support for pipeline input to various functions, updating documentation, and adding new tests to ensure proper functionality. The most important changes include the addition of pipeline input support, updates to function documentation, and new tests for pipeline input scenarios.

Enhancements to functions:

Documentation updates:

New tests:

  • tests/Sodium.Tests.ps1: Added tests to verify encryption and decryption using pipeline input for ConvertTo-SodiumSealedBox and ConvertFrom-SodiumSealedBox.
  • tests/Sodium.Tests.ps1: Added tests to verify deterministic key generation using pipeline input for New-SodiumKeyPair.

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

…onvertTo-SodiumSealedBox functions to include pipeline input examples and output descriptions
…o-SodiumSealedBox, and New-SodiumKeyPair functions for clarity on return values
…diumSealedBox, ConvertTo-SodiumSealedBox, and New-SodiumKeyPair functions
…o-SodiumSealedBox, and New-SodiumKeyPair functions for clarity on output descriptions
…onvertFrom-SodiumSealedBox, ConvertTo-SodiumSealedBox, and New-SodiumKeyPair functions
@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title 🩹 [Patch]: Support pipeline input on ConvertTo- and ConvertFrom-SodiumSealedBox 🩹 [Patch]: Support pipeline input on ConvertTo- and ConvertFrom-SodiumSealedBox and New-SodiumKeyPair Feb 9, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2025

Module Sodium - v2.1.2 published to the PowerShell Gallery.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2025

GitHub release for Sodium v2.1.2 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.

1 participant