[svlug] How to sign a shell script?

Bill Ward bill at wards.net
Sat Sep 4 15:02:51 PDT 2010

I think most people would just publish an MD5 or SHA1 hash alongside the
shell script.

On Sat, Sep 4, 2010 at 1:58 PM, Bob Smith <bsmith at linuxtoys.org> wrote:

> Does anyone here know a simple way to sign and check
> a shell script?  Sorry to ask but I guess I could not
> guess the magic words for Google.
> The idea is to build a shell script and to sign it
> using a private key.  Send the script to a remote
> device that has a certificate for the signing key.
> If the script is authenticated using the certificate
> it gets executed.
> So my questions:
>  - Is there a standard way to sign a shell script?
>  - If not, is there a standard way to sign a text file?
>  - What program or Debian package does the above?
>  - How do you verify a file from the command line?
>  - How do you verify a file from within C?
>  - In the script can I hide the auth info behind '#' chars?
> thanks
> Bob
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug

Check out my LEGO blog at http://www.brickpile.com/
View my photos at http://flickr.com/photos/billward/
Follow me at http://twitter.com/williamward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.svlug.org/archives/svlug/attachments/20100904/82c9d31b/attachment.htm

More information about the svlug mailing list