Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Signtool

Signtool

Scheduled Pinned Locked Moved .NET (Core and Framework)
sysadmincryptographytutorialquestion
3 Posts 2 Posters 12 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard Andrew x64R Offline
    Richard Andrew x64R Offline
    Richard Andrew x64
    wrote on last edited by
    #1

    I have a few executables that I sign with my code signing certificate. Each file ends up with a slightly different timestamp because it's using a web based time server. Does anyone know how to give each file the same exact signature timestamp?

    The difficult we do right away... ...the impossible takes slightly longer.

    V 1 Reply Last reply
    0
    • Richard Andrew x64R Richard Andrew x64

      I have a few executables that I sign with my code signing certificate. Each file ends up with a slightly different timestamp because it's using a web based time server. Does anyone know how to give each file the same exact signature timestamp?

      The difficult we do right away... ...the impossible takes slightly longer.

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Did you try the [SetFileTime function (fileapi.h) - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfiletime) ?

      Richard Andrew x64R 1 Reply Last reply
      0
      • V Victor Nijegorodov

        Did you try the [SetFileTime function (fileapi.h) - Win32 apps | Microsoft Docs](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfiletime) ?

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        Thank you for the reply, Victor. But that function doesn't set the timestamp of the digital signature, only the file attributes.

        The difficult we do right away... ...the impossible takes slightly longer.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups