gtk2passwordapp 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +7 -3
- data/bin/gtk2pwdV +0 -0
- data/data/VERSION +1 -1
- data/lib/gtk2passwordapp/gtk2pwdv.rb +3 -3
- data/lib/gtk2passwordapp/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79485306d9e37506f0e8fa7448a241750025df9c
|
|
4
|
+
data.tar.gz: c18908868eed76153a2fac67c35a29941d1fef87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f009160e3875f503e46c5c9188cf86a0bbff21779b823cdee3ff7776086f016583b571fcdabf1f7a2317bdc4a326f6e673737e839573b95f6353b5746eaa68cf
|
|
7
|
+
data.tar.gz: 70b7a5347ed2f322458f0223cc6b1c9763e0e74a1d1b9ce9d047d18b57fe11d3c6efce4485fc56377c005991c33ca628c5f1f3125c9a96c9b00a3a702e3d5b20
|
data/README.rdoc
CHANGED
|
@@ -49,10 +49,14 @@ you may need to edit the new config file to match you're previously edited chang
|
|
|
49
49
|
If you use a qrcode to enter your master password, and
|
|
50
50
|
the result is a multiline string,
|
|
51
51
|
gtk2passwordapp will assume you want the qgraph-sha256-digest.
|
|
52
|
-
See gtk2passwordapp/
|
|
53
|
-
|
|
52
|
+
See gtk2passwordapp/gtk2pwdv.rb's #process_pwd_entries to see how that's done.
|
|
53
|
+
|
|
54
|
+
If you add :Salt to the configuration file, it'll use the qgraph-sha256-digest
|
|
54
55
|
of the entry salted as can be seen in #process_pwd_entries.
|
|
55
|
-
|
|
56
|
+
|
|
57
|
+
Note that the initial set up of the mater-password still needs to be done explicitly.
|
|
58
|
+
That is, you'll need to enter the final resulting string when setting the master-password.
|
|
59
|
+
Again, see Gtk2PasswordApp::Gtk2PwdV#process_pwd_entries.
|
|
56
60
|
|
|
57
61
|
== LICENSE:
|
|
58
62
|
|
data/bin/gtk2pwdV
CHANGED
|
File without changes
|
data/data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.1.0
|
|
@@ -158,9 +158,6 @@ class Gtk2PwdV
|
|
|
158
158
|
else
|
|
159
159
|
pwd1 = pwd
|
|
160
160
|
end
|
|
161
|
-
if salt = CONFIG[:Salt]
|
|
162
|
-
pwd1 = BaseConvert::FromTo.new(:hex, :qgraph).convert Digest::SHA256.hexdigest(pwd1+salt)
|
|
163
|
-
end
|
|
164
161
|
end
|
|
165
162
|
raise 'No password given.' if pwd1 == ''
|
|
166
163
|
if entry2
|
|
@@ -174,6 +171,9 @@ class Gtk2PwdV
|
|
|
174
171
|
pwd1 = pwd unless pwd=='' # but maybe not.
|
|
175
172
|
end
|
|
176
173
|
end
|
|
174
|
+
if salt = CONFIG[:Salt]
|
|
175
|
+
pwd1 = BaseConvert::FromTo.new(:hex, :qgraph).convert Digest::SHA256.hexdigest(pwd1+salt)
|
|
176
|
+
end
|
|
177
177
|
@accounts.load pwd1
|
|
178
178
|
end
|
|
179
179
|
true
|
metadata
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gtk2passwordapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- carlosjhr64
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: yaml_zlib_blowfish
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '1.0'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
22
|
+
version: 1.0.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '1.0'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
32
|
+
version: 1.0.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
|
-
name:
|
|
34
|
+
name: gtk3app
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '2.0'
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version:
|
|
42
|
+
version: 2.0.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
47
|
- - "~>"
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: '
|
|
49
|
+
version: '2.0'
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version:
|
|
52
|
+
version: 2.0.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: super_random
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|