Bug 1923587 - ship bounce-tracking-protection-exceptions dump in thunderbird. r=tobyp

curl https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/bounce-tracking-protection-exceptions | python -m json.tool | sed 's/    /  /g' | cat > mail/app/settings/dumps/thunderbird/bounce-tracking-protection-exceptions.json

Then add timestamp (as it's are required) and make data an array.

Differential Revision: https://phabricator.services.mozilla.com/D226976

--HG--
extra : amend_source : 2c2899971212502ce53ecbdd458c993c81af5280
This commit is contained in:
Magnus Melin 2024-10-26 12:08:04 +00:00
Родитель b362a74096
Коммит 357934e47d
2 изменённых файлов: 36 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,35 @@
{
"permissions": {},
"data": [
{
"displayFields": [
"siteHost"
],
"id": "bounce-tracking-protection-exceptions",
"last_modified": 1729846879356,
"schema": {
"properties": {
"siteHost": {
"description": "Host of the site to exempt from BTP.",
"title": "Site Host",
"type": "string"
}
},
"required": [
"siteHost"
],
"type": "object"
},
"signature": {
"mode": "p384ecdsa",
"public_key": "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEFWSDB8Jn2oMZDm8vSJrJFJCw5ZaAM5lUMC7JBS42Hkt4w9bXz4E3FDU/Z0Zht/UhrG65q9gPn2x3Tzx/HmreEn/NwapIFA1nC1Kb4kKymmmJikclI5Ts/TssLR6P4NRs",
"ref": "qekuj5xus6501xrg7wleo0gjv",
"signature": "H_9ungcDPfZDDFoDkcroOHw0kZu0zHJamfd2KRG28-nLEHT2U73EZJcddM2-0eCr_2_yuAd-LC3EQnR7S9CI7z4wjY4b-uGP_h4eQJjMAUCsAEciX-TuA-eBk42jml6x",
"signer_id": "remote-settings",
"type": "contentsignaturepki",
"x5u": "https://content-signature-2.cdn.mozilla.net/chains/remote-settings.content-signature.mozilla.org-2024-12-07-16-25-46.chain"
}
}
],
"timestamp": 1729846879356
}

Просмотреть файл

@ -9,6 +9,7 @@
FINAL_TARGET_FILES.defaults.settings.thunderbird += [
"anti-tracking-url-decoration.json",
"bounce-tracking-protection-exceptions.json",
"fingerprinting-protection-overrides.json",
"hijack-blocklists.json",
"password-recipes.json",