Skip to content

Add portable AKV signing for PowerShell scripts#29

Merged
Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
mamoreau-devolutions-portable-akv-nonpe-signing
Jul 2, 2026
Merged

Add portable AKV signing for PowerShell scripts#29
Marc-André Moreau (mamoreau-devolutions) merged 3 commits into
masterfrom
mamoreau-devolutions-portable-akv-nonpe-signing

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • extend --mode portable sign --azure-key-vault-* to support PowerShell Authenticode script targets such as .psd1
  • route non-PE Azure Key Vault signing through psign-portable-core, including certificate-version and authority plumbing
  • add CLI regression coverage and update docs that previously described this path as PE-only

Validation

  • cargo fmt --all
  • cargo clippy --workspace --all-targets --locked
  • cargo test --locked --test cli_pe_digest mode_portable_sign_uses_azure_key_vault_for_psd1 --quiet
  • cargo test --locked --test cli_pe_digest mode_portable_sign_uses_azure_key_vault_for_pe --quiet
  • bash scripts/linux-portable-validation.sh

Notes

  • cargo test --workspace --locked still reproduces the pre-existing unrelated tests/fixture_vector_manifest.rs failure for tests/fixtures/msix-minimal/AppxManifest.xml size mismatch.

Extend --mode portable sign with Azure Key Vault-backed signing for PowerShell Authenticode script targets such as .psd1, reusing the portable core path and covering it with CLI regression tests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep the minimal AppxManifest fixture out of Git text normalization so the committed vector manifest stays stable across Windows and non-Windows checkouts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Update the workspace and release-facing package metadata for the next psign release using the repo's version bump script.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) merged commit 4e0d1a6 into master Jul 2, 2026
36 checks passed
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) deleted the mamoreau-devolutions-portable-akv-nonpe-signing branch July 2, 2026 15:37
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