osclientcerts: implement RSA-PSS fallback for tokens that don't support it
Categories
(Core :: Security: PSM, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: pros, Assigned: keeler)
References
(Blocks 1 open bug)
Details
(Whiteboard: [psm-assigned])
Attachments
(7 files, 3 external files, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
Steps to reproduce:
We have an issue with Firefox 90.0.2 on macOS (in this case 11.5, Big Sur) where we are encountering failed smartcard authentications. During the authentication step, Firefox displays the 'certificate selection' dialog but no 'PIN code request' dialog.
Authentication succeeds if we use the Chrome browser on this site with the same smartcard.
We also see the same problem on Windows, and again, Chrome works OK.
Actual results:
Authentication fails
Expected results:
A supported algorithm should be selected
Comment 3•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Security: PSM' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
| Assignee | ||
Comment 4•5 years ago
|
||
What version of TLS are you negotiating when you connect to the site? Does it work if you restrict Firefox or the site to using TLS 1.2?
| Assignee | ||
Comment 6•5 years ago
|
||
Could you try out this build and let me know how it behaves? Thanks! https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/f-3-JFh5SwetU-j-9drD-g/runs/0/artifacts/public/build/target.dmg
Hi Dana.
I have just tested the version you sent and it works OK on macOS Catalina. Tokendriver (osclientcerts=true) and our PKCS#11 module (osclientcerts=false) are both OK. I have uploaded log files from the Nightly version you asked me to test and also one from Firefox 91esr for comparison.
Thanks.
| Assignee | ||
Comment 10•5 years ago
|
||
This was previously attempted in bug 1658042, but the library function that
this relies on (SecKeyIsAlgorithmSupported) was causing OS dialogs to appear on
our test machines, so it wasn't a viable option. Something seems to have
changed in the meantime (perhaps these dialogs were a bug in macOS?), and now
the function works as expected without dialogs.
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
| bugherder | ||
Comment 13•5 years ago
•
|
||
I had updated Firefox nightly yesterday, and all was fine, but this morning I updated Firefox Nightly and cannot seem to get out of a loop of popups saying "Firefox Nightly wants to export your key ... from your keychain."
I will add a couple of pictures of the popup.
I'm on MacOS Catalina version 10.15.7 (19H1323) -- so up to date for Catalina.
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
Backed out for causing UI prompts on macOS pre-Big Sur.
Comment 18•5 years ago
|
||
Backout merged to central https://hg.mozilla.org/mozilla-central/rev/e497c200597e9ac68c4aba1ceed5b4a004aa0577
Comment 19•5 years ago
|
||
Just FYI that I had to delete my previous copy of Firefox Nightly and reinstall it using https://www.mozilla.org/en-US/firefox/channel/desktop/
Now Firefox Nightly is working for me again.
Comment 20•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:keeler, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 21•5 years ago
|
||
This bug is blocked on a platform issue.
| Reporter | ||
Comment 22•4 years ago
|
||
Hi Dana. Firefox 94.0.1 still has this problem (tested on on macOS Big Sur). Can you let me know what the situation is with this please. Can a definitive solution be found for this issue? Thanks.
| Assignee | ||
Comment 23•4 years ago
|
||
This bug is blocked on a platform (i.e. macOS) issue. In the meantime, you could remove the RSA-PSS signature schemes from the server's certificate request message.
Comment 24•4 years ago
|
||
Hi,
Is someone can give me the instructions to remove the RSA-PSS signature schemes from the server's certificate request message please ?
Thxs
Updated•4 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 25•1 year ago
|
||
| Assignee | ||
Comment 26•1 year ago
|
||
| Assignee | ||
Comment 27•1 year ago
|
||
Comment 28•1 year ago
|
||
Comment 29•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/752e2c2da4e2
https://hg.mozilla.org/mozilla-central/rev/953bc51c898e
https://hg.mozilla.org/mozilla-central/rev/a7aac4ce7cb7
Description
•