<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Application Signing in Visual Studio in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1551202#M169793</link>
    <description>&lt;P&gt;The solution was to put everything in a batch file that expected the full path to the target as an argument and call the batch file in the post build command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sign.bat:&lt;/P&gt;&lt;PRE&gt;%SIGNTOOL% sign /n "Company Name" /sm /tr &lt;A href="http://timestamp.entrust.net/;aldskf;aoi" target="_blank" rel="noopener"&gt;http://timestamp.entrust.net/;aldskf;aoi&lt;/A&gt; /fd sha256 /td sha256 %1&lt;/PRE&gt;</description>
    <pubDate>Wed, 06 Dec 2023 18:01:35 GMT</pubDate>
    <dc:creator>Ted_Lillys</dc:creator>
    <dc:date>2023-12-06T18:01:35Z</dc:date>
    <item>
      <title>Application Signing in Visual Studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369326#M160637</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I am attempting to use a post build event to sign a compiled console application using signtool. This is happening after the fact of setting up the solution and projects.&amp;nbsp; Obviously, it isn't going well since I'm posting a question here. I'm using an environment variable that contains the full path to the signtool.exe.&amp;nbsp; The build log has the following response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%SIGNTOOL% sign /n “RTI International (Research Triangle Institute Inc)” /sm /tr http://timestamp.entrust.net/rfc3161ts2 /fd sha256 /td sha256 C:\Users\tlillys\Documents\GitHub\minteqa2\src\MINTEQA2\minteqa2\Debug\minteqa2.exe
SignTool Error: No file digest algorithm specified. Please specify the digest algorithm with the /fd flag. Using /fd SHA256 is recommended and more secure than SHA1. Calling signtool with /fd sha1 is equivalent to the previous behavior. In order to select the hash algorithm used in the signing certificate's signature, use the /fd certHash option. 
Project : error PRJ0019: A tool returned an error code from "Signtool"&lt;/PRE&gt;
&lt;P&gt;IT folks here have asked if there are any compiler options/settings that relate to the "digest algorithm". I haven't seen any as I browse through.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are there options when setting up a new project/solution that pertain to digest algorithms?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ted&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Platform deets:&lt;/P&gt;
&lt;P&gt;Win 10 box with&lt;/P&gt;
&lt;P&gt;Microsoft Visual Studio Professional 2017 &lt;BR /&gt;Version 15.9.44&lt;BR /&gt;VisualStudio.15.Release/15.9.44+28307.1800&lt;BR /&gt;Microsoft .NET Framework&lt;BR /&gt;Version 4.8.04084&lt;/P&gt;
&lt;P&gt;Installed Version: Professional&lt;/P&gt;
&lt;P&gt;Intel® Fortran Compiler Package ID: w_oneAPI_2021.3.0.306&lt;BR /&gt;Intel® Fortran Compiler – toolkit version: 2021.3.0, extension version 19.2.0062.15, Package ID: w_oneAPI_2021.3.0.306, Copyright © 2002-2021 Intel Corporation. All rights reserved.&lt;BR /&gt;* Other names and brands may be claimed as the property of others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 16:30:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369326#M160637</guid>
      <dc:creator>Ted_Lillys</dc:creator>
      <dc:date>2022-03-16T16:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Application Signing in Visual Studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369368#M160638</link>
      <description>&lt;P&gt;There is absolutely nothing in the compiler relevant to this. I would expect you to put the signing command in a "Post-Build Event". Note that host process environment variables aren't passed into the event process, but it looks to me as if you have inadequately specified the command for the signing tool.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 17:55:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369368#M160638</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2022-03-16T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Application Signing in Visual Studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369706#M160658</link>
      <description>&lt;P&gt;Thanks Steve. I didn't think there would be an option.&lt;/P&gt;
&lt;P&gt;What's curious is that the response using the environment variable gives the impression that the signtool.exe was called and responded that the arguments provided were not sufficient, as you observed. If I replace the environment variable with the quoted path to the signtool.exe, the error indicates that the replacement string is not recognized. Once I added "call", I'm back where I started which is an issue with the /fd flag.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:20:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369706#M160658</guid>
      <dc:creator>Ted_Lillys</dc:creator>
      <dc:date>2022-03-17T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application Signing in Visual Studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369714#M160661</link>
      <description>&lt;P&gt;It would be interesting to see the build log after setting the VS option Tools &amp;gt; Options &amp;gt; Intel Compilers and Libraries &amp;gt; IFORT Intel Fortran Classic &amp;gt; General &amp;gt; Show Environment in Log &amp;gt; True. Zip buildlog.htm and attach it to a reply here. Also, I notice there are "fancy quotes" in your excerpt from the build log - are those actually in the command, or did you run this through Word first?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:39:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1369714#M160661</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2022-03-17T14:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Application Signing in Visual Studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1551202#M169793</link>
      <description>&lt;P&gt;The solution was to put everything in a batch file that expected the full path to the target as an argument and call the batch file in the post build command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sign.bat:&lt;/P&gt;&lt;PRE&gt;%SIGNTOOL% sign /n "Company Name" /sm /tr &lt;A href="http://timestamp.entrust.net/;aldskf;aoi" target="_blank" rel="noopener"&gt;http://timestamp.entrust.net/;aldskf;aoi&lt;/A&gt; /fd sha256 /td sha256 %1&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Dec 2023 18:01:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Application-Signing-in-Visual-Studio/m-p/1551202#M169793</guid>
      <dc:creator>Ted_Lillys</dc:creator>
      <dc:date>2023-12-06T18:01:35Z</dc:date>
    </item>
  </channel>
</rss>

