eyaml 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/eyaml/encryption_manager.rb +2 -2
- data/lib/eyaml/util.rb +0 -8
- data/lib/eyaml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ea668d85b345d520177d6ca72954fe7a1da0e4bb75863c1ee6df9e0b995c90c
|
4
|
+
data.tar.gz: fba4fa173022e09f21d21b50227b7233690ceac99bbebf15490a999d819aa63e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eab3d06ed10088e5544370a2dc9dc271b1f8606700d48b0ea4327682a6823ac4541e9c593f0b6334924d39cb9c72088211b514595244bfa3815dff6dfefbe88
|
7
|
+
data.tar.gz: 1e62de0de7cd54e75e1187bbaa86f63174d0126f9d977a72154b483bfd4ff411aa42019806877e49594e8c07513468ed16f5e17a84106965e911af4061c3f2c8
|
data/Gemfile.lock
CHANGED
@@ -18,8 +18,8 @@ module EYAML
|
|
18
18
|
|
19
19
|
def initialize(yaml, public_key, private_key = nil)
|
20
20
|
@tree = yaml
|
21
|
-
@public_key =
|
22
|
-
@private_key = private_key
|
21
|
+
@public_key = RbNaCl::Util.hex2bin(public_key)
|
22
|
+
@private_key = private_key && RbNaCl::Util.hex2bin(private_key.strip)
|
23
23
|
end
|
24
24
|
|
25
25
|
def decrypt
|
data/lib/eyaml/util.rb
CHANGED
data/lib/eyaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Stolarsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|