kms-env 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kms-env.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b85ad2f1d7309debb1000d9b0b11ae76e730321
|
4
|
+
data.tar.gz: 396305a489181e2c45aed8d00c2f0bed47e1783e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 107d4f2d5c0961b3c6a54e63db34fee9eb5881d532075cf27a18a99f2e852b170b67ce4420ff4d4fca091a944721ceb8f8be79cdd6261efe5f764eb8578693a9
|
7
|
+
data.tar.gz: 355aa1601b5ed1d8669e928505d12f09242d6c4d57e1b90e00fbea4919e8401f54543b783a9ea34c229131ac1d8c924c2f4f311fb998d139b317afcf849a690a
|
data/lib/kms-env.rb
CHANGED
@@ -37,7 +37,7 @@ module KmsEnv
|
|
37
37
|
def set_decrypted_env_for(key)
|
38
38
|
# skip values that have already been decrypted
|
39
39
|
return if ENV[plaintext_key_for(key)]
|
40
|
-
ENV[plaintext_key_for(key)] = kms_decrypt_blob(ciphertext_blob_for(ENV[key])).
|
40
|
+
ENV[plaintext_key_for(key)] = kms_decrypt_blob(ciphertext_blob_for(ENV[key])).plaintext
|
41
41
|
end
|
42
42
|
|
43
43
|
def kms_key_matcher
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kms-env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Stokes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|