Private symbols auto-unwrapping proxies (was: Security Demands Simplicity (was: Private Slots))

Mark S. Miller erights at google.com
Mon Jan 28 17:20:52 PST 2013


So the corresponding WeakMap situation would be one where the WeakMap o2 is
never passed through the membrane, so there is no p2 on the other side of
the membrane. In that scenario, AFAICT PrivateSymbol proposal #1, #2, and
WeakMaps are all equivalent. Not so?


On Mon, Jan 28, 2013 at 4:19 PM, Brandon Benvie
<brandon at brandonbenvie.com>wrote:

> The assumption that my conclusion on auto-unwrapping rests on is that the
> situation shouldn't arise where a wet value is set as a dry object's
> private property. The reasoning is that the private key is presumed to be
> something closely guarded and that won't be shared in such a way that this
> happens. This assumption is the underpinning of the whole thing, so it's
> the real point of contention.
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130128/67cb8860/attachment-0001.html>


More information about the es-discuss mailing list