Add Minimum PKDFB2 level check in firefox_addon
This commit is contained in:
parent
84eaf0c6a1
commit
8eee0060f6
2
README
2
README
|
@ -1,6 +1,6 @@
|
||||||
gPass : global Password.
|
gPass : global Password.
|
||||||
|
|
||||||
Copyright (C) 2013 Grégory Soutadé
|
Copyright (C) 2013-2014 Grégory Soutadé
|
||||||
|
|
||||||
Licence : GPL v3
|
Licence : GPL v3
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,9 @@ function ask_server(field, logins, domain, wdomain, mkey, salt)
|
||||||
break;
|
break;
|
||||||
case "pkdbf2_level":
|
case "pkdbf2_level":
|
||||||
server_pkdbf2_level = parseInt(params[1].match(/\d+/)[0], 10);
|
server_pkdbf2_level = parseInt(params[1].match(/\d+/)[0], 10);
|
||||||
if (server_pkdbf2_level != NaN && server_pkdbf2_level != pkdbf2_level)
|
if (server_pkdbf2_level != NaN &&
|
||||||
|
server_pkdbf2_level != pkdbf2_level &&
|
||||||
|
server_pkdbf2_level >= 1000)
|
||||||
{
|
{
|
||||||
debug("New pkdbf2 level " + server_pkdbf2_level);
|
debug("New pkdbf2 level " + server_pkdbf2_level);
|
||||||
pkdbf2_level = server_pkdbf2_level;
|
pkdbf2_level = server_pkdbf2_level;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user