I try to sign a WPF ClickOnce application with EV certificate stored on a HSM from Gemalto. I have a Continuous Deployment (CD) configured and I want to sign automatically without user interaction, like with PFX files before.
With the article Automate Extended Validation (EV) code signing and the answer from Austin Morton I made it to sign via signtool.exe without password insertion. But my problem is:
How can I sign the manifest with the help of mage.exe? Is it also possible to transfer the token password like with signtool? Or are there any other possibilities to get this work?