W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2015

Re: Question on set of certs and fingerprints

From: Martin Thomson <martin.thomson@gmail.com>
Date: Sat, 4 Jul 2015 12:30:03 -0700
Message-ID: <CABkgnnWbCaTV=b0o6o0xtpb7UUfJ=ghLdC+Gss0TwemB4qYrMQ@mail.gmail.com>
To: Bernard Aboba <Bernard.Aboba@microsoft.com>
Cc: public-webrtc@w3.org, Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>
On Jul 3, 2015 10:59 PM, "Bernard Aboba" <Bernard.Aboba@microsoft.com>
wrote:
> A. Can only the keygenAlgorithm be set? What about other aspects like key
length or hash algorithm?

The answer is yes to length and partially to hash. You need to know the
length to generate a key: WebCrypto makes that a mandatory parameter.

For hash, WebCrypto bakes the hash algorithm into the RSA key generation
parameters, but not EC for some reason. An early proposal had an extra
parameter for selecting the hash algorithm, but discussion with Ryan led to
the current form, where the browser chooses.

As a practical matter, that means if you have a decode that chokes on
SHA-256, you will be sad.

> B. Is it possible to add other attributes to the RTCCertificate
interface, such as the fingerprint?

Yes. The current form is purposefully minimal. It's easier to add things
than remove them in my experience. If we have enthusiasm for a fingerprint
attribute, I'm not opposed to adding one.
Received on Saturday, 4 July 2015 19:30:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:45 UTC