Skip to content

ALOps App Sign Verify

Verify Authenticode signatures on Business Central .app files.

Property Value
Task name (Azure DevOps) ALOpsAppSignVerify@3
Action name (GitHub) alops-appsignverify
Version 3.0.0
Category Utility
OS requirement Both
Preview yes

Verify Authenticode signatures on Business Central .app files. Uses Get-AuthenticodeSignature (cross-platform on PS7) with SignTool.exe fallback on Windows. Supports Docker execution and batch verification via the ALOPS_COMPILE_ARTIFACT_ARRAY variable.

Inputs

docker

Name Type Required Default Platform Description
usedocker Boolean no false Both Run signature verification inside a Docker container. The app is copied into the container, verified, and the result is returned.
fixed_tag Text no (empty) Both Fixed container label. When set, uses this value to locate the Docker container instead of the build ID.

source

Name Type Required Default Platform Description
artifact_path Text no (empty) Both Path to the folder containing .app files to verify. Leave empty to scan the workspace directory.
nav_artifact_app_filter Text no *.app Both Glob filter for .app files to verify.
batchverifycompiledapps Boolean no false Both Verify all apps from the ALOPS_COMPILE_ARTIFACT_ARRAY variable (set by ALOpsAppCompiler).

Outputs

Name Description
verified_artifact_path Path to the last verified .app file.
verified_artifact_paths Comma-separated list of all verified .app file paths.

Usage

- task: ALOpsAppSignVerify@3
  displayName: 'ALOps App Sign Verify'
  inputs:
    usedocker: False                      # Run signature verification inside a Docker container. The app is copied into the container, verified, and the result is returned. $(usedocker)
    fixed_tag:                            # Fixed container label. When set, uses this value to locate the Docker container instead of the build ID. $(fixed_tag)
    artifact_path:                        # Path to the folder containing .app files to verify. Leave empty to scan the workspace directory. $(artifact_path)
    nav_artifact_app_filter: *.app        # Glob filter for .app files to verify. $(nav_artifact_app_filter)
    batchverifycompiledapps: False        # Verify all apps from the ALOPS_COMPILE_ARTIFACT_ARRAY variable (set by ALOpsAppCompiler). $(batchverifycompiledapps)
- name: ALOps App Sign Verify
  uses: HodorNV/ALOps-V3/alops-appsignverify@v3   <!-- TODO: confirm action repo path -->
  with:
    usedocker: 'false'
    fixed_tag: ''
    artifact_path: ''
    nav_artifact_app_filter: '*.app'
    batchverifycompiledapps: 'false'