gPass

gPass Commit Details

Date:2018-06-30 09:04:40 (2 months 26 days ago)
Author:Grégory Soutadé
Commit:07c64a44a032158babba6acdd4fd100061529be7
Parents: 81385fbf88fe1d44eb735fb01a936365a54dd09c
Message:Fix addon : * Error in wildcard domain generation * Forgot some console.log in code (replace it with debug function)

Changes:
MChangeLog (1 diff)
MREADME.md (1 diff)
Mchrome_addon/lib/main.js (2 diffs)
Mchrome_addon/lib/misc.js (8 diffs)
Mchrome_addon/manifest.json (1 diff)
Mfirefox_webextension/manifest.json (1 diff)

File differences

ChangeLog
1
2
3
4
5
6
7
8
9
10
111
212
313
**v0.8.2 :**
Server
Addon
* Error in wildcard domain generation
* Forgot some console.log in code (replace it with debug function)
CLI
**v0.8.1 :**
Server
README.md
7676
7777
7878
79
79
8080
8181
8282
Version Information
-------------------
Current version is 0.8. **(not compatible with 0.7)**
Current version is 0.8.2 **(not compatible with 0.7)**
Firefox will remove support for addons, so the gPass addon code is not supported since v0.8, please migrate to webextension.
chrome_addon/lib/main.js
293293
294294
295295
296
296
297
298
297299
298300
299301
......
458460
459461
460462
461
463
462464
463465
464466
{
res = "*.";
for (i=1; i<parts.length; i++)
res += parts[i];
res += parts[i] + ".";
// Remove last "."
return res.substr(0, res.length-1);
}
// Simple xxx.com
else if (parts.length == 2)
console.log("Self test OK !");
}
console.log("Welcome to gPass web extension v0.8.1 !");
console.log("Welcome to gPass web extension v0.8.2 !");
console.log("Privacy Policy can be found at http://indefero.soutade.fr/p/gpass/source/tree/master/PrivacyPolicy.md");
console.log("");
chrome_addon/lib/misc.js
8080
8181
8282
83
83
8484
8585
8686
87
87
8888
8989
9090
......
112112
113113
114114
115
115
116116
117117
118118
119
119
120120
121121
122122
......
136136
137137
138138
139
139
140140
141141
142142
......
164164
165165
166166
167
167
168168
169169
170170
......
174174
175175
176176
177
177
178178
179179
180180
......
195195
196196
197197
198
198
199199
200200
201201
......
214214
215215
216216
217
217
218218
219219
220220
......
224224
225225
226226
227
227
228228
229229
230230
return key;
})
.catch(function(err){
console.log("Error derive key " + err);
debug("Error derive key " + err);
});
})
.catch(function(err) {
console.log("Error import key" + err);
debug("Error import key" + err);
});
}
});
})
.catch(function(err){
console.log("Error derive key " + err);
debug("Error derive key " + err);
});
})
.catch(function(err) {
console.log("Error import key" + err);
debug("Error import key" + err);
});
}
return ab2str(encrypted);
})
.catch(function(encryption) {
console.log("Encryption rejected " + encryption);
debug("Encryption rejected " + encryption);
});
return promise;
return ab2str(decrypted);
})
.catch(function(decryption) {
console.log("Decryption rejected " + decryption);
debug("Decryption rejected " + decryption);
});
return promise;
{
var result = "";
console.log("Encrypt ECB " + data);
debug("Encrypt ECB " + data);
nulliv = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
{
var result = "";
console.log("Decrypt ECB " + data);
debug("Decrypt ECB " + data);
nulliv = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
async function encrypt_cbc(mkey, iv, data)
{
console.log("Encrypt CBC " + data);
debug("Encrypt CBC " + data);
var result = await _encrypt(mkey, str2ab(iv), data);
async function decrypt_cbc(mkey, iv, data)
{
console.log("Decrypt CBC " + data);
debug("Decrypt CBC " + data);
var result = await _decrypt(mkey, str2ab(iv), data);
chrome_addon/manifest.json
33
44
55
6
6
77
88
99
"name": "gPass",
"short_name": "gPass",
"version": "0.8.1",
"version": "0.8.2",
"description": "gPass : global password manager",
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
"author" : "Grégory Soutadé",
firefox_webextension/manifest.json
33
44
55
6
6
77
88
99
"name": "gPass",
"short_name": "gPass",
"version": "0.8.1",
"version": "0.8.2",
"description": "gPass : global password manager",
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
"author" : "Grégory Soutadé",

Archive Download the corresponding diff file