ssssh 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/ssssh +3 -1
- data/lib/ssssh/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57877ffbc03d544f42eceb77b1fe9338b1e0fe4d
|
|
4
|
+
data.tar.gz: e71ad0783b84aa82fcfff5ed0860f57fb6822933
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
117
|
+
context[:encryption_context] ||= {}
|
|
116
118
|
end
|
|
117
119
|
|
|
118
120
|
def append_to_context_list(context_string)
|
data/lib/ssssh/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
120
|
+
rubygems_version: 2.4.8
|
|
121
121
|
signing_key:
|
|
122
122
|
specification_version: 4
|
|
123
123
|
summary: It's a secret!
|