envault 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/envault/core.rb +2 -2
- data/lib/envault/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: 0d034e37d2e3c797c8f153f0b0ab839650501f7e
|
4
|
+
data.tar.gz: '0880cb7f95113eef6367dd4d1990c488e9aafb3e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 911dd659426689b3e6812dc81a323c7966c753e42e1e57408f0aaff487140b871e989f6ba8864c8874dc0b49edbf1c4a90ddf83d438bc9d608f1eeeb7293cddc
|
7
|
+
data.tar.gz: 57d16dc5178b9f5c87f093f798ad96fb5be3d9c5f5f3d0e8dee016198c8814d114dbcd4cc998abc30219651c4ce58ed73279c09fb2e363f846ed68d7795dde97
|
data/.travis.yml
CHANGED
data/lib/envault/core.rb
CHANGED
@@ -80,8 +80,8 @@ module Envault
|
|
80
80
|
private
|
81
81
|
|
82
82
|
def get_cryptor(passphrase, sign_passphrase, salt)
|
83
|
-
key = ActiveSupport::KeyGenerator.new(passphrase).generate_key(salt,
|
84
|
-
signature_key = ActiveSupport::KeyGenerator.new(sign_passphrase).generate_key(salt,
|
83
|
+
key = ActiveSupport::KeyGenerator.new(passphrase).generate_key(salt, 32)
|
84
|
+
signature_key = ActiveSupport::KeyGenerator.new(sign_passphrase).generate_key(salt, 32) if sign_passphrase
|
85
85
|
|
86
86
|
if signature_key
|
87
87
|
ActiveSupport::MessageEncryptor.new(key, signature_key, cipher: DEFAULT_CIPHER, digest: DEFAULT_DIGEST)
|
data/lib/envault/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: envault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toyama0919
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
210
|
rubyforge_project:
|
211
|
-
rubygems_version: 2.
|
211
|
+
rubygems_version: 2.6.8
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: Encrypt secret information environment variables by yaml.
|