Comparing version 0.6.7 to 0.6.8
@@ -49,4 +49,4 @@ // Copyright 2012 The Obvious Corporation. | ||
/** "ununsealer" key object to authenticate objects */ | ||
var theUnunsealer = [ "ursa ununsealer" ]; | ||
/** "unsealer" key object to authenticate objects */ | ||
var theUnsealer = [ "ursa unsealer" ]; | ||
@@ -256,4 +256,4 @@ | ||
function ununseal(ununsealer) { | ||
return (ununsealer === theUnunsealer) ? self : undefined; | ||
function unseal(unsealer) { | ||
return (unsealer === theUnsealer) ? self : undefined; | ||
} | ||
@@ -271,3 +271,3 @@ | ||
verify: verify, | ||
ununseal: ununseal | ||
unseal: unseal | ||
}; | ||
@@ -427,10 +427,10 @@ | ||
try { | ||
var ununseal = obj.ununseal; | ||
if (typeof ununseal !== "function") { | ||
var unseal = obj.unseal; | ||
if (typeof unseal !== "function") { | ||
return false; | ||
} | ||
obj2 = ununseal(theUnunsealer); | ||
obj2 = unseal(theUnsealer); | ||
} catch (ex) { | ||
// Ignore; can't assume that other objects obey any particular | ||
// ununsealing protocol. | ||
// unsealing protocol. | ||
// TODO: Log? | ||
@@ -437,0 +437,0 @@ return false; |
{ | ||
"name": "ursa", | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "crypto", "key", "openssl", "private", "public", "rsa", "sign", |
113111