adium/adium
Clone
Summary
Browse
Changes
Graph
Submitted without comment.
1.5
2012-03-14, Eric Richie
4151ac3a3b1f
file is
Executable
Submitted without comment.
#!/usr/bin/ruby
if
ARGV
.
length
<
2
puts
"Usage: ruby sign_update.rb update_archive private_key"
exit
end
puts
`openssl dgst -sha1 -binary < "
#{
ARGV
[
0
]
}
" | openssl dgst -dss1 -sign "
#{
ARGV
[
1
]
}
" | openssl enc -base64`