source: trunk/macosx/appcast/sparkle_sign_update.rb @ 6748

Last change on this file since 6748 was 6748, checked in by livings124, 13 years ago

Sparkle 1.5 requires signing of the update

  • Property svn:executable set to *
File size: 220 bytes
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.