source: trunk/Sparkle/sign_update.rb @ 1046

Revision 232, 220 bytes checked in by speck, 4 years ago (diff)

Opgraded Sparkle to current trunk.

  • Property svn:executable set to *
Line 
1#!/usr/bin/ruby
2if ARGV.length < 2
3  puts "Usage: ruby sign_update.rb update_archive private_key"
4  exit
5end
6
7puts `openssl dgst -sha1 -binary < "#{ARGV[0]}" | openssl dgst -dss1 -sign "#{ARGV[1]}" | openssl enc -base64`
Note: See TracBrowser for help on using the repository browser.