Skip to content

Attempting to use a file list with trusted-signing returns error #768

@nicktf01

Description

@nicktf01

I'm trying to use a filelist to skip when signing the contents of a directory using trusted-signing

Repro steps

The following command is being executed from the directory containing the target files for signing. If I remove "-fl filelist.txt" and substitute "*.exe" the command completes successfully

"{path}\sign.exe code trusted-signing -tse "{path to endpoint}" -tsa "{trusted-Signing-Account}" -tscp {Cert Profile} -b {WorkingDir} -fl filelist.txt -v debug

Content of filelist.txt

**/*.exe
!**/Don'tSignMe.exe

Expected behavior
To sign all *.exe files in current working directory with one exclusion

Actual behavior
Program returns "Required argument missing for command: 'trusted-signing'."

If I add a wildcard after the filelist as in the example below, all files will get signed and the filelist will be ignored.

"{path}\sign.exe code trusted-signing -tse "{path to endpoint}" -tsa "{trusted-Signing-Account}" -tscp {Cert Profile} -b {WorkingDir} -fl filelist.txt * -v debug

Additional context
Version 0.9.1-beta.24469.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:3Work that is nice to have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions