[whatwg] Questions about the keygen element specification

Anne van Kesteren annevk at opera.com
Tue Apr 13 07:37:56 PDT 2010

On Sun, 11 Apr 2010 16:06:06 +0200, Mounir Lamouri  
<mounir.lamouri at gmail.com> wrote:
> First of all, the keytype attribute should specify which algorithm to
> use but it can be in the 'unknown state' and "it is possible for a user
> agent to not support any key types at all.". I do not understand why the
> keygen element would be implemented with no supported keytype. It would
> be really weird and confusing to have a keygen element with no keytype.

This was done as a compromise to Microsoft. That the element is parsed  
consistently and exposes the correct API was considered to be the most  
important if I remember correctly. (More details can be found in the  
public-html at w3.org archives.)

Anne van Kesteren

More information about the whatwg mailing list