lib/aws-sdk-s3/encryption/client.rb UNKNOWN
Verdict: BENIGN
▴
Local reference
Suspicious dependency
Inferred
Content
Traits
Provenance
1
require 'forwardable'
2
3
module Aws
AWS SDK Ruby namespace marker
4
module S3
5
6
# Provides an encryption client t hat encrypts a nd decrypts data client-side,
7
# storing t he encrypted data in Amazon S3.
8
#
9
# T his client uses a process called "envelope encryption". Your private
10
# encryption keys and your …
132:8
… keys = KeyProvider . new ( 'new-key' , {
133
# "old-key" => Base64.decode64 ("kM5UVbhE/4rtMZJfsadYEdm2vaKFsmV2f5+URSeUCV4="),
Decodes Base64 data with Ruby Base64
134
# "new-key" => Base64.decode64("w1WLio3agRWRTSJK/Ouh8NHoqRQ6fn5WbSXD …
183:7
… extend Forwardable
184
def_delegators :@client , :config , : delete_object , : head_object
S3 delete_object operation
185
186
# Creates a new encryption client. You must provide one of the following
187
# options:
188
#
189
# * `:en …
252:12
… put_object ( params = {})
253
req = @client . build_request ( : put_object , params )
S3 put_object operation
254
req . handlers . add ( EncryptHandler , priority : 95 )
255
req . context [ :encryption ] = {
256
cipher_pro …
277:5
… if params [ :range ]
278
raise NotImplementedError , ' #get_object with :range not supported yet '
S3 get_object operation
279
end
280
envelope_location , instruction_file_suffix = envelope_options ( params )
281
req = @client . build_request ( : get_object , params )
282
req . handlers . add ( DecryptHandler )
283
req . context [ :encryption ] = {
284
cipher_provider : @cipher …
Well-known
notable severity, 95% confident.
lib/cloud
AWS SDK Ruby namespace marker
1 match
1
require 'forwardable'
2
3
module Aws
4
module S3
5
6
# Provides an encryption client that encrypts and decrypts data client-side,
7
# storing the encrypted data in Amazon S3.
8
#
9
# This client uses a process called "envelope encryption". Your private
10
# encryption keys and your …
Micro-behaviors
notable severity, 90% confident.
communications/http/services
S3 get_object operation
5 matches
277:5
… if params [ :range ]
278
raise NotImplementedError , ' #get_object with :range not supported yet '
279
end
280
envelope_location , instruction_file_suffix = envelope_options ( params )
281
req = @client . build_request ( : get_object , params )
282
req . handlers . add ( DecryptHandler )
283
req . context [ :encryption ] = {
284
cipher_provider : @cipher …
252:12
… put_object ( params = {})
253
req = @client . build_request ( : put_object , params )
254
req . handlers . add ( EncryptHandler , priority : 95 )
255
req . context [ :encryption ] = {
256
cipher_pro …
183:7
… extend Forwardable
184
def_delegators :@client , :config , : delete_object , :head_object
185
186
# Creates a new encryption client. You must provide one of the following
187
# options:
188
#
189
# * `:en …
notable severity, 90% confident.
data/decode
Decodes Base64 data with Ruby Base64
1 match
132:8
… keys = KeyProvider . new ( 'new-key' , {
133
# "old-key" => Base64.decode64 ("kM5UVbhE/4rtMZJfsadYEdm2vaKFsmV2f5+URSeUCV4="),
134
# "new-key" => Base64.decode64("w1WLio3agRWRTSJK/Ouh8NHoqRQ6fn5WbSXD …
Metadata
baseline severity, 80% confident.
file/profile
Contains common English function words
6 matches
1
require 'forwardable'
2
3
module Aws
4
module S3
5
6
# Provides an encryption client t hat encrypts and decrypts data client-side,
7
# storing the encrypted data in Amazon S3.
8
#
9
# This client uses a process called "envelope encryption". Your private
10
# encryption keys and your …
23:10
…
24
#
25
# When accessing your encrypted data w ith the encryption client,
26
# the encrypted envelope key is retrieved and decrypted client-side
38:14
… a `:client` , then a client will be constructed f or you .
39
#
40
# require 'openssl'
41
# key = OpenSSL::PKey::RSA.new(1024)
42
#
43
# …
component severity, 90% confident.
file
File has 30 or more lines
1 match
0
require 'forwardable'
module Aws
module S3
# Provides an encryption client that encrypts and decrypts data client-side,
# storing the encrypted data in Amazon S3.
#
# This client uses a process called "envelope encryption". Your private
# encryption keys and your
Identity
SHA-256
3532e79015911682ad86cb107c4dbcf2b8d6421d38d980ca97f9becf00c8436c
Filename
lib/aws-sdk-s3/encryption/client.rb
Origin
Source
x
Feed
pkg.go.dev
Ecosystem
go
Timeline
First seen
16 Aug 2026 05:39 UTC
First analyzed
16 Aug 2026 05:41 UTC
Last analyzed
16 Aug 2026 05:41 UTC
Last updated
16 Aug 2026 05:39 UTC