How to verify Signature of downloaded program.
Results 1 to 3 of 3

Thread: How to verify Signature of downloaded program.

  1. #1
    Join Date
    Aug 2004

    How to verify Signature of downloaded program.

    Greeting's :

    There are many site's which offer Signature files or .sig files which can be used to verify the file downloaded. I wanted to know how this work's.

  2. #2
    Senior Member
    Join Date
    Mar 2004

    Let me explain the issue based on an example. You will need
    a "public-key" program, for example gnupg[1].


    You often find SHA1[2] or MD5[3] checksums of files on webpages, as
    for example on the download page[4]
    db573a6c3707f65797b569efda7e0905c4c4469c  gnupg-w32cli-1.4.1.exe
    After you have downloaded that specific file, you can create a sha1-sum

    > sha1sum gnupg-w32cli-1.4.1.exe
    If you get the same hash, you can be sure that the integrity of the
    file is given. However, can you trust that sha1-hash given of the
    webpage? For example, it mightbe possible that someone launched
    a man-in-the-middle attack and changed the file as well as the sha1-hash.


    To make sure, that the file and hash really come from the people,
    they signed the file. The signature file for gnupg-w32cli-1.4.1.exe also
    is available on the webpage.

    How does that work:
    The people encrypted the sha1-hash using their private key.
    It is possible to decrypt the ciphertext using the public key of the people. If the ciphertext can be decrypted, you have authenticated
    its origin, because the private key is supposed to be known to the
    people only. If you already have installed another gnupg-program, you can verify
    the signature using[5]

    > gpg --verify gnupg-w32cli-1.4.1.exe.sig
    See the readme.txt file in the gnupg package for detailed instructions how
    to import the key of (Werner Koch (gnupg sig) <[6]
    and to verify it.

    Digital signing thus allows for integrity, authenticity and nonrepudiation!


    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  3. #3
    Frustrated Mad Scientist
    Join Date
    Dec 2004
    You might find this useful also

Posting Permissions

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