Skip to content

Commit 54f6b8d

Browse files
author
lindsey anne
committed
fixes spelling errors in several files. "encyrption" => "encryption"
1 parent 0ab7dc0 commit 54f6b8d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@ Unreleased Changes
28452845
#=> "... cipher text ..."
28462846
```
28472847

2848-
You can configure a `:key_provider` to the encyrption client to allow
2848+
You can configure a `:key_provider` to the encryption client to allow
28492849
for using multiple decryption keys. See the `Aws::S3::Encryption::Client`
28502850
API documentation for more information.
28512851

aws-sdk-resources/features/s3/client_side_encryption.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: S3 Objects
88
Scenario: Encrypting client-side with GET and PUT
99
Given I have an encryption client
1010
When I perform an encrypted PUT of the value "secret"
11-
And I GET the object with a non-encyrption client
11+
And I GET the object with a non-encryption client
1212
Then the object data should be encrypted
1313
When I GET the object with an encryption client
1414
Then the object data should be "secret"
@@ -25,7 +25,7 @@ Feature: S3 Objects
2525
Given a "kms_key_id" is set in cfg["cse_kms"]["kms_key_id"]
2626
And I have an encryption client configured to use KMS
2727
When I perform an encrypted PUT of the value "secret"
28-
And I GET the object with a non-encyrption client
28+
And I GET the object with a non-encryption client
2929
Then the object data should be encrypted
3030
When I GET the object with an encryption client
3131
Then the object data should be "secret"

aws-sdk-resources/features/s3/step_definitions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
@cse.put_object(bucket: @bucket_name, key: @key, body: @plain_text)
7474
end
7575

76-
When(/^I GET the object with a non\-encyrption client$/) do
76+
When(/^I GET the object with a non\-encryption client$/) do
7777
@cipher_text = @s3.client.get_object(bucket: @bucket_name, key: @key).body.read
7878
end
7979

aws-sdk-resources/lib/aws-sdk-resources/services/s3/encryption/decrypt_handler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def decryption_cipher(context)
6262
if envelope = get_encryption_envelope(context)
6363
context[:encryption][:cipher_provider].decryption_cipher(envelope)
6464
else
65-
raise Errors::DecryptionError, "unable to locate encyrption envelope"
65+
raise Errors::DecryptionError, "unable to locate encryption envelope"
6666
end
6767
end
6868

aws-sdk-resources/spec/services/s3/encryption/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def stub_encrypted_get_with_instruction_file(suffix = '.instruction')
322322
to_return(status: 404)
323323
expect {
324324
client.get_object(bucket:'bucket', key:'key')
325-
}.to raise_error(Errors::DecryptionError, 'unable to locate encyrption envelope')
325+
}.to raise_error(Errors::DecryptionError, 'unable to locate encryption envelope')
326326
end
327327

328328
it 'resets the cipher during decryption on error' do

0 commit comments

Comments
 (0)