Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
28 changes: 28 additions & 0 deletions scripts/decrypt_gha_secret.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

# Copyright 2020 Google
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# $1 is the file to decrypt
# $2 is the output file
# $3 is the passphrase

# Decrypt the file
# --batch to prevent interactive command --yes to assume "yes" for questions

file="$1"
output="$2"
passphrase="$3"
[ -z "$passphrase" ] || \
gpg --quiet --batch --yes --decrypt --passphrase="$passphrase" --output $output "$file"
3 changes: 3 additions & 0 deletions scripts/gha-encrypted/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
See https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets

Googlers: code search firebase/cpp/Secrets to find the sources.
Binary file not shown.
Binary file added scripts/gha-encrypted/admob/google-services.json.gpg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added scripts/gha-encrypted/app/google-services.json.gpg
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions scripts/gha-encrypted/auth/google-services.json.gpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
� ��'��6����;�@Rh�Řm�o���2x�ڪ�ch`�qIT$�����ĸgB���\dA�Q���f�� (]N ���|�����Ђ$��2��6S~渒��Th��M��e�E��\˚)o�@�b���� ���R�}���·�[��)*;a�Z���+N�Q�n����˅��f�K�9�bm*|��&k�1���~-�����o��Onq(���� �n9kHA�LJ#��J��h�XH̲�!^���◙t;�q(���S{Q[��;�eG��r��d�?,p�� ≵F¡�ͱ�i*�wz5��9i�oP,��2�����H1 �^�L��GB� �<�73�`NB+ۺ���%9�N��)�6�f�-���,����s����γ`@�P�������r�'��.ۡ�F�u�z~+��I]Q��%\����|.�KXO�m��B|�:�3o]j�����a�v�8G�V �����u������~'�J�ѯy@���������,��!�d�y� k�dy
����ckp������SKq���0���A����s�\� 1|> ���Y5�R����hIT8�����#���3B�(d�1fsA�X���Jj����� �SGi�gC���g�Ut|�c�I���s��h*�B�X�Ძ�D�%���Km��,�m���F�C2�����tqsmAcO��z��f���NJ�VTox(p��8�~/LF�md7��V��<�N��J��6���3e_P�(!����q"�L���a�����,ē�|n���Y^)=j؊��'Xu�T#h@oi������D�ߣ��p;��d��w�5�g����;�>�׻�YO���36
PM,�'?�A��&�wk���t)��� �n�Z6W�
��[���>]q+�"�S���U|s@��|�C.CO��z+�'��G��3E��2V�Ԡ@�/�t��Q'���\,T�`�s�]#
��:-/,p�R�H4��Fӣ
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.