adium/adium
Clone
Summary
Browse
Changes
Graph
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
GoogleOAuth2
2015-04-01, Thijs Alkemade
c4923ddd82bf
file is
Executable
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
#!/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`