<div dir="ltr">Thanks for your follow up about long silence issue.<br><br>In my understanding, the implementation guide of browsers is most important part of HTML5.<br><br>As
you know, web browsers have offered the authentication of client
certificate over SSL per web site. It is widely used by many companies
and universities based on VeriSign products or private CA such as MIT.
It's more secure than traditional id and password system. It's surely
part of user experience of web browser based on PKI technology.<br>
<br>In addition, as following requirement has been widely used in
European and Asian country with national PKI system for financial
transactions. All of them are required of plugin based tool such as
active x and java applet. Why do that? Because there is no function in
browsers to handle them.<br>
<br>The national PKI system has own certificate issuing process to
citizen with face-to-face meeting. And it requires to "submit ones
client certificate" for e-government and financial transaction with
"digital signature" per each signature. <br>
<br>"submit ones client certificate" is traditional SSL authentication
and "digital signature" is new requirement. In fact, ActiveX and Java
plugin are needed for digital signature. <br><br>But, digital
signature is not new one for web browsers. We already knew and
experienced it by Netscape's crypto.signText() and Microsoft CAPICOM
dll. If digital signature was required in old browser with
cryto.signText, the browser prompted windows that get password of
"client certificate". After authentication, it returned encrypted
message signed by client certificate.<br>
<br>If we can submit returned encrypted message in form via SSL, the
technical requirement is sufficient for all national PKI system.
Especially, Camellia (Japanese and European official cryptographic
algorithm) already implemented in Open SSL for web browsers. Most of
them is ready. <br>
<br>I just wanted to make implementation guide of "digital signature"
in HTML5. If form has signed attribute, web browsers must prompt same
window of crypto.signText action and encrypt form data with digital
signature, and return it into "signedmessage" hidden value. If signed
form is submitted to server via SSL, web server can decrypt form data
signed by client certificate and check validation and insured
transaction by each country's law. <br>
<br>It's very simple process and actually these are now processed by
many country. At last, there is no function and guideline of digital
signature in web browser, they cannot help using ActiveX and Java
plugin. <br><br>
I think HTML5 must be actual solution in actual problem like this. New
standards such as IETF or W3C XSIG are not good solution for real
problem right now. Please add sign attribute in form and guide to add
digital signature function as like crypto.signText action in HTML 5. If
others want to make spec. of more secure than browser based digital
signature in HTML5, it can go to IETF or other body.<br>
<br>Please reconsider that.<br><font color="#888888"><br>Channy</font><br><br><div class="gmail_quote">On Thu, Jul 31, 2008 at 7:19 PM, Channy Yun <span dir="ltr"><<a href="mailto:channy@creation.net">channy@creation.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Thanks for your follow up about long silence issue.<br><br>In my understanding, the implementation guide of browsers is most important part of HTML5.<br>
<br>As you know, web browsers have offered the authentication of client certificate over SSL per web site. It is widely used by many companies and universities based on VeriSign products or private CA such as MIT. It's more secure than traditional id and password system. It's surely part of user experience of web browser based on PKI technology.<br>
<br>In addition, as following requirement has been widely used in European and Asian country with national PKI system for financial transactions. All of them are required of plugin based tool such as active x and java applet. Why do that? Because there is no function in browsers to handle them.<br>
<br>The national PKI system has own certificate issuing process to citizen with face-to-face meeting. And it requires to "submit ones client certificate" for e-government and financial transaction with "digital signature" per each signature. <br>
<br>"submit ones client certificate" is traditional SSL authentication and "digital signature" is new requirement. In fact, ActiveX and Java plugin are needed for digital signature. <br><br>But, digital signature is not new one for web browsers. We already knew and experienced it by Netscape's crypto.signText() and Microsoft CAPICOM dll. If digital signature was required in old browser with cryto.signText, the browser prompted windows that get password of "client certificate". After authentication, it returned encrypted message signed by client certificate.<br>
<br>If we can submit returned encrypted message in form via SSL, the technical requirement is sufficient for all national PKI system. Especially, Camellia (Japanese and European official cryptographic algorithm) already implemented in Open SSL for web browsers. Most of them is ready. <br>
<br>I just wanted to make implementation guide of "digital signature" in HTML5. If form has signed attribute, web browsers must prompt same window of crypto.signText action and encrypt form data with digital signature, and return it into "signedmessage" hidden value. If signed form is submitted to server via SSL, web server can decrypt form data signed by client certificate and check validation and insured transaction by each country's law. <br>
<br>It's very simple process and actually these are now processed by many country. At last, there is no function and guideline of digital signature in web browser, they cannot help using ActiveX and Java plugin. <br>
<br>
I think HTML5 must be actual solution in actual problem like this. New standards such as IETF or W3C XSIG are not good solution for real problem right now. Please add sign attribute in form and guide to add digital signature function as like crypto.signText action in HTML 5. If others want to make spec. of more secure than browser based digital signature in HTML5, it can go to IETF or other body.<br>
<br>Please reconsider that.<br><font color="#888888"><br>Channy</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Jul 31, 2008 at 10:21 AM, Ian Hickson <span dir="ltr"><ian@hixie.ch></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Over the years a number of e-mails have been sent to the list about<br>
signatures and other public key cryptography topics, most of which are<br>
quoted below.<br>
<br>
For a number of reasons, not least of which my lack of expertise in the<br>
area, the size of the HTML5 spec today, and the low level of demand for<br>
these features, I have decided to not cover this topic in HTML5, and<br>
instead rely on other groups to define these features.<br>
<br>
I include a representative sampling of the e-mails sent to the WHATWG on<br>
the topic below, so that if anyone wishes to work on this topic, they can<br>
use this feedback. I encourage people interested in this topic to approach<br>
the IETF, where work on these issues has historically taken place.<br>
<br>
On Sun, 29 Oct 2006, Anders Rundgren wrote:<br>
><br>
> It is equally interesting that W3C intends to start a new browser<br>
> authentication WG but have excluded digital signatures and key<br>
> provisioning from the charter in spite of the fact that about 10M people<br>
> today have to use proprietary browser-plugins in order to get their work<br>
> done. Maybe an answer to that is that this is only happening in the EU<br>
> which in this particular space is roughly 5 years ahead of the US<br>
> government and financial industry.<br>
<br>
On Mon, 30 Oct 2006, Michael(tm) Smith wrote:<br>
><br>
> The use of proprietary mechanisms (mostly ActiveX controls) for digital<br>
> signatures is common in Korean sites as well, including Korean<br>
> government sites.<br>
<br>
On Mon, 30 Oct 2006, Anders Rundgren wrote:<br>
><br>
> That's right. They sure are proprietary; I was not even able to get the<br>
> Korean e-goverment signature spec since it is "secret"!<br>
<br>
On Tue, 31 Oct 2006, Channy Yun wrote:<br>
><br>
> Korean mechanism is same with general pki's. Its structure has been<br>
> followed by pki standards and browser user-interface for certificates.<br>
> The different things has own 128bit cryptography algorithm so called<br>
> SEED and adds digital signature for messages to be legal authorizing.<br>
> This spec is not secret and gives in <a href="http://www.rootca.or.kr/maine.jsp" target="_blank">http://www.rootca.or.kr/maine.jsp</a><br>
<br>
On Mon, 30 Oct 2006, Anders Rundgren wrote:<br>
><br>
> I may have been careless but I could not find the spec of the activeX<br>
> control (or similar) that is what I refer to as the proprietary<br>
> solution.<br>
><br>
> I may also have confused Korea with Hongkong who definitely claimed that<br>
> their scheme requires an NDA. The same goes for the Australian scheme<br>
> which is not public.<br>
><br>
> BTW, the Swedish and Norwegian government's signature systems are also<br>
> secret since they are developed by banks.<br>
<br>
On Wed, 1 Nov 2006, Channy Yun wrote:<br>
><br>
> As you said, we may not get sufficient informations to standardize<br>
> digital signature. But, in case of Korea, I'll sufficiently give them.<br>
> The spec. and interface are almost standardized by governmental rules to<br>
> all vendors.<br>
><br>
> In Korea, the own cryptic algorithm has been encouraged, so vendors<br>
> couldn't use browser-implemented things such as DES. This is first<br>
> reason to use activex controls.<br>
><br>
> Second is for digital signature. Legally, all data must be signed by<br>
> user's key. When the money is sent, it needs to know who sends the<br>
> money. So activex control has almost same user interface with browser's<br>
> certificate manager.<br>
><br>
> When an user enters an internet banking site, activex are embedded.<br>
> User's data by action go to activex control and are encrypted by SEED<br>
> and signed by user's key. Encrypted and signed data gives hidden form in<br>
> web page again. When an user submit it, the data were transferred to web<br>
> server. The server-side application decrypts and verifies the data and<br>
> proceeds proper actions. Web server transfers the web page by requested<br>
> actions.<br>
><br>
> First thing is not standardized. National algorithm such as SEED or<br>
> Camella is problems between browser vendor and its governments. Second<br>
> can be done such as (re)issue and revocation of personal certificates,<br>
> the digital signature such as old crypto.sign.Text().<br>
><br>
> As following is one of this efforts.<br>
> <a href="http://middleware.internet2.edu/pki06/proceedings/rundgren-websigning.ppt" target="_blank">http://middleware.internet2.edu/pki06/proceedings/rundgren-websigning.ppt</a><br>
<br>
On Wed, 1 Nov 2006, Channy Yun wrote:<br>
><br>
> As I said in other thread, I think digital signature must be<br>
> standardized for secure and legal assurance of form data and I respect<br>
> your issuing and great jobs. But, we can simply think this issue in<br>
> range of this group. Most of forms directly go to web server via<br>
> urlencoded. If some indicators are given, browsers can execute signing<br>
> process.<br>
><br>
> For example,<br>
><br>
> <form name="sendmoney" action="/send.cgi" signed="signed"><br>
> <input type="text" name="dollars" value="3.00"><br>
> <input type="text" name="account" values="1234567890"><br>
> <input type="submt" value="Sending Money!"><br>
> </form><br>
><br>
> When an user clicks submit button, the dialog box will be opened for<br>
> selecting the private certificates to be signed. Server can understand<br>
> form data and attached signatures signed by browser via SSL.<br>
><br>
> Or it can be applied each forms.<br>
><br>
> <input type="text" name="dollars" value="3.00" signed="signed"><br>
><br>
> Anyway it is browser's the function of digital signature such as<br>
> sign.Text() function. This idea make possible to handle easily them via<br>
> form.<br>
<br>
On Tue, 31 Oct 2006, Anders Rundgren wrote:<br>
><br>
> May I try to explain how I look on web-forms and digital signatures?<br>
><br>
> Most people indeed come up with schemes like the one you described<br>
> because it seems so obvious.<br>
><br>
> I work with a different concept which is not really form-oriented, but<br>
> rather view-oriented. This is borrowed from what most e-commerce sites<br>
> use today. First you create an order using arbitrary web methods<br>
> including <form>. Then you typically input credit card data etc.<br>
> Eventually you are faced with a consolidate/aggregated purchase<br>
> transaction request which typically is just an HTML page with *static*<br>
> information plus an "OK" button. When you hit OK, you do not send the<br>
> HTML page, only an acknowledge of the request you had on the screen.<br>
> Now, how does this map into digital signatures? The basic difference<br>
> with respect to the OK button is that the returned result contains a<br>
> signature over the view. The actual (internal) transaction data is<br>
> typically not signed since it is<br>
><br>
> - already is known in advance by the server otherwise<br>
> it wouldn't have been able to create a view to the user.<br>
><br>
> - may not have any visual representation at all.<br>
><br>
> What's more, the service also does its own calculation of message<br>
> digests of the transaction request view and is thus able to immediately<br>
> verify not only the signatures validity but that the user actually had<br>
> the proper content in his/her browser. The signature is subsequently<br>
> stored close to the real transaction record for supporting unlikely (but<br>
> possible), future dispute resolutions.<br>
><br>
> There is an inherent problem with your suggested form:<br>
><br>
> <form name="sendmoney" action="/send.cgi" signed="signed"><br>
> <input type="text" name="dollars" value="3.00"><br>
> <input type="text" name="account" values="1234567890"><br>
> <input type="submt" value="Sending Money!"></form><br>
><br>
> because in a real-world case it would probably read:<br>
><br>
> <form name="sendmoney" action="/send.cgi" signed="signed"><br>
> <input type="text" name="dollars"><br>
> <input type="text" name="account"><br>
> <input type="submt" value="Sending Money!"></form><br>
><br>
> which means that you sign data that has not first passed a server's<br>
> validation. Although XForms can do validation, I doubt XForms are<br>
> suitable for anything but simple applications. Server-based validation<br>
> can also cope with transactional issues that XF can't like bookings.<br>
><br>
> Also I wonder what you meant should be sent to the server. The signed<br>
> attributes only? I think this is a half-baked idea since the rest of<br>
> the document may contain important data that could affect the user's<br>
> decision to sign th data. The "fine print" for example :-) If you sign<br>
> a house contract you don't sign the sales value but a lot of text and<br>
> conditions. Digital signatures should IMHO afhere to this notion.<br>
><br>
> In case there would be embedded objects like CSS or IMG in the HTML page<br>
> holding the <form> they should also in some way be signed? Now we have<br>
> a brand new format: Signed HTML. WASP does not need any specific signed<br>
> HTML because its method is a bit like S/MIME although in XML.<br>
><br>
> In addition to that there are some cryptographic stuff that needs to be<br>
> addressed which makes the rather innocent "signed" attribute grow quite<br>
> a bit. If you look on the WASP CertificateFilter it is a good example<br>
> of how complex it can be to sign.<br>
><br>
> We also need an attachment feature. It is a bit unclear how that could<br>
> be met with a <form> based approach unless all input is done in a single<br>
> form which would be very constraining.<br>
><br>
> To not be stuck with HTML but also allow MS office, PDF Open Document we<br>
> also need some other mechanism.<br>
><br>
> This is at least how WASP was conceived<br>
><br>
> In case you have an example of a Korean HTML signature, I would be happy<br>
> to get a copy.<br>
<br>
On Wed, 1 Nov 2006, Alexey Feldgendler wrote:<br>
><br>
> What benefit does this provide over simply using HTTPS with a<br>
> client-side certificate?<br>
<br>
On Wed, 1 Nov 2006, Channy Yun wrote:<br>
><br>
> Using HTTPS with a client-side certificate doesn't support digital<br>
> signature.The digital signature is same with the signing or stamp of<br>
> contract in real world. Many governments encourage to add digital<br>
> signature to transactional data (form data). It legally assures data and<br>
> transactions signed(added digital signature) by user's certificates.<br>
<br>
On Wed, 1 Nov 2006, Alexey Feldgendler wrote:<br>
><br>
> The purpose of a digital signature is to certify that the data submitted<br>
> by the client were not forged by an attacker. HTTPS with a client-side<br>
> certificate ensures the same.<br>
<br>
On Thu, 2 Nov 2006, Anders Rundgren wrote:<br>
><br>
> Digital signatures is as you say just a variation of authentication.<br>
> The things that the DS people wants to add are:<br>
><br>
> - A "process" that differs from authentication from the user's point of<br>
> view<br>
><br>
> - A persistent trace of the authenticated operation. This is what the<br>
> signature adds to the picture. HTTPS with client-side certificates have<br>
> no connection to content data since it occurs at the transport level.<br>
> Digital signatures are created at the application-level in the schemes<br>
> that Channy and I talk about.<br>
><br>
> But it is a fact that strong authentication is an alternative to digital<br>
> signatures but some of use are trying to change that, not only for legal<br>
> reasons but for making a difference between "login" and "accept".<br>
<br>
[...]<br>
<font color="#888888"><br>
--<br>
Ian Hickson U+1047E )\._.,--....,'``. fL<br>
<a href="http://ln.hixie.ch/" target="_blank">http://ln.hixie.ch/</a> U+263A /, _.. \ _\ ;`._ ,.<br>
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'<br>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>