Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: EVCS and certificate token

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default EVCS and certificate token

    Hi,

    Running SB 10.0.5074 Developer and my new certificate had to be downloaded
    to a USB token device and the private key is not exportable so I can't
    create a pfx file.

    Found the nifty EVCS macro option in the docs and it worked like a charm
    for code signing the installer and uninstaller but fails on the script line

    #code-sign application "C:\myproj\thisproj\my.exe ["EVCS://text of Issued
    To"]

    The compiler error is GEN1061 File not found: EVCS://text of Issued To

    Any idea of where I've gone wrong here?

    TIA

    Parker

  2. #2

    Default Re: EVCS and certificate token

    Parker,

    > Running SB 10.0.5074 Developer and my new certificate had to be downloaded
    > to a USB token device and the private key is not exportable so I can't
    > create a pfx file.
    >
    > Found the nifty EVCS macro option in the docs and it worked like a charm
    > for code signing the installer and uninstaller but fails on the script
    > line
    >
    > #code-sign application "C:\myproj\thisproj\my.exe ["EVCS://text of Issued
    > To"]
    >
    > The compiler error is GEN1061 File not found: EVCS://text of Issued To
    >
    > Any idea of where I've gone wrong here?

    I'll check the SB compiler source codes and get back to you on this...

    Friedrich

  3. #3

    Default Re: EVCS and certificate token

    Parker,

    You are on an old #5074 build - the latest one is #5452. Could you please
    update to the latest build? I can then send you a new small SB10.EXE to
    test a potential EVCS fix. This file does not work with older SB
    installations.

    Friedrich

  4. #4

    Default Re: EVCS and certificate token

    Hi Friedrich,

    Thank you for looking at this.

    I'm now on 5452.

    Regards

    Parker

  5. #5

    Default Re: EVCS and certificate token

    Hi Parker,

    > Thank you for looking at this.
    >
    > I'm now on 5452.

    We have to run some more tests. I'll send the test SB10.EXE to you
    tomorrow.

    Friedrich

  6. #6

    Default Re: EVCS and certificate token

    Hi Friedrich,

    No worries, whenever your satisfied with the patch I'm sure I'll be😀

    Regards

    Parker

  7. #7

    Default Re: EVCS and certificate token

    Hi Friedrich,

    As a temp work around I've created a batch file that code signs my DLLs and
    exe and I replaced the code signing script lines with the following to call
    the batch file

    #run ("sign.bat", "", "") [Wait]

    Do you see any issues with this approach?

    Regards

    Parker

  8. #8

    Default Re: EVCS and certificate token

    Hi Parker,

    Sorry for the delay. It was school holiday season here and I took a few
    days off from work. This slowed things down :-(

    No issue with this approach. The complex part is the EVCS code-signing for
    the setup.exe and uninstall.exe (which works fine). So you can use this
    batch file method without any problem.

    Sorry again for the delay. I'll send you the test SB10.exe tomorrow.

    Friedrich

  9. #9

    Default Re: EVCS and certificate token

    Hi Friedrich,

    No worries, holidays and family time are good for the soul!
    Thanks for the confirmation on the batch file approach.

    Regards

    Parker

  10. #10

    Default Re: EVCS and certificate token

    Hi Parker,

    could you please check your e-mail? Does EVCS work as expected now?

    Thank you for your help!

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •