Skip to content

Add portable Authenticode PowerShell cmdlets#8

Open
Marc-André Moreau (mamoreau-devolutions) wants to merge 5 commits into
masterfrom
mamoreau-devolutions/portable-authenticode-cmdlets
Open

Add portable Authenticode PowerShell cmdlets#8
Marc-André Moreau (mamoreau-devolutions) wants to merge 5 commits into
masterfrom
mamoreau-devolutions/portable-authenticode-cmdlets

Conversation

@mamoreau-devolutions
Copy link
Copy Markdown
Contributor

Summary

  • Adds a portable PowerShell 7.4 / .NET 8 module (Devolutions.Psign) with Get-PortableSignature and Set-PortableSignature backed by the Rust psign_portable shared library through P/Invoke.
  • Introduces reusable portable core/FFI crates for signing and inspection across PE, CAB, MSI, ZIP Authenticode, PowerShell scripts/modules, and MSIX/AppX.
  • Adds migration-focused cmdlet coverage: content mode, IncludeChain, RFC3161 timestamping, explicit anchor trust policy, portable cert-store thumbprint selection, Force/WhatIf behavior, and rich PortableSignature metadata.
  • Adds PowerShell module build/package scripts, CI workflow, docs, and exhaustive module E2E tests.

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test --workspace --locked
  • dotnet build .\dotnet\Devolutions.Psign.PowerShell\Devolutions.Psign.PowerShell.csproj -c Release
  • pwsh -NoLogo -NoProfile -File .\PowerShell\tests\Invoke-PortableSignatureTests.ps1 -Configuration Release
  • pwsh -NoLogo -NoProfile -File .\PowerShell\package.ps1 -Configuration Release

Introduce the portable core/FFI, PowerShell 7.4 module cmdlets, MSIX signing support, module-directory signing, expanded end-to-end tests, packaging, CI, and documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant