Merge branch 'develop'

This commit is contained in:
varjolintu 2017-07-05 08:40:30 +03:00
commit b4705658a0
4 changed files with 10 additions and 10 deletions

View file

@ -1,9 +1,14 @@
0.2.3 (2017-07-05)
=========================
- Fixed a few variables
0.2.2 (2017-07-04)
=========================
- Some code cleaning and rewriting
- Fixed displaying 'Database not opened' error message
- Changed icon color to gray when database is not opened or connected
- Added support for UDP port selector for proxy applications
- Fixed strict_min_version for Firefox Nightly
0.2.1 (2017-06-27)
=========================

View file

@ -59,7 +59,6 @@ keepass.updateCredentials = function(callback, tab, entryId, username, password,
submitUrl: url
};
const key = keepass.b64e(keepass.keyPair.publicKey);
const nonce = nacl.randomBytes(keepass.keySize);
if (entryId) {
@ -124,7 +123,6 @@ keepass.retrieveCredentials = function (callback, tab, url, submiturl, forceCall
}
let entries = [];
const key = keepass.b64e(keepass.keyPair.publicKey);
const nonce = nacl.randomBytes(keepass.keySize);
const dbkeys = keepass.getCryptoKey();
const id = dbkeys[0];
@ -187,8 +185,8 @@ keepass.retrieveCredentials = function (callback, tab, url, submiturl, forceCall
// Redirects the callback to a listener (handleReply())
keepass.callbackOnId = function (ev, id, callback) {
let listener = ( function(port, id) {
let handler = function(msg) {
let listener = ( (port, id) => {
let handler = (msg) => {
if (msg && msg.action == id) {
ev.removeListener(handler);
callback(msg);
@ -220,7 +218,6 @@ keepass.generatePassword = function (callback, tab, forceCallback) {
}
let passwords = [];
const key = keepass.b64e(keepass.keyPair.publicKey);
const nonce = nacl.randomBytes(keepass.keySize);
const request = {
@ -381,7 +378,6 @@ keepass.testAssociation = function (callback, tab, triggerUnlock) {
return false;
}
const key = keepass.b64e(keepass.keyPair.publicKey);
const nonce = nacl.randomBytes(keepass.keySize);
const dbkeys = keepass.getCryptoKey();
if (dbkeys == null) {
@ -468,7 +464,6 @@ keepass.getDatabaseHash = function (callback, tab, triggerUnlock) {
keepass.changePublicKeys(tab, function(res) {});
}
const key = keepass.b64e(keepass.keyPair.publicKey);
const nonce = nacl.randomBytes(keepass.keySize);
const messageData = {

View file

@ -864,14 +864,14 @@ cipFields.getCombination = function(givenType, fieldId) {
return cipFields.combinations[0];
}
for (const c of cipFields.combinations) {
for (let c of cipFields.combinations) {
if (c[givenType] == fieldId) {
return c;
}
}
// find new combination
const combination = {
let combination = {
"username": null,
"password": null
};

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "keepassxc-browser",
"version": "0.2.2",
"version": "0.2.3",
"description": "KeePassXC integration for modern web browsers",
"author": "Sami Vänttinen",
"icons": {