the_glu wrote:

It's exist, it's called FireGPG api.

Checkout svn repository and have a look at api_client dir wink

Thank you! I checkout the api_client right now.

Thank for the authors of FireGPG.  Your great work inspires an idea in web authentication of mine.

The brief concept is using private/public key to login a web application just like ssh authentication of Linux server.  Before create an account, the user should upload his/her public PGP key into web server.

When the user needs to login web application, he/she must uses private key to sign a message the server offer.  After verify the signed message, the user get the authentication.  You can browse my experimental web application (https://pgpauth.hoamon.info) to get the idea.

My question is:
Was any html code(or javascript) defined by fireGPG to sign a message automatically in any web application(not only Gmail).  In other words, users can only press a button to get two events(sign the message and submit the signed message) in the same time.

If it is not defined, is any possible to create?