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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3d02303c19a2fdb1438508acbab4d5dfdf158e7
4
- data.tar.gz: 0e068062d1241c74f5a86ec81c6b541db64702c0
3
+ metadata.gz: 79485306d9e37506f0e8fa7448a241750025df9c
4
+ data.tar.gz: c18908868eed76153a2fac67c35a29941d1fef87
5
5
  SHA512:
6
- metadata.gz: 9e8b05f2a33c1a2b798ee735f0eb1076958324e11197a452ba73d5c7c08eba3568d18c7718b0cb1376bb66db6ea2f83ccfc6fcded706e53d12443ab3b9dbca0b
7
- data.tar.gz: 6f6dad083904cccb777f1d18603387ae598eb6d3745a9010a18094b65a85d6dfdecc9389e59f16ff249bb4ee599f1d9073911f7efef020051deb16cec4f47276
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/gtk2passwordapp.rb's #process_pwd_entries to see how that's done.
53
- Furthermore, If you add :Salt to the configuration file, it'll use the qgraph-sha256-digest
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
- Note that the initial set up of the materpassword still needs to be done explicitly.
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.0.0
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
@@ -1,3 +1,3 @@
1
1
  module Gtk2PasswordApp
2
- VERSION = '5.0.0'
2
+ VERSION = '5.1.0'
3
3
  end
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.0.0
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-22 00:00:00.000000000 Z
11
+ date: 2017-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: gtk3app
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: '2.0'
19
+ version: '1.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 2.0.0
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: '2.0'
29
+ version: '1.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.0
32
+ version: 1.0.0
33
33
  - !ruby/object:Gem::Dependency
34
- name: yaml_zlib_blowfish
34
+ name: gtk3app
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
39
+ version: '2.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 1.0.0
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: '1.0'
49
+ version: '2.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 1.0.0
52
+ version: 2.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: super_random
55
55
  requirement: !ruby/object:Gem::Requirement