[Webkit-unassigned] [Bug 124695] New: invalid keygen keytypes are not returning an empty string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 20 18:14:47 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=124695

           Summary: invalid keygen keytypes are not returning an empty
                    string
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: data:text/html, <keygen keytype="notrsa">
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: patrickkettner at gmail.com


If you go to   data:text/html, <keygen keytype="notrsa">, and use javascript to query to keytype, it returns 'notrsa'

According to the spec (http://www.w3.org/TR/2012/WD-html5-20121025/the-keygen-element.html#attr-keygen-keytype), if the keytype is not 'rsa', it should return an empty string. The reasoning is to allow for feature detection on browsers that can't provide native encryption. 

This bug is particular troubling because it means there is no easy way to detect wether or not iOS/Android browsers support encryption.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list