Skip to content

Commit

Permalink
Add back Signer.use_crt? to fix backwards compatability break. (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods authored Sep 17, 2024
1 parent 6c3bb68 commit 25675cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gems/aws-sigv4/lib/aws-sigv4/signer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,13 @@ def presigned_url_expiration(options, expiration, datetime)
end

class << self

# Kept for backwards compatability
# Always return false since we are not using crt signing functionality
def use_crt?
false
end

# @api private
def uri_escape_path(path)
path.gsub(/[^\/]+/) { |part| uri_escape(part) }
Expand Down

0 comments on commit 25675cf

Please sign in to comment.