W3C home > Mailing lists > Public > public-webappsec@w3.org > February 2016

RE: Using client certificates for signing

From: Crispin Cowan <crispin@microsoft.com>
Date: Wed, 24 Feb 2016 07:01:30 +0000
To: Mitar <mmitar@gmail.com>, Martin Thomson <martin.thomson@gmail.com>
CC: "public-webappsec@w3.org" <public-webappsec@w3.org>
Message-ID: <BN3PR0301MB12203CCE85C30AE64D6CD1DEBDA50@BN3PR0301MB1220.namprd03.prod.outlook.com>
Exposing private keys seems like it is *never* a good idea. You use a private key to encrypt a challenge to prove possession with respect to the public key. Once the private key is disclosed, the value of the key pair is destroyed. Why would you want to do that?

-----Original Message-----
From: Mitar [mailto:mmitar@gmail.com] 
Sent: Tuesday, February 23, 2016 10:56 PM
To: Martin Thomson <martin.thomson@gmail.com>
Cc: public-webappsec@w3.org
Subject: Re: Using client certificates for signing

Hi!

On Tue, Feb 23, 2016 at 7:46 AM, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 22 February 2016 at 21:42, Mitar <mmitar@gmail.com> wrote:
>>> You don't *need* a certificate to sign.  WebCrypto is enough.
>>
>> You do. Because your certificate is signed by the state CA. And this 
>> makes your digital signature legally equivalent to the normal 
>> signature for almost any purpose. At least some countries in Europe 
>> have such laws.
>
> You do not.  The private key that you use to sign is not in a 
> certificate.  If the key pair that was used to generate the 
> certificate is made available to WebCrypto, that is enough.

Oh, you are objecting to my terminology, but it seems that we agree otherwise. So you are agreeing that exposing the private key of the certificate's key pair to WebCrypto would be one of ways to address this? I agree. So how can we this available?


Mitar

--
http://mitar.tnode.com/

https://twitter.com/mitar_m


Received on Wednesday, 24 February 2016 07:02:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:54 UTC