Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: CheckIt: verify checksum from Firefox context menu

  1. #1
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    CheckIt: verify checksum from Firefox context menu

    I have developed a new extension for Firefox that allows compare a file checksum with the checksum posted on the download site.

    The extension is pretty simple, but very useful for me. You can simply select the hash number displayed on a site, then select the algorithm and pick a file to compare. The extension will compare the checksum selected from the site with the one generated from the file and produce a positive message or an negative alert.

    It supports MD2, MD5, SHA-1, SHA-256, SHA-384 and SHA-512 algorithms.



    Download, Video Demo & Instructions

    Any comments and suggestions will be much appreciated. I hope you like it.
    Last edited by lovinglinux; December 25th, 2010 at 12:59 PM.

  2. #2
    Join Date
    Aug 2006
    Location
    Alfandra
    Beans
    355
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: CheckIt: verify checksum from Firefox context menu

    Looks useful; I'm downloading it now.

  3. #3
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: CheckIt: verify checksum from Firefox context menu

    Quote Originally Posted by dearingj View Post
    Looks useful; I'm downloading it now.
    Thanks. Well, I am a suspect, but is really useful for me. I thought about this add-on while I was preparing to download and install Lucid Linx yesterday. I postponed the installation of the OS and created the extension. So here it is.

  4. #4
    Join Date
    Jul 2008
    Location
    Alabama, USA
    Beans
    906
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CheckIt: verify checksum from Firefox context menu

    Very nice. I'm installing it now!

    I have the Web Developer plugin as well, so I'll let you know if I have any issues with it.

    EDIT: Update:

    I installed it and it works like a charm! This will save me a lot of time!

    Only problem I see is that it doesn't trim whitespace from the selected area. I tried one hash with and the same one without the trailing tab, but it tells me they mismatch (even though the error dialog shows the exact same hashes, lol).

    Another feature that would be great is if the addon would recognize hashes on the page and let you just right-click instead of highlighting (this might even workaround the Web Dev comparability issue... idk)

    Again, it's great piece of code, and I thank you for it!
    Last edited by undecim; April 7th, 2010 at 08:12 PM.

  5. #5
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: CheckIt: verify checksum from Firefox context menu

    Quote Originally Posted by undecim View Post
    Only problem I see is that it doesn't trim whitespace from the selected area. I tried one hash with and the same one without the trailing tab, but it tells me they mismatch (even though the error dialog shows the exact same hashes, lol).
    This should be easily fixable. Could you please provide a link to the hash so I can test it.

    Quote Originally Posted by undecim View Post
    Another feature that would be great is if the addon would recognize hashes on the page and let you just right-click instead of highlighting (this might even workaround the Web Dev comparability issue... idk)
    What I do is double click over the hash and Firefox selects the entire string. Nevertheless, I guess I could implement that feature. I will look into it.

    Quote Originally Posted by undecim View Post
    Again, it's great piece of code, and I thank you for it!
    You are welcome. Thanks for the suggestion and bug report.

  6. #6
    Join Date
    Jul 2008
    Location
    Alabama, USA
    Beans
    906
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CheckIt: verify checksum from Firefox context menu

    Quote Originally Posted by lovinglinux View Post
    This should be easily fixable. Could you please provide a link to the hash so I can test it.
    at

    http://www.gtlib.gatech.edu/pub/linu...8/sha1sums.txt

    the hash for archlinux-2009.08-core-x86_64.img

    I selected the hash and the space (tab) between the hash and file name, which causes a false negative.

    falsenegative.png

    Selecting only the hash (or doubleclicking, like you mentioned) works fine though.

  7. #7
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: CheckIt: verify checksum from Firefox context menu

    Quote Originally Posted by undecim View Post
    at

    http://www.gtlib.gatech.edu/pub/linu...8/sha1sums.txt

    the hash for archlinux-2009.08-core-x86_64.img

    I selected the hash and the space (tab) between the hash and file name, which causes a false negative.

    falsenegative.png

    Selecting only the hash (or doubleclicking, like you mentioned) works fine though.
    EDIT:

    the fix is not working as I thought it was. I will fix this for next version.
    Last edited by lovinglinux; April 7th, 2010 at 09:25 PM.

  8. #8
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: CheckIt: verify checksum from Firefox context menu

    I did something really stupid on the allegedly fixed version, but I won't tell

  9. #9
    Join Date
    Apr 2010
    Location
    bastard factory forums
    Beans
    0

    Re: CheckIt: verify checksum from Firefox context menu

    awesome!

  10. #10
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: CheckIt: verify checksum from Firefox context menu

    CheckIt has been approved by Mozilla, so now you can get updates automatically, through Firefox Add-ons manager. Please install the latest versio to make sure you will get future updates.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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