W3C home > Mailing lists > Public > public-webcrypto@w3.org > March 2014

Re: will the key reference available sent via postMessage?

From: Ryan Sleevi <sleevi@google.com>
Date: Sun, 16 Mar 2014 19:07:45 -0700
Message-ID: <CACvaWvYDCC+o9z=yx54XoNS=JywvuMkZgS+C43HHHDE9FXhp1w@mail.gmail.com>
To: "mountie.lee@gmail.com" <mountie@paygate.net>
Cc: Web Cryptography Working Group <public-webcrypto@w3.org>
On Mar 16, 2014 5:36 PM, "Mountie Lee" <mountie@paygate.net> wrote:
>
> Hi.
> let me add more questions for cloned key.
>
> if the key owner destroy the key,
> will be the cloned key also destroyed?

No. That's not how structured clone works.

>
> if the cloned key is destroyed in different origin,
> will it be impact to original key material?
>

No. That's not how structured clone works.

> my root question is for key ownership.
> if the key was cloned and posted to different domain,
> the owner still have control of it?

No. That's not how structured clone works.

>
> regards
> mountie.
>
>
> On Thu, Feb 13, 2014 at 2:50 AM, Ryan Sleevi <sleevi@google.com> wrote:
>>
>>
>> On Feb 12, 2014 6:35 AM, "Mountie Lee" <mountie@paygate.net> wrote:
>> >
>> > Hi. some questions.
>> >
>> > when the key is generated,
>> > as my understanding, the original key material will not be exposed and
only the reference (or pointer) of key material will be exposed.
>> >
>>
>> Only if the key is marked not extractable.
>>
>> > if the key reference is sent to different domain via postMessage,
>> > will the reference still valid?
>> >
>>
>> As the spec describes the structured clone, yes. That is how structured
clone works.
>>
>> > --
>> > Mountie Lee
>> >
>> > PayGate
>> > CTO, CISSP
>> > Tel : +82 2 2140 2700
>> > E-Mail : mountie@paygate.net
>> >
>> > =======================================
>> > PayGate Inc.
>> > THE STANDARD FOR ONLINE PAYMENT
>> > for Korea, Japan, China, and the World
>
>
>
>
> --
> Mountie Lee
>
> PayGate
> CTO, CISSP
> Tel : +82 2 2140 2700
> E-Mail : mountie@paygate.net
>
> =======================================
> PayGate Inc.
> THE STANDARD FOR ONLINE PAYMENT
> for Korea, Japan, China, and the World
>
Received on Monday, 17 March 2014 02:08:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:22 UTC