ICS/Lotus (mostly), Linux, Travel, Skiing, Mixology, and Random Musing of Interest

Bill Malchisky


    Find me here…

  • Skype
  • Bleedyellow via Sametime
  • Verifying Checksum Values with Passport Advantage Downloads

    Bill Malchisky  November 5 2013 01:00:00 AM
    As we all know, modern software packages tend to be large in size (several hundred megabytes) these days. Add with multiple platform flavors available for each product, pulling down the desired file set can easily venture into several gigabytes. Thus, many sites offer MD5 or SHA values to ensure that the desired target(s) maintain(s) data integrity. Today, in retrieving additional Notes 9.0.1 files, I was reminded once again how IBM provides checksum values.

    In the directory where Download Director places your files, there exists a dlmgr.pro file, which contains a significant data about each downloaded file -- including full path to download location, part number, full file name, size, and yes the SHA checksum value. See excerpt example below:






    ..title=Swiftfile for IBM Notes 9.0.1 Multiplatform English(CIQ83EN)










    ..title=IBM Notes Client V9.0.1 for Linux (Debian Install) English(CIQ7TEN)









    You can also see that each new entry commences with a single decimal point, and correlated data is prefaced by two decimal points, for easy parsing.


    Another nice feature of the dlmgr.pro file is that it pre-populates the file immediately before pulling the first file. Thus, if the connection is interrupted, you can see what you selected, the respective part numbers (to avoid searching again) -- handly if you missed anything during a browser crash. As a reesult, you can just go back and select the partial files easily. I find it can save some valuable time over looking for part numbers in arrears later.

    Verifying Checksums:
    In the first example, let's look to see if my pulled Swiftfile bundle has data integrity.


    1. Open a terminal window
    2. $ cd {path/to/file}
    3. $ shasum SWIFTFILE_FOR_NOTES_9.0.1_MP_EN.zip
    Optional: shasum -b SWIFTFILE_FOR_NOTES_9.0.1_MP_EN.zip --> you can include the "-b" parameter to force the program to read from a binary file

    Output Verification
    86579fa092cd559e782dc69e4570bbdb5d988770 *SWIFTFILE_FOR_NOTES_9.0.1_MP_EN.zip

    Looking at the sha=8657... line above, you can see that downloaded Swiftfile target is correct and is safe to use, as the values match.

    If you lack a Linux toolset at your disposal (which includes Cygwin) you can perform the same maneuver on Mac or Windows, albeit a bit more complex with the latter.


    1. Same exact steps as on Linux above.


    1. For Microsoft Windows, no such native tool is available
    2. Open your web browser
    3. Search for Windows {version} shasum tool
    4. Visit a trusted site and download the file
    4a. Example: Via GnuPG servers -- ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe by Werner Koch (wk at gnupg.org )
    4b. Try HashTab (free for personal; $10 for at work usage) click here
    4c. Notation
    : Microsoft offers an unsupported tool via their website for Windows 2000, XP --> click here
    The Microsoft File Checksum Integrity Verifier tool is an unsupported command line utility that computes MD5 or SHA1 cryptographic hashes for files. " --Microsoft
    4d. Notation: Microsoft's TechNet Gallery offers a Lotus Sandbox type contribution for Windows 7 and Windows 8 via PowerShell here
    4e. Notation: As the PowerShell tool simply wraps the original unsupported MS tool, it should be viewed also as unsupported
    5. Execute your chosen program from a command prompt window or desktop as appropriate
    6. Navigate to the file's directory
    7. If using the GnuPG tool, type: sha1sum SWIFTFILE_FOR_NOTES_9.0.1_MP_EN.zip
    7a. Else, follow your tool's directions for the correct command line executable name
    8. Verify results

    Install Cygwin and then run with the Linux directions above

    Finally, there exist Perl extensions so you can write your own tool, if you would like to do so.
    No Comments Found

    Powered by IBM Lotus Domino 8 | Lotus User Group | Get Firefox! | This blog is listed on Planet Lotus   IBM Certified

    © 2010 William Malchisky.