encrypted-keystore 0.0.5 → 0.0.6

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: c4bb01552114d8a853473326d58e3bc1591065a2
4
- data.tar.gz: cfa75eedfd816c60351368ee855a6465021b1d2e
3
+ metadata.gz: 789761a2c86fb3a1502f45b4345a97b4a38270b5
4
+ data.tar.gz: 5573c0b04fbe01111367bc5b85c5d756ba5a0bb1
5
5
  SHA512:
6
- metadata.gz: c1e58ae9cf57a86991ce296b7c046dc493df822452ba9d4ebb504c71adfbac449f35d6b82f3860e8c9bf9cb15a31662f88d04535a68896e2e0c48501f26f12d1
7
- data.tar.gz: 4f7f948b77103a280524e649793ec00533512ca28a749daa006b83c796ceb8dade8c4591290c3af3595236daa1a24bd4da99379a9e8355d4cdc22755374c5402
6
+ metadata.gz: 0331f845ce2978257da0354471916dbf4862fa4dc3a3cbbd63e69d405fbe50fea8258083522f9b9fbb84e8d3b788997426de4a47f9f836397b71cd53357798c6
7
+ data.tar.gz: 6d1446cce67479e7ff2503746f64b3162eff55cbcf3fb0d56aad4e5cc5185dc1756838fa5c5874741b9e1defc9c6e7bcf4e576fd48daf6fd9519f76df00d756c
data/Gemfile.lock CHANGED
@@ -1,11 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- encrypted-keystore (0.0.5)
4
+ encrypted-keystore (0.0.6)
5
+ fileutils (~> 1.2)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ fileutils (1.2.0)
9
11
 
10
12
  PLATFORMS
11
13
  ruby
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'encrypted-keystore'
5
- s.version = '0.0.5'
6
- s.date = '2019-06-26'
5
+ s.version = '0.0.6'
6
+ s.date = '2019-06-27'
7
7
  s.summary = 'Simple key encrypter/decrypter'
8
8
  s.description = 'A simple encrypted key storage system.'
9
9
  s.homepage = 'http://rubygems.org/gems/encrypted-keystore'
@@ -12,4 +12,6 @@ Gem::Specification.new do |s|
12
12
  s.email = 'julian@fiander.one'
13
13
  s.require_paths = %w[lib]
14
14
  s.files = `git ls-files`.split("\n")
15
+
16
+ s.add_runtime_dependency 'fileutils', '~> 1.2'
15
17
  end
@@ -29,6 +29,8 @@ class EncryptedKeystore
29
29
  validate
30
30
 
31
31
  write(dec_cipher)
32
+ FileUtils.chmod(0o0600, @out)
33
+ @out
32
34
  end
33
35
 
34
36
  def encrypt
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encrypted-keystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fileutils
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
13
27
  description: A simple encrypted key storage system.
14
28
  email: julian@fiander.one
15
29
  executables: []