gtk2passwordapp 4.2.1 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +6 -1
- data/data/VERSION +1 -1
- data/lib/gtk2passwordapp/config.rb +1 -1
- data/lib/gtk2passwordapp/gtk2passwordapp.rb +10 -6
- data/lib/gtk2passwordapp/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ad0166a53079b380bceff42dcbef4160f23d271
|
4
|
+
data.tar.gz: c739839f3fd6fe2279682bdf6edb4df8d9e13a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 732a5bb7f3a4351e52e03ad3eedcc4da53c7f2a955f4ebe731053dba4bb9ea33dd5512055694c930e250f597d67d0b4870b714bee61297a0672e3ac7a6a1efc0
|
7
|
+
data.tar.gz: e1066e2984540996d59a114cd6d0036a5c25ad793e7baa6f1a82fa95cfb10931383ad2f8f60ea697603f42448e1b90992671e71cea2ad1c381f47d84c094e238
|
data/README.rdoc
CHANGED
@@ -44,11 +44,16 @@ 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
|
48
|
+
the result is a multiline string,
|
49
|
+
gtk2passwordapp will assume you want the qgraph-sha256-digest.
|
50
|
+
See gtk2passwordapp/gtk2passwordapp.rb's #process_pwd_entries to see how that's done.
|
51
|
+
|
47
52
|
== LICENSE:
|
48
53
|
|
49
54
|
(The MIT License)
|
50
55
|
|
51
|
-
Copyright (c)
|
56
|
+
Copyright (c) 2017
|
52
57
|
|
53
58
|
Permission is hereby granted, free of charge, to any person obtaining
|
54
59
|
a copy of this software and associated documentation files (the
|
data/data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.
|
1
|
+
4.3.0
|
@@ -125,17 +125,17 @@ class Gtk2PasswordApp
|
|
125
125
|
@accounts.names.sort{|a,b|a.upcase<=>b.upcase}.each do |name|
|
126
126
|
account = @accounts.get name
|
127
127
|
pwd, user, updated = account.password, account.username, account.updated
|
128
|
-
too_old = ((now - updated) > CONFIG[:TooOld])
|
129
128
|
selected = Such::MenuItem.new([name], 'activate') do
|
130
|
-
color_code selected
|
129
|
+
color_code selected
|
131
130
|
@combo.set_active @names.index name if @combo
|
132
131
|
copy2clipboard pwd, user
|
132
|
+
@program.mini_menu.reorder_child(selected,0)
|
133
133
|
end
|
134
|
-
if
|
135
|
-
selected.override_color :normal, @red
|
136
|
-
elsif @previous.include? name
|
134
|
+
if @previous.include? name
|
137
135
|
@current[@previous.index(name)] = selected
|
138
136
|
selected.override_color :normal, @blue
|
137
|
+
elsif ((now - updated) > CONFIG[:TooOld])
|
138
|
+
selected.override_color :normal, @red
|
139
139
|
end
|
140
140
|
@program.mini_menu.append selected
|
141
141
|
selected.show
|
@@ -158,7 +158,11 @@ class Gtk2PasswordApp
|
|
158
158
|
begin
|
159
159
|
pwd1 = entry1.text.strip
|
160
160
|
if pwd1 == '' and pwd = Helpema::ZBar.qrcode(CONFIG[:QrcTimeOut])
|
161
|
-
|
161
|
+
if pwd.include?("\n")
|
162
|
+
pwd1 = BaseConvert::FromTo.new(:hex, :qgraph).convert Digest::SHA256.hexdigest pwd
|
163
|
+
else
|
164
|
+
pwd1 = pwd
|
165
|
+
end
|
162
166
|
end
|
163
167
|
raise 'No password given.' if pwd1 == ''
|
164
168
|
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.3.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-
|
11
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rafini
|
@@ -96,20 +96,20 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - "~>"
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '0.
|
99
|
+
version: '0.2'
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0.
|
102
|
+
version: 0.2.0
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
109
|
+
version: '0.2'
|
110
110
|
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
112
|
+
version: 0.2.0
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: base_convert
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,20 +136,20 @@ dependencies:
|
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '0.
|
139
|
+
version: '0.2'
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: 0.
|
142
|
+
version: 0.2.0
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
145
|
version_requirements: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: '0.
|
149
|
+
version: '0.2'
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.2.0
|
153
153
|
description: |
|
154
154
|
Ruby-Gnome Password Manager.
|
155
155
|
|