mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #523: Change Signature Method for EC2 upload_image
This commit is contained in:
parent
c3cdeed5c8
commit
ba0268d9ac
@ -140,7 +140,7 @@ module EC2QueryClient
|
||||
def upload_image(file_name, curb=true)
|
||||
params = { "Action" => "UploadImage",
|
||||
"SignatureVersion" => "2",
|
||||
"SignatureMethod" => 'HmacSHA1',
|
||||
"SignatureMethod" => 'HmacSHA256',
|
||||
"AWSAccessKeyId" => @access_key_id,
|
||||
"Version" => API_VERSION,
|
||||
"Timestamp" => Time.now.getutc.iso8601 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user