dotnet / sign

Code Signing CLI tool supporting Authenticode, NuGet, VSIX, and ClickOnce
MIT License
448 stars 84 forks source link

Add more tests #617

Closed dtivel closed 1 year ago

dtivel commented 1 year ago

Resolve https://github.com/dotnet/sign/issues/616.

This change adds:

The signing tests enable local signing without Azure Key Vault by substituting the default IKeyVaultService implementation with a test stub. Verification checks signature integrity and signing certificates but not trust., because the local test certificate is not trusted.

To enable these tests, I needed to introduce IServiceProviderFactory and a test timestamping service.

CC @clairernovotny

dtivel commented 1 year ago

Thanks, @erdembayar!