GPG Verify A manually activated Script to verify signed files with GPG (see GPG homepage http://www.gnupg.org/ ) By Levi Brown <mailto:levi@grokers.net> Version 1.0.1 September 8th, 2011 This script works in tandem with the 'gpg' command line binary (which should already be installed and functional) to provide a simple user interface to the validation of signed files with a detached signature. The intention is for this script to be accessed from the Script Menu and acts on the current selection in the Finder. If only one file is selected the script will attempt to locate the matching signed file or detached signature file based on file name. I suggest adding this script to the Finder Scripts Folder so it is available from the Finder as needed. For more information about the Script Menu please visit: http://www.apple.com/applescript/scriptmenu/ * This script has been tested on Mac OS X 10.4.7 to 10.7.1 under US English and may contain i18n issues which are not accounted for. Please feel free to contact me with improvements and feedback. Release History: 1.0 September 18th, 2006: Internal initial release. 1.0.1 September 8th, 2011: Release to GitHub. Copyright (c) 2006-2011 Levi Brown. This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. 1. DISCLAIMER OF WARRANTY. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. 2. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL THE AUTHOR OR THE AUTHOR'S LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will the author's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Software under this Agreement. The foregoing limitations will apply even if the above stated warranty fails of its essential purpose. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you.
khkhkhKATYuShENKAkhkhkh/GPGVerify
An applescript to verify a GPG signed file against a signature file.