IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Can't decrypt file with .md5 file extension

    Posted Wed August 11, 2010 10:35 AM

    Hi All,

    I have successfully decrypted a file with a .gpg extension (e.g. myfile.tar.gpg) using OpenPGP. Now, I have another test file and this time the file extension is .md5 (e.g. myfile.tar.gpg.md5.) How can I decrypt this kind of file? I have read that MD5 is a hash-algorithm but still I wasn't able to understand it fully. Appreciate any help. Thanks!
    

    Dee


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Can't decrypt file with .md5 file extension

    Posted Wed August 11, 2010 06:29 PM

    hi Dee,

    what i learned when i was working on pgp server was that the file’s last extension should be .gpg. i may wrong.
    did you tried the same file with this extension myfile.tar.md5.gpg


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Can't decrypt file with .md5 file extension

    Posted Wed August 11, 2010 07:51 PM

    From what you’re describing it sounds like you’re receiving 2 files–one with the payload and one with an MD5 hash for verifying the payload.

    The MD5 file is a message digest used to confirm the integrity of the other file. The approach is that on receipt of the payload file, the MD5 hash is calculated and then compared with the MD5 hash in companion file. There are various apps available to assist with this.

    Be aware that MD5 has been proven to be weak. Search the web for MD5 and you’ll find plenty of material on that.

    Also, with the use of an OpenPGP implementation, such as gnuPG and other encryption tools, a companion MD5 file is unnecessary. PGP provides built-in mechanisms to confirm the integrity of the encrypted file. See if you can leverage that instead.

    [Edit] If this does not describe your scenario please additional detail about the MD5 file and its intended use.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Can't decrypt file with .md5 file extension

    Posted Fri August 13, 2010 01:14 AM

    When transferring files over network, they sometimes get corrupted due different factors.
    In order to check file integrity, a MD5 file is created. This file.name.md5 is a TXT file containing the md5sum which should be equal if you calculate the MD5sum for the file you downloaded.

    You can find many examples for this when downloading ISO files for most of Linux distros.

    As reamon points out this is weak, so is only used for validating file integrity. For others scenarios use PGP.

    To ressume, that md5 txt file is to verify file integrity ONLY.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: Can't decrypt file with .md5 file extension

    Posted Mon August 16, 2010 07:52 PM

    To reiterate, use of MD5 along with a PGP file is redundant. PGP can verify file integrity. Using MD5 is unnecessary.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods