Closed Thykof closed 9 months ago
Sorry for the (very) late reply here.
Should I use a previous version of AzureSignTool? I'm currently using v4.0.1.
I don't think that would solve your problem.
Do you think that Azure key vault is wrongly configured?
I believe your certificate in Azure Key Vault does not have an associated private key and it is just a public certificate.
I made a code change to more gracefully handle this scenario.
Hi, I am getting an error when trying to sign a .msi file:
Looks like the error is here
https://github.com/vcsjones/AzureSignTool/blob/main/src/AzureSignTool/KeyVaultConfigurationDiscoverer.cs#L57
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/KeyVaultCertificate.cs#L41
It seems like the _keyId property is null, which cause the constructor of System.Uri to fail.
Questions: