Comparing version 2.0.48 to 2.0.49
@@ -0,1 +1,7 @@ | ||
## 2.0.49 (2015-11-14) | ||
Bugfix: | ||
- Use the best encryption subkey if there are multiple possibilities | ||
- See https://github.com/keybase/keybase-issues/issues/1853 | ||
## 2.0.48 (2015-10-09) | ||
@@ -2,0 +8,0 @@ |
@@ -730,2 +730,16 @@ // Generated by IcedCoffeeScript 1.7.1-c | ||
KeyMaterial.prototype.is_preferable_to = function(k2) { | ||
var e1, e2, ret; | ||
e1 = this.get_expire_time(); | ||
e2 = k2.get_expire_time(); | ||
if (e1.expire_at == null) { | ||
e1.expire_at = Infinity; | ||
} | ||
if (e2.expire_at == null) { | ||
e2.expire_at = Infinity; | ||
} | ||
ret = e1.expire_at > e2.expire_at ? true : e1.expire_at < e2.expire_at ? false : e1.generated >= e2.generated ? true : false; | ||
return ret; | ||
}; | ||
KeyMaterial.prototype.get_expire_time = function() { | ||
@@ -732,0 +746,0 @@ var psc; |
@@ -10,3 +10,3 @@ { | ||
"author": "Maxwell Krohn", | ||
"version": "2.0.48", | ||
"version": "2.0.49", | ||
"license": "BSD-3-Clause", | ||
@@ -13,0 +13,0 @@ "main": "./lib/main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1208614
17850