adium/adium
Clone
Summary
Browse
Changes
Graph
Fix code signing to: 1) sign the bundle deeply 2) not depend on each signed bundle having bundle ID com.adiumX.adiumX
adium-1.5.10.3
2017-03-23, Evan D. Schoenberg, M.D.
495038a4da5d
file is
Executable
Fix code signing to: 1) sign the bundle deeply 2) not depend on each signed bundle having bundle ID com.adiumX.adiumX
#!/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`