From 2d7edee25dbeb0384e9da089ad66988d0d640593 Mon Sep 17 00:00:00 2001 From: Doug Martin Date: Tue, 28 May 2024 09:41:53 -0400 Subject: [PATCH] chore: Obfuscated Firebase API key [PT-187643494] Obfuscated Firebase API key using atob() so that automated key leak detectors are not falsely triggered. NOTE: the Firebase API key is a public key so this does not leak secrets. --- CollaborationService/js/CollaborationService.js | 2 +- GoogleSheets/js/Everything.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CollaborationService/js/CollaborationService.js b/CollaborationService/js/CollaborationService.js index 0ada62e7..241993b7 100644 --- a/CollaborationService/js/CollaborationService.js +++ b/CollaborationService/js/CollaborationService.js @@ -553,7 +553,7 @@ var dispatcher = Object.create({ // jshint ignore:line init: function () { firebase.initializeApp({ - apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M", + apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"), authDomain: "codap-collaborations.firebaseapp.com", databaseURL: "https://codap-collaborations.firebaseio.com", storageBucket: "codap-collaborations.appspot.com", diff --git a/GoogleSheets/js/Everything.js b/GoogleSheets/js/Everything.js index 3f45a80f..7667eb3d 100644 --- a/GoogleSheets/js/Everything.js +++ b/GoogleSheets/js/Everything.js @@ -544,7 +544,7 @@ var dispatcher = Object.create({ // jshint ignore:line init: function () { firebase.initializeApp({ - apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M", + apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"), authDomain: "codap-collaborations.firebaseapp.com", databaseURL: "https://codap-collaborations.firebaseio.com", storageBucket: "codap-collaborations.appspot.com",