shelmers wrote: ↑Fri Dec 08, 2023 2:07 pm
Thanks for the suggestion to contact Sectigo -- they responded immediately with exactly what I needed. It turns out there's a setting for this!
You can "Enable Single Logon" which will not prompt you to enter the password every time but it is only valid until screen locks. You can Enable this by opening the SafeNet Authentication Client Tools> Settings icon > Client Settings > Advanced > "Enable Single Logon" and Click Save.
Once it is enabled, the Safenet client asks password once per login session. If the computer is locked, then you have to enter the password for the next session.
However, For regular code signing, We highly recommend disabling this feature as this is not a good practice.
Note that they don't recommend using this setting. However, it is available and using it in a properly controlled environment makes sense to me.
I tried this on my new Yubikey 5 NFC FIPS, checked as follows
C:\TEMP>ykman piv keys info 9a
Key slot: 9A (AUTHENTICATION)
Algorithm: ECCP384
Origin: GENERATED
PIN required for use: ONCE
Touch required for use: NEVER
Doesn't work for me in Advanced Installer 23.8. Wondering if it is the key slot, 9C seems more common for code signing but 9A defaults to ONCE for PIN authentication. Workaround for now is GUI automation as recommended in another thread on here
xObay wrote: ↑Wed Jan 17, 2024 8:13 pm
I found this
https://github.com/joseangelmt/AutoInsertPin
I compiled it and tested it and it works. Not the best solution but if you want something to feed in the PIN number whenever the window pops up, this will do the trick.
This allows entry of PIN once per session if you don't supply it on the command line which is ok.
FOLLOW US
Get the latest news in Application Packaging