On Fennec we have provided our own version of the nsIClientAuthDialogs
interface, so code execution should never hit
nsNSSDialogs::ChooseCertificate [1]. It should instead hit the JS
version at [2]. The reason for this is that attempting to open a XUL
dialog will not work on Fennec because of the native Android
integration; the JS version we use should pop up a native-Android dialog
that is equivalent.
If you see code execution going into [1] please try to provide a
backtrace so that we can figure out why it's going in there and how to
fix it. If you don't want to build Fennec yourself and attach gdb,
please file a bug with the code that's triggering the call to [1] and we
can track it down.
Cheers,
kats
[1]
http://mxr.mozilla.org/mozilla-central/source/security/manager/pki/src/nsNSSDialogs.cpp#222
[2]
http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/NSSDialogService.js#157
On 13-10-09 09:19 , Carl Wallace wrote:
I've had some success with integrating pcscd and libcoolkey with Fennec
and have been able to authenticate using a private key stored on a microSD
card through that stack (though I still have the exceptions issue
mentioned in another thread). I am prompted for a PIN and can
successfully access resources on the server that require client
authentication. However, in order to get the code to present a client
certificate, I had to temporarily hard code a selection index that should
be set by a dialog that is not being displayed. The
nsNSSDialogs::ChooseCertificate function is failing with error code
80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS). Internally, this
function launches a dialog using the nssDialogHelper class as follows:
rv = nsNSSDialogHelper::openDialog(nullptr,
"chrome://pippki/content/clientauthask.xul", block);
Is there a browser configuration or build setting that needs to be changed
in order for this dialog to be displayed?
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev