gtk2passwordapp 4.3.0 → 4.4.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 +4 -1
- data/data/VERSION +1 -1
- data/lib/gtk2passwordapp/gtk2passwordapp.rb +3 -0
- data/lib/gtk2passwordapp/version.rb +1 -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: 93d76cfb003e1b930d9d2deeaa22c24260456542
|
|
4
|
+
data.tar.gz: 4e55b73f5c0701b353b72dac3560a386c10a60a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bb5d79bb06b3caf17e83a90f720dda4c77b538f542745e218d6470e1e4c0ccd43e87470d8b4919c1d48ce529549d0d9bb1f10aac46de2661c7b228aa3062000
|
|
7
|
+
data.tar.gz: 02b752a61ab739a41addf33e3bc8b7b2141e94548b3f8770bd9aa31af2eaa902f0b05f3a631d39bd2913b4ac218755e6c38efd3ec32696838d3aa84bdb40a718
|
data/README.rdoc
CHANGED
|
@@ -44,10 +44,13 @@ you may need to edit the new config file to match you're previously edited chang
|
|
|
44
44
|
Also, double check the requirements to ensure the versions of ruby and gems being used
|
|
45
45
|
(gtk3app, etc...) are compatible.
|
|
46
46
|
|
|
47
|
-
If you use a qrcode to enter your password, and
|
|
47
|
+
If you use a qrcode to enter your master password, and
|
|
48
48
|
the result is a multiline string,
|
|
49
49
|
gtk2passwordapp will assume you want the qgraph-sha256-digest.
|
|
50
50
|
See gtk2passwordapp/gtk2passwordapp.rb's #process_pwd_entries to see how that's done.
|
|
51
|
+
Furthermore, If you add :Salt to the configuration file, it'll use the qgraph-sha256-digest
|
|
52
|
+
of the entry salted as can be seen in #process_pwd_entries.
|
|
53
|
+
Note that the initial set up of the materpassword still needs to be done explicitly.
|
|
51
54
|
|
|
52
55
|
== LICENSE:
|
|
53
56
|
|
data/data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.
|
|
1
|
+
4.4.0
|
|
@@ -163,6 +163,9 @@ class Gtk2PasswordApp
|
|
|
163
163
|
else
|
|
164
164
|
pwd1 = pwd
|
|
165
165
|
end
|
|
166
|
+
if salt = CONFIG[:Salt]
|
|
167
|
+
pwd1 = BaseConvert::FromTo.new(:hex, :qgraph).convert Digest::SHA256.hexdigest(pwd1+salt)
|
|
168
|
+
end
|
|
166
169
|
end
|
|
167
170
|
raise 'No password given.' if pwd1 == ''
|
|
168
171
|
if entry2
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gtk2passwordapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.4.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-06-
|
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rafini
|