Store the credit card security code in the Rust store on Desktop
Categories
(Toolkit :: Form Autofill, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: dimi, Assigned: dimi)
References
(Blocks 1 open bug)
Details
Attachments
(3 external files)
The Desktop half of bug 2076154, which adds an optional encrypted CVV to the Rust autofill store.
With extensions.formautofill.creditCards.storage.rust.active set, the Rust credit card adapter drops cc-csc, so a captured security code is lost and the CVV features do not work. Map cc-csc to the store's CVV field, keep it out of card matching as the JSON store does, and carry it through updates and the migration in both directions.
| Assignee | ||
Comment 1•1 month ago
|
||
Vendor application-services pull request #7631 (bug 2076154, head e5a32d66e1) on
top of #7648, as local revision acaa81e3d. It adds an optional CVV to the Rust
store, encrypted like the number: UpdatableCreditCardFields.cc_cvv in,
CreditCard.cc_cvv out, a v6 schema upgrade adding the column, and a cc-cvv field
in sync payloads.
This must not land; replace it with a plain vendor bump once #7631 merges.
| Assignee | ||
Comment 2•1 month ago
|
||
Map cc-csc to the store's encrypted ccCvv. It stays out of
VALID_CREDIT_CARD_FIELDS, where the JSON store keeps it as an unknown field, so
matching ignores it in both stores. update() keeps an omitted code even without
preserveOldProperties, so a caller that does not handle it cannot drop it; the
empty string clears it. The migration carries the code both ways and compares
an empty one as equal to none.
The CVV browser tests no longer skip under the Rust store.
Depends on D332402
Updated•1 month ago
|
| Assignee | ||
Comment 3•1 month ago
|
||
isAutofillCreditCardCVVSupported now also requires the Rust credit card store
to be active: the JSON store would keep the code in the clear. While it serves,
no CVV option is offered and no new code is stored, and a code it already holds
stays hidden. A profile with a primary password is never migrated, so it does
not get the feature.
The CVV browser tests switch to the Rust store through the new
switchCreditCardStore helper, and new tasks check the JSON store offers none of
it.
Depends on D332403
Updated•1 month ago
|
Updated•1 month ago
|
Comment 6•1 month ago
|
||
Backed out for causing documentation failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/235236f01c997ebd1413fecbb56a13f26f781db4
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
https://hg.mozilla.org/mozilla-central/rev/26b784784db5
https://hg.mozilla.org/mozilla-central/rev/c070a3db4e31
https://hg.mozilla.org/mozilla-central/rev/e2444b402005
Comment 10•1 month ago
|
||
| bugherder | ||
Comment 11•1 month ago
|
||
| bugherder | ||
Comment 12•1 month ago
|
||
Authored by https://github.com/DimiDL
https://github.com/mozilla/enterprise-firefox/commit/2c4c70cd841cf9d6d14294c78d609fa0e07adc1f
[enterprise-main] Bug 2080179 - P1. Vendor application-services bf6e952d for credit card CVV storage r=joschmidt
Authored by https://github.com/DimiDL
https://github.com/mozilla/enterprise-firefox/commit/91939a039c4e153afa02121fd079e9c2943f04c3
[enterprise-main] Bug 2080179 - P2. Store the credit card security code in the Rust store on Desktop r=credential-management-reviewers,NeilDeakin,joschmidt
Authored by https://github.com/DimiDL
https://github.com/mozilla/enterprise-firefox/commit/5d41bc07dec206ad511c2689f4b01ab74516c308
[enterprise-main] Bug 2080179 - P3. Only support credit card security codes while the Rust store is serving r=joschmidt,credential-management-reviewers
Authored by https://github.com/smolnar-sheriff
https://github.com/mozilla/enterprise-firefox/commit/91e559a5ac319f1accc78496910f79dc6e87d007
[enterprise-main] Revert "Bug 2080179 - P3. Only support credit card security codes while the Rust store is serving r=joschmidt,credential-management-reviewers" for causing documentation failures.
(via GitHub webhook, authenticated as shared-secret)
Updated•29 days ago
|
Description
•