rubeepass 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubeepass/entry.rb +2 -0
- data/lib/rubeepass.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91052eff9e9814c1cc27a445831800d11d006398
|
4
|
+
data.tar.gz: 33b62541ea35b3d3c89f2dcf8aa313e7e8b30bf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39380c8eb6144688314dd38263c55c387d2b3e58eb7e283bf6a5130ac04a05fff4345a9673439640868eb00626f92502d2c370944039643886ee15a013ec92f6
|
7
|
+
data.tar.gz: 54d042c8a5438daba7a1eafd38d19146e18ee1986163543d1499142641992625fcbb1f8f9afabd71516307373d8fb55d400572b4a9046f8dcc6fc6734b798a1c
|
data/lib/rubeepass/entry.rb
CHANGED
@@ -100,6 +100,7 @@ class RubeePass::Entry
|
|
100
100
|
|
101
101
|
def self.handle_protected(keepass, base64)
|
102
102
|
data = nil
|
103
|
+
return nil if (base64.nil?)
|
103
104
|
begin
|
104
105
|
data = base64.unpack("m*")[0].fix
|
105
106
|
rescue ArgumentError => e
|
@@ -170,6 +171,7 @@ class RubeePass::Entry
|
|
170
171
|
|
171
172
|
def password
|
172
173
|
return nil if (@keepass.nil?)
|
174
|
+
return "" if (@password.nil?)
|
173
175
|
begin
|
174
176
|
return @keepass.protected_decryptor.get_password(
|
175
177
|
@password
|
data/lib/rubeepass.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubeepass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|