aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/msteams
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-10 22:36:41 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-10 22:36:41 +0530
commit62599c06f4b2039219e282b34a51a4ff4fbe5e67 (patch)
tree037967c2cd2fad3b600066deab376ab613b90f58 /recipes/msteams
parentadd caching of pnpm modules; do not install recursively since it causes a fai... (diff)
downloadferdium-recipes-62599c06f4b2039219e282b34a51a4ff4fbe5e67.tar.gz
ferdium-recipes-62599c06f4b2039219e282b34a51a4ff4fbe5e67.tar.zst
ferdium-recipes-62599c06f4b2039219e282b34a51a4ff4fbe5e67.zip
Turning off the certificate whitelisting in ms-teams since that can cause an MITM attack.
Diffstat (limited to 'recipes/msteams')
-rw-r--r--recipes/msteams/index.js23
-rw-r--r--recipes/msteams/package.json2
2 files changed, 13 insertions, 12 deletions
diff --git a/recipes/msteams/index.js b/recipes/msteams/index.js
index 5af7b5f..941db72 100644
--- a/recipes/msteams/index.js
+++ b/recipes/msteams/index.js
@@ -3,15 +3,16 @@ module.exports = Ferdi => class MicrosoftTeams extends Ferdi {
3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); 3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim();
4 } 4 }
5 5
6 // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution 6 // TODO: Commenting out since this can expose the user to a MITM attack. Before this can be turned on, we will need to put in some safeguards/warnings that the user can explicitly accept the security ramifications
7 knownCertificateHosts() { 7 // // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution
8 return [ 8 // knownCertificateHosts() {
9 'microsoft.com', 9 // return [
10 'microsoftonline.com', 10 // 'microsoft.com',
11 'teams.skype.com', 11 // 'microsoftonline.com',
12 'teams.microsoft.com', 12 // 'teams.skype.com',
13 'sfbassets.com', 13 // 'teams.microsoft.com',
14 'skypeforbusiness.com', 14 // 'sfbassets.com',
15 ]; 15 // 'skypeforbusiness.com',
16 }; 16 // ];
17 // };
17}; 18};
diff --git a/recipes/msteams/package.json b/recipes/msteams/package.json
index 1198de2..10fb69b 100644
--- a/recipes/msteams/package.json
+++ b/recipes/msteams/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "msteams", 2 "id": "msteams",
3 "name": "Microsoft Teams", 3 "name": "Microsoft Teams",
4 "version": "3.1.3", 4 "version": "3.1.4",
5 "license": "MIT", 5 "license": "MIT",
6 "aliases": [ 6 "aliases": [
7 "teamsChat" 7 "teamsChat"