Created
March 13, 2011 04:23
-
-
Save mndrix/867863 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use File::Temp qw( tempfile ); | |
use autodie qw( system ); | |
my ( undef, $filename ) = tempfile( 'otc-XXXX', TMPDIR => 1 ); | |
system "pbpaste | gpg --clearsign > $filename"; | |
system "scp $filename example.com:/var/www/otc-auth.asc"; | |
system "echo -n ';;gpg verify http://www.example.com/otc-auth.asc' | pbcopy"; | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment