Remember option on certificate requests on1.6
Posted by: JohnHell
Date: January 21, 2011 04:50AM

Could be possible to change the option to be, by default, not checked?

I don't want the browser to remember... I perfer to do manually and more when I have more than 1 certificate.



Edited 3 time(s). Last edit at 01/21/2011 05:02AM by JohnHell.

Re: Remember option on certificate requests on1.6
Posted by: desga2
Date: January 22, 2011 07:10PM

Where is this option?

K-Meleon in Spanish

Re: Remember option on certificate requests on1.6
Posted by: JohnHell
Date: January 22, 2011 10:46PM

A ver, en español, que así nos entendemos mejor, ya que sueles ser el más activo por aquí.

Desga, ¿usas el certificado digital de la FNMT? (el equivalente al DNI-e, pero sin necesidad de lector) o, da igual, ¿el DNI-e?

Bueno, si tú accedes a cualquier página que requiera un certificado (he dicho el DNI-e y el de la FNMT, porque son los nuestros, los españoles, y así nos entendemos mejor) te saldrá la ventana pidiendo el certificado (por ejemplo, la DGT), bien, pues cuando sale la ventana de petición de certificado, está marcada la opción de recordar SIEMPRE el mismo certificado (lo he puesto marcado en rojo) y es muy molesto que esté así, porque si tienes más de un certificado, como es mi caso, tienes que andar desmarcándola todas las veces.

Es como el caso de la ventana de petición de cookies, cuando lo tienes para preguntar, que siempre tienes que desmarcar el que recuerde la opción, porque siempre que inicias el navegador, vuelve a aparecer marcada. Pero al menos la de cookies, cada vez que te pregunta, no tienes que andar desmarcándola. Con el de certificados, cada vez que sale la ventana.

Que ya puestos, si se puede corregir la de las cookies, aunque esto, creo recordar, no se podía, pues... mejor ;)

Captura de la ventana, para que se entienda:





Edited 1 time(s). Last edit at 01/22/2011 10:47PM by JohnHell.

Re: Remember option on certificate requests on1.6
Posted by: desga2
Date: January 30, 2011 09:05PM

Gracias por la explicación y por la imagen.
Veré que se puede hacer al respecto.

Saludos.

K-Meleon in Spanish

Re: Remember option on certificate requests on1.6
Posted by: JohnHell
Date: December 07, 2011 04:07AM

And the fix (in some way, is sad to dig a lot for these things):

user_pref("security.remember_cert_checkbox_default_setting", false);

If JamesD is reading this, and consider this as default option for users (disable the checkbox to remember certificate by default), just include the above in your "defaults\profile\prefs.js" file for the releases you are making smiling smiley



Edited 1 time(s). Last edit at 12/07/2011 04:07AM by JohnHell.

Re: Remember option on certificate requests on1.6
Posted by: JamesD
Date: December 07, 2011 04:33AM

I will add this to the root\defaults\pref\kmeleon.js file. It will be the last lines at the end of the file.

// Certificates
pref("security.remember_cert_checkbox_default_setting", false);

That does not exist in any other file as 'true', does it?

Re: Remember option on certificate requests on1.6
Posted by: JohnHell
Date: December 07, 2011 04:56AM

What exists by default, where I found the pref, is inside embed.jar, in the file clientauthask.js.

If it resets on first run to true (the value set via that file) or Kmeleon.js, is beyond me. You have more knowledge on that smiling smiley

I think kmeleon.js would be enough (I didn't dig that file until now, hehe)

Re: Remember option on certificate requests on1.6
Posted by: JamesD
Date: December 07, 2011 07:00AM

@ JohnHell

Make the change that I posted and then start KM. See which way the checkbox is the first time you go there.

Re: Remember option on certificate requests on1.6
Posted by: JohnHell
Date: December 07, 2011 08:16AM

It applies correctly and sets as default to false, and it isn't considered as user toggled pref smiling smiley (you know, bold pref)



Edited 1 time(s). Last edit at 12/07/2011 08:16AM by JohnHell.

Re: Remember option on certificate requests on1.6
Posted by: JamesD
Date: December 07, 2011 09:25AM

And that is the result that you wanted, right?

Re: Remember option on certificate requests on1.6
Posted by: JohnHell
Date: December 08, 2011 02:02AM

Yes smiling smiley

EDIT: long story ;) as I use 2 certificates for the same sites, it was annoying to uncheck the option of remember the certificates each time.



Edited 1 time(s). Last edit at 12/08/2011 02:04AM by JohnHell.

K-Meleon forum is powered by Phorum.