encrypted-keystore 0.0.4 → 0.0.5

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: 1efb8674ad2adb4e1357386f5a63059b6ff90658
4
- data.tar.gz: bb5aa9f3ecd876dd115bbb47dd1ef083a701e0ed
3
+ metadata.gz: c4bb01552114d8a853473326d58e3bc1591065a2
4
+ data.tar.gz: cfa75eedfd816c60351368ee855a6465021b1d2e
5
5
  SHA512:
6
- metadata.gz: 201b9ccb705b03a7dbd58ca334f30e4111973a9b62798687d111d673ab5cd22e7425a0edceb73bd6a0987a9cdf844ec848e2c75e30e769ac916a119d1f6997b1
7
- data.tar.gz: 36283c5911154d859eb307e546648a4fc7c2448ceb27acc760d7d8e3b690692b9c4d76ee45f704d65bb446aaa45878ad705f5ca3e482d49c0fcbdd3f2fa0172b
6
+ metadata.gz: c1e58ae9cf57a86991ce296b7c046dc493df822452ba9d4ebb504c71adfbac449f35d6b82f3860e8c9bf9cb15a31662f88d04535a68896e2e0c48501f26f12d1
7
+ data.tar.gz: 4f7f948b77103a280524e649793ec00533512ca28a749daa006b83c796ceb8dade8c4591290c3af3595236daa1a24bd4da99379a9e8355d4cdc22755374c5402
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- encrypted-keystore (0.0.3)
4
+ encrypted-keystore (0.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Readme.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Encrypted Keystore
2
2
 
3
+ [![Gem Version](https://img.shields.io/gem/v/encrypted-keystore.svg)](https://rubygems.org/gems/encrypted-keystore)
4
+
3
5
  A simple encrypted key storage system.
4
6
 
5
7
  ## Installation
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'encrypted-keystore'
5
- s.version = '0.0.4'
5
+ s.version = '0.0.5'
6
6
  s.date = '2019-06-26'
7
7
  s.summary = 'Simple key encrypter/decrypter'
8
8
  s.description = 'A simple encrypted key storage system.'
@@ -6,14 +6,14 @@ class EncryptedKeystore
6
6
 
7
7
  attr_accessor :file, :out, :key, :iv
8
8
 
9
- def self.encrypt(file, out)
9
+ def self.encrypt(file: nil, out: nil)
10
10
  enc = new(file: file, out: out)
11
11
  enc.encrypt
12
12
 
13
13
  { key: enc.key, iv: enc.iv }
14
14
  end
15
15
 
16
- def self.decrypt(file, out, key, iv)
16
+ def self.decrypt(file: nil, out: nil, key: nil, iv: nil)
17
17
  enc = new(file: file, out: out, key: key, iv: iv)
18
18
  enc.decrypt
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encrypted-keystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Fiander