diff options
author | 2021-09-10 22:36:41 +0530 | |
---|---|---|
committer | 2021-09-10 22:36:41 +0530 | |
commit | 62599c06f4b2039219e282b34a51a4ff4fbe5e67 (patch) | |
tree | 037967c2cd2fad3b600066deab376ab613b90f58 | |
parent | add caching of pnpm modules; do not install recursively since it causes a fai... (diff) | |
download | ferdium-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.
-rw-r--r-- | all.json | 2 | ||||
-rw-r--r-- | recipes/msteams/index.js | 23 | ||||
-rw-r--r-- | recipes/msteams/package.json | 2 |
3 files changed, 14 insertions, 13 deletions
@@ -885,7 +885,7 @@ | |||
885 | "featured": false, | 885 | "featured": false, |
886 | "id": "msteams", | 886 | "id": "msteams", |
887 | "name": "Microsoft Teams", | 887 | "name": "Microsoft Teams", |
888 | "version": "3.1.3", | 888 | "version": "3.1.4", |
889 | "aliases": [ | 889 | "aliases": [ |
890 | "teamsChat" | 890 | "teamsChat" |
891 | ], | 891 | ], |
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" |