gtk2passwordapp 4.3.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ad0166a53079b380bceff42dcbef4160f23d271
4
- data.tar.gz: c739839f3fd6fe2279682bdf6edb4df8d9e13a86
3
+ metadata.gz: 93d76cfb003e1b930d9d2deeaa22c24260456542
4
+ data.tar.gz: 4e55b73f5c0701b353b72dac3560a386c10a60a8
5
5
  SHA512:
6
- metadata.gz: 732a5bb7f3a4351e52e03ad3eedcc4da53c7f2a955f4ebe731053dba4bb9ea33dd5512055694c930e250f597d67d0b4870b714bee61297a0672e3ac7a6a1efc0
7
- data.tar.gz: e1066e2984540996d59a114cd6d0036a5c25ad793e7baa6f1a82fa95cfb10931383ad2f8f60ea697603f42448e1b90992671e71cea2ad1c381f47d84c094e238
6
+ metadata.gz: 7bb5d79bb06b3caf17e83a90f720dda4c77b538f542745e218d6470e1e4c0ccd43e87470d8b4919c1d48ce529549d0d9bb1f10aac46de2661c7b228aa3062000
7
+ data.tar.gz: 02b752a61ab739a41addf33e3bc8b7b2141e94548b3f8770bd9aa31af2eaa902f0b05f3a631d39bd2913b4ac218755e6c38efd3ec32696838d3aa84bdb40a718
@@ -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
 
@@ -1 +1 @@
1
- 4.3.0
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
@@ -1,3 +1,3 @@
1
1
  module Gtk2passwordapp
2
- VERSION = '4.3.0'
2
+ VERSION = '4.4.0'
3
3
  end
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.3.0
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-14 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rafini