I was under the impression that I will have access to the hardware connected to that computer.
However I am trying to sign generated code with a certificate stored on a USB, and it does not appear to work (with error message "SignTool error : No certificates were found that met all the given criteria.").
The command works perfectly in a PowerShell terminal...
Any clues on what is going wrong? Any workarounds?
Hi @SuperRey
Welcome to the community.
You can essentially connect to your USB device since Windows runners runs directly to your host machine via PowerShell. You can use PowerShell to interact with USB devices, provided the necessary drivers and permissions are in place.
Unfortunately, we don't have an official documentation regarding this, however, could you confirm what sample commands are you using to connect?
Regards,
Mark C
It seems your runner isn’t passing through USB devices to the job. You’ll need to expose the certificate differently.
Try exporting it to the Windows Certificate Store.
You should also check out this SIgnTool errors Troubleshooting guide.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The certificate cannot be exported. In this day and age it seems there are no suppliers offering code signing certificates that can be exported to the typical PFX file or similar.
The question is, can the Atlassian Window runner be configured to pass through USB devices of this kind?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.