aws-sdk-cloudfront 1.75.1 → 1.75.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +1 -1
- data/lib/aws-sdk-cloudfront/signer.rb +3 -3
- data/lib/aws-sdk-cloudfront.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57b349e235a730a4f5b28b2ac4803025793b7e1037c08ff1eca441370cd4ffb9
|
4
|
+
data.tar.gz: 6b8016b9b88428c8b66d7b038676aed9e7fc5eddc9aeeb3308af3681826e43cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3fa37007522e89bf6c78a5d7587a567a9f7e126afad0f9ffb4c5fa726b61e07785c890bc897f2881c2094040e3907a62e2c254af1749a4b6624c07391a6f810
|
7
|
+
data.tar.gz: f915e99db17b46b45ee75dfb5c988f661e4a51e5d4d3ce84825909206a51f6eb2768e191092ff44b8239f5073490ff9bafcaeb55e32bc11c6082a4aec28da257
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.75.
|
1
|
+
1.75.2
|
@@ -8876,7 +8876,7 @@ module Aws::CloudFront
|
|
8876
8876
|
params: params,
|
8877
8877
|
config: config)
|
8878
8878
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
8879
|
-
context[:gem_version] = '1.75.
|
8879
|
+
context[:gem_version] = '1.75.2'
|
8880
8880
|
Seahorse::Client::Request.new(handlers, context)
|
8881
8881
|
end
|
8882
8882
|
|
@@ -15,7 +15,8 @@ module Aws
|
|
15
15
|
# @option options [String] :private_key_path
|
16
16
|
def initialize(options = {})
|
17
17
|
@key_pair_id = key_pair_id(options)
|
18
|
-
@
|
18
|
+
@cipher = OpenSSL::Digest::SHA1.new
|
19
|
+
@private_key = OpenSSL::PKey::RSA.new(private_key(options))
|
19
20
|
end
|
20
21
|
|
21
22
|
private
|
@@ -97,8 +98,7 @@ module Aws
|
|
97
98
|
|
98
99
|
# create the signature string with policy signed
|
99
100
|
def sign_policy(policy)
|
100
|
-
|
101
|
-
key.sign(OpenSSL::Digest::SHA1.new, policy)
|
101
|
+
@private_key.sign(@cipher, policy)
|
102
102
|
end
|
103
103
|
|
104
104
|
# create canned policy that used for signing
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudfront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.75.
|
4
|
+
version: 1.75.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|