keygen

keygen

[1] 暗号鍵を生成する要素 (FormControl) です。 form 要素の子孫となります。強制空要素です。

[43] この要素非推奨とされています。

仕様書

意味

[37] keygen 要素は、公開鍵暗号方式で用いるの組を生成することを Webブラウザーに求めるフォーム制御子です。

[36] keygen 要素を含むフォームの提出を行うと、 新しい公開鍵秘密鍵の組が生成され、 サーバーには公開鍵が、 Webブラウザー証明書データベースには秘密鍵が保存されます。

[38] サーバーは、受信した公開鍵を使ってTLSクライアント認証のためのクライアント証明書発行し、 証明書ダウンロードによってWebブラウザー証明書データベースに登録させることが期待されています。

[39] CSR とは違って公開鍵しか含まれないので、それだけでは証明書を発行するのに十分な情報ではないかもしれません。 証明書の各欄に含める情報は他のフォーム制御子などから得ることが想定されているようです。

歴史

[29] NN3+, Opera 3 が対応しています。

[7]

状態
非標準
局所名
keygen (key generation (鍵生成) からか?)
開始タグ
必須
終了タグ
禁止
内容モデル
EMPTY
出現できる文脈
行内要素としてか?
属性
属性名属性値既定値説明状態出典
challenge英数字?空文字列誰何文字列[NN3]
keytypeDSA
namehtml-name必須名前[NN3]
pqg[Moz]

入力欄を提出すると、他の form control 同様に、 (appication/x-www-form-urlencoded なら) name=key 形式で送信されます。但し、 key は鍵を Base64 符号化したものです。

NNMozilla の実装では、鍵長を選択する PullDownList で表示されます。

[5] Safari も実装しています。

[6] 標準化について、 Ian Hickson(もう確定している) Web Forms 2.0 に入ることは無いが、Web Forms 3.0 に入れる候補として検討することは可能だ と述べています。 (名無しさん [sage] 2005-11-20 11:53:29 +00:00)

[8] Gecko では、構文解析時に _moz-type 属性-mozilla-keygenselect 要素に置き換えられます。 その内容option 要素 (内容自然言語依存) になります。

(名無しさん [sage] 2005-11-29 04:15:07 +00:00)

[9] PRB: HTML タグ Internet Explorer でサポートされていない KEYGEN ( 版) <http://support.microsoft.com/kb/190282>

[10] [whatwg] <keygen> element ( 版) <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-July/015300.html>

[11] IRC logs: freenode / #whatwg / 20090407 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20090407>

[12] (X)HTML5 Tracking ( 版) <http://html5.org/tools/web-apps-tracker?from=2959&to=2960>

[13] (X)HTML5 Tracking ( 版) <http://html5.org/tools/web-apps-tracker?from=3842&to=3843>

[14] IRC logs: freenode / #whatwg / 20090907 ( 版) <http://krijnhoetmer.nl/irc-logs/whatwg/20090907#l-654>

[15] (X)HTML5 Tracking ( 版) <http://html5.org/tools/web-apps-tracker?from=4280&to=4281>

[16] [whatwg] Headings and sections, role of H2-H6 ( 版) <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-April/026130.html>

[17] <keygen> element (was RE: Implementor feedback on new elements in HTML5) (Adrian Bateman 著, 版) <http://lists.w3.org/Archives/Public/public-html/2009Sep/0043.html>

[18] [whatwg] Questions about the keygen element specification ( 版) <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-July/027411.html>

[19] IRC logs: freenode / #whatwg / 20140212 ( ( 版)) <http://krijnhoetmer.nl/irc-logs/whatwg/20140212#l-931>

[20] WebID-TLS ( ( 版)) <https://dvcs.w3.org/hg/WebID/raw-file/tip/spec/tls-respec.html#h4_certificate-creation>

[21] Web Applications 1.0 r8560 Add some info about keygen. ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8559&to=8560>

[22] NSS Certificate Download Specification | MDN ( ( 版)) <https://developer.mozilla.org/en-US/docs/NSS_Certificate_Download_Specification>

[24] Switch to HTTPS Now, For Free ( (Eric Mill 著, 版)) <https://konklone.com/post/switch-to-https-now-for-free>

[25] Netscape Extensions for User Key Generation ( 版) <http://web.archive.org/web/19990129075540/http://www.home.netscape.com/eng/security/comm4-keygen.html>

[26] Netscape Extensions for User Key Generation ( 版) <http://web.archive.org/web/19990129031457/http://www.home.netscape.com/eng/security/ca-interface.html>

[27] Issue 148 - chromium - browser does not send valid certification requests for creating SSL client certificates - An open-source project to help move the web forward. - Google Project Hosting ( 版) <https://code.google.com/p/chromium/issues/detail?id=148>

[28] Netscape Extensions for User Key Generation ( 版) <http://web.archive.org/web/19970709164001/http://home.netscape.com/eng/security/ca-interface.html>

[33] HTML Tag Reference ( 版) <http://web.archive.org/web/20010606132221/http://developer.netscape.com/docs/manuals/htmlguid/tags10.htm#1615503>

[34] ( 版) <http://web.archive.org/web/20060929031003/http://www.alw.nih.gov/pki/docs/ns-ca.txt>

The browser uses the public key encoded in the certificate to

associate the certificate with the appropriate private key in

its local key database. Now, the certificate is "installed".

[35] Issue 37142 - chromium - Intermediate certs received along with generated client cert will not be saved - An open-source project to help move the web forward. - Google Project Hosting ( 版) <https://code.google.com/p/chromium/issues/detail?id=37142>

[40] Deprecate <keygen> and appcache · whatwg/html@1b43806 ( 版) <https://github.com/whatwg/html/commit/1b438067d84da2ee95988842cdd8fe2655444936>

[41] Deprecate <keygen> · Issue #67 · whatwg/html ( 版) <https://github.com/whatwg/html/issues/67>

[42] Agenda: <keygen> being destroyed when we need it (Tim Berners-Lee 著, 版) <https://lists.w3.org/Archives/Public/www-tag/2015Sep/0000.html>

[44] 13518 – "The keygen element": The only supported signature algorithm is the outdated and insecure md5WithRSAEncryption. The element should at least have an optional signature algorithm, with the option to use the more secure sha1WithRSAEncryption and sha256WithRS ( 版) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=13518>

[45] Keygen and Client Certificates ( 版) <https://w3ctag.github.io/client-certificates/>

[46] Remove the concept of CSS Bindings (annevk著, ) <https://github.com/whatwg/html/commit/6c96beabfa41d6d28ab23633966b82c5cdb9fd94>

[47] debian-sso/debian-sso - Git repository for debian-sso () <https://anonscm.debian.org/cgit/debian-sso/debian-sso.git/tree/spkac/templates/spkac/enroll.html>

<p>Enrollment type: <keygen name="key" challenge="{{challenge}}" keytype="rsa"></p>

[48] Expand on the <keygen> removal and deprecation (domenic著, ) <https://github.com/whatwg/html/commit/8a85d1742d9ac9be17f79f8087898147209d354c>

[49] Add keygen to the list of elements with special parsing rules (domenic著, ) <https://github.com/whatwg/html/commit/69be72ebb1872710b68a7e73c9b88e3e80b40722>

[50] Remove <keygen> (domenic著, ) <https://github.com/whatwg/html/commit/5baa38720f6e83c94a50018c4565808ad548d69c>

[51] Remove <keygen> (domenic著, ) <https://github.com/whatwg/html/commit/5baa38720f6e83c94a50018c4565808ad548d69c>

[52] API Deprecations and Removals in Chrome 57  |  Web  |  Google Developers () <https://developers.google.com/web/updates/2017/02/chrome-57-deprecations?utm_source=feed&utm_medium=>