Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private key of keygen tag

The key-pair generator generates two keys, one private and one public. The private key is stored on the client, and the public key is sent to the server. The private key generated by the <keygen> tag is automatically stored by the browser. How can I retrieve it?

like image 539
user1168647 Avatar asked Jan 31 '12 07:01

user1168647


People also ask

What is keygen tag in HTML?

The <keygen> tag in HTML is used to specify a key-pair generator field in a form. The purpose of <keygen> element is to provide a secure way to authenticate users. When a from is submitted then two keys are generated, private key and public key. The private key stored locally, and the public key is sent to the server.

Where are the keys stored which has been generated using keygen element?

The <keygen> form field creates a Public Key / Private Key pair. Private Key is encrypted (based on the choice) and stored in the Local Key Database.

Could you generate a public key in HTML?

You can easily generate a public key using the <keygen> tag in HTML. The <keygen> element generates an encryption key for passing encrypted data to a server. The purpose of the <keygen> element is to provide a secure way to authenticate users.


1 Answers

Well I don't know if that is good idea. keygen is not supported in IE (IE always messes things up) and there are people who still use IE. However, if you need an encryption key, I found this post here. There are a couple of good answers there.

like image 129
Lysol Avatar answered Oct 16 '22 14:10

Lysol