-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Describe the bug
When using sign code azure-key-vault:
- we have to provide a list of files, even when a
--file-listparameter is provided - when we provide a list of files, the
--file-listparameter seems to be simply ignored - the example in the docs folder specify both a '*' as the list of files an a
--file-list - there is no documentation about the relationship between these two parameters
Repro steps
sign-list.txt:
myapp.exe
my.*.dll
dir:
myapp.exe
my.first.dll
my.second.dll
other.dll
Only file-list not accepted:
sign code azure-key-vault `
> -fl "D:\code\project1\sign-list.txt" `
> --base-directory "D:\code\project1\bin\Release\net10\" `
> --azure-key-vault-tenant-id "xxx" `
> --azure-key-vault-client-id "yyy" `
> --azure-key-vault-client-secret "zzz" `
> --azure-key-vault-url "https://xxx.vault.azure.net/" `
> --azure-key-vault-certificate "foo" `
> -d "My App" `
> -v Information `
Required argument missing for command: 'azure-key-vault'.wildcard results in all files signed (file-list ignored):
sign code azure-key-vault `
> -fl "D:\code\project1\sign-list.txt" `
> --base-directory "D:\code\project1\bin\Release\net10\" `
> --azure-key-vault-tenant-id "xxx" `
> --azure-key-vault-client-id "yyy" `
> --azure-key-vault-client-secret "zzz" `
> --azure-key-vault-url "https://xxx.vault.azure.net/" `
> --azure-key-vault-certificate "foo" `
> -d "My App" `
> -v Information `
> *
Submitting D:\code\project1\bin\Release\net10\myapp.exe for signing.
Submitting D:\code\project1\bin\Release\net10\my.first.dll for signing.
Submitting D:\code\project1\bin\Release\net10\my.second.dll for signing.
Submitting D:\code\project1\bin\Release\net10\other.dll for signing.single file results in only this file signed (file-list ignored):
sign code azure-key-vault `
> -fl "D:\code\project1\sign-list.txt" `
> --base-directory "D:\code\project1\bin\Release\net10\" `
> --azure-key-vault-tenant-id "xxx" `
> --azure-key-vault-client-id "yyy" `
> --azure-key-vault-client-secret "zzz" `
> --azure-key-vault-url "https://xxx.vault.azure.net/" `
> --azure-key-vault-certificate "foo" `
> -d "My App" `
> -v Information `
> myapp.exe
Submitting D:\code\project1\bin\Release\net10\myapp.exe for signing.Expected behavior
There should be a clear relationship between files and --file-list:
- should be combined
- no files should be allowed when file-list is set
- documented
Actual behavior
--file-list seems to be ignored
Additional context
version 0.9.1-beta.25379.1+ba6e717abf74a693f0f9c5e891c0e3ef624956b3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels