ssssh 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ssssh +3 -1
  3. data/lib/ssssh/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80a20e0a46cd709e4d011fa309c4bb6bd8b232b8
4
- data.tar.gz: f3a9089a203a7a507481f581783391493f84d220
3
+ metadata.gz: 57877ffbc03d544f42eceb77b1fe9338b1e0fe4d
4
+ data.tar.gz: e71ad0783b84aa82fcfff5ed0860f57fb6822933
5
5
  SHA512:
6
- metadata.gz: 90dbafdea7eee03f7b40135ef075a0736ae8d51a4f37fb25bd769f14a4e8ed6366823c4dd12958f509b852b0d085c2c5c4c17a2dd3b84f04896aef7920455ead
7
- data.tar.gz: 8c7a205d4cbc5462a744377f2d555877f61f601da3524874efd0019b6e6f234bd74163687932c4e2ef27237d97867a969ccdf23086703d6e8f7fe50a99f1c1d2
6
+ metadata.gz: 3d0550f1fa05c306452820add990a42a1535b47760b21741b864c566c116e3c19f1e77128b5668fb5d52ec01465a31df2692e034cb07069244e8935fcabb46ad
7
+ data.tar.gz: cd814ab824fc3c116ae44c5d1df5961e1680613c1c91457f51d368f5412007a65fc2d72f3f7224de31d84d86df72591c62ba5e56e521cfd0260d03d139009134
data/bin/ssssh CHANGED
@@ -107,12 +107,14 @@ Clamp do
107
107
 
108
108
  def with_kms
109
109
  yield Aws::KMS::Client.new(aws_config)
110
+ rescue Aws::KMS::Errors::InvalidCiphertextException
111
+ signal_error("Invalid Ciphertext", :status => 1)
110
112
  rescue Aws::KMS::Errors::ServiceError => e
111
113
  signal_error(e.message, :status => 9)
112
114
  end
113
115
 
114
116
  def encryption_context
115
- @encryption_context ||= {}
117
+ context[:encryption_context] ||= {}
116
118
  end
117
119
 
118
120
  def append_to_context_list(context_string)
@@ -1,3 +1,3 @@
1
1
  module Ssssh
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-27 00:00:00.000000000 Z
11
+ date: 2015-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.4.8
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: It's a secret!