Results 1 to 6 of 6

Thread: Digitally sign a file.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    369

    Digitally sign a file.

    Hi,

    I have a VB6 application that retrieve information from a database table. It create a text file on the disk and upload the file to an FTP site.

    All that process works A1.


    BUT

    I have to digitally sign (encrypt) that file now before uploading it to the FTP site.

    Anyone know a free or cheap and secure method to digitally sign a file?
    Librairies that I would be able to use in my VB6 application to automate the process.


    Someone told me about a free software found on this website www.gpg4win.org but it doesn't seem to provide command line to execute the command without using the user-interface.

    --

    Thanks for helping !

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Digitally sign a file.

    That link doesn't look like they actuall digitally sign anything. It seems they just encrypt the file. (perhaps even using a proprietary method that requires you distribute their software in order to decrypt??)

    If you want to actually digitally sign a file, so that the user that downloads it can view its certificate, and also it gets rid of the "Publisher Could not be verified" message when running downloaded exe files off the web, you need a Code Signing Certificate.

    I got mine through InstantSSL because it only costs $99 a year. (Verisign charges something like $500-600)

    I suggest you give this site a look through. I got my certificate last week, and I was able to easily integrate code signing into my software, so when my software uploads files via code to our FTP site for customers to download, it also signs the file using our cert. Its all done automatically (I had to code it of course though).

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Digitally sign a file.

    Thanks for the link kleinma. Btw, last I checked verisign was $400 so I assume the pricing has increased.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Digitally sign a file.

    I honestly was putting out a ball park figure Rob, it may still be 400.

    Sorry for late response. Didn't notice this thread till now.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    369

    Re: Digitally sign a file.

    I succeeded in using the application of my first post.
    I found all the DOS command that I can call from my VB app with a Shell() command. Works great for signing & encrypting files.

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Digitally sign a file.

    did you end up buying a cert from a CA?

Posting Permissions

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



Click Here to Expand Forum to Full Width