aws-sdk-cloudfront 1.75.1 → 1.75.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 857ba3303e0025b34a3a3009b8aa41bc5ab0af5f2ab12bee8c3c0ad13d8d4013
4
- data.tar.gz: f68bdf3d7edff1e1789e3252988ee9de65bb608dc3d8843756716158799dd3b7
3
+ metadata.gz: 57b349e235a730a4f5b28b2ac4803025793b7e1037c08ff1eca441370cd4ffb9
4
+ data.tar.gz: 6b8016b9b88428c8b66d7b038676aed9e7fc5eddc9aeeb3308af3681826e43cb
5
5
  SHA512:
6
- metadata.gz: 1c7d69492ca25a2061353fd714a3768abba5001368b6f481ff1b09e9659d0c35029a536d5156ce777e4780e8a4d3684f99e382d7a0ef18636447dd1830945830
7
- data.tar.gz: 414a3b8e12d0140f082cea76d4e20a94bb17da3be86ac26bf5ad5a4a3bb4573b8d6ee9ccea8e1d029c885c0105bf60fbac959efd351d578cd30d9c26078f3cd4
6
+ metadata.gz: f3fa37007522e89bf6c78a5d7587a567a9f7e126afad0f9ffb4c5fa726b61e07785c890bc897f2881c2094040e3907a62e2c254af1749a4b6624c07391a6f810
7
+ data.tar.gz: f915e99db17b46b45ee75dfb5c988f661e4a51e5d4d3ce84825909206a51f6eb2768e191092ff44b8239f5073490ff9bafcaeb55e32bc11c6082a4aec28da257
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.75.2 (2023-02-21)
5
+ ------------------
6
+
7
+ * Issue - Improve performance of URL signing
8
+
4
9
  1.75.1 (2023-02-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.1
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.1'
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
- @private_key = private_key(options)
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
- key = OpenSSL::PKey::RSA.new(@private_key)
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
53
53
  # @!group service
54
54
  module Aws::CloudFront
55
55
 
56
- GEM_VERSION = '1.75.1'
56
+ GEM_VERSION = '1.75.2'
57
57
 
58
58
  end
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.1
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-15 00:00:00.000000000 Z
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