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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af2de945195b941624c2f5e2a992f3d8eea9eb80
4
- data.tar.gz: 22faf369eead70da1d5e4bddf896b13df3318030
3
+ metadata.gz: 0d034e37d2e3c797c8f153f0b0ab839650501f7e
4
+ data.tar.gz: '0880cb7f95113eef6367dd4d1990c488e9aafb3e'
5
5
  SHA512:
6
- metadata.gz: dcd47c0296c6c41ba87c8a4e4d1b51bd3da4fa4be65dd5c0f17d34738b26d9472a27b586a33656c3402d6225e916376d133d6ebddc7be8e61ca7adf1e2ab1692
7
- data.tar.gz: b186a443ff600835a0e04460c682ab4ff35d8602cc4b155eaa2bce7a961d72fa08dc4052244887db39029913d4088292ffa42c430db9bb55408ef894d0aeeccc
6
+ metadata.gz: 911dd659426689b3e6812dc81a323c7966c753e42e1e57408f0aaff487140b871e989f6ba8864c8874dc0b49edbf1c4a90ddf83d438bc9d608f1eeeb7293cddc
7
+ data.tar.gz: 57d16dc5178b9f5c87f093f798ad96fb5be3d9c5f5f3d0e8dee016198c8814d114dbcd4cc998abc30219651c4ce58ed73279c09fb2e363f846ed68d7795dde97
@@ -3,7 +3,8 @@ language: ruby
3
3
  rvm:
4
4
  - 2.1.*
5
5
  - 2.2.*
6
- - 2.3.1
6
+ - 2.3.3
7
+ - 2.4.0
7
8
 
8
9
  gemfile:
9
10
  - Gemfile
@@ -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, 64)
84
- signature_key = ActiveSupport::KeyGenerator.new(sign_passphrase).generate_key(salt, 64) if sign_passphrase
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)
@@ -1,4 +1,4 @@
1
1
  module Envault
2
2
  # envault version
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
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.0
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: 2016-09-16 00:00:00.000000000 Z
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.5.1
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.