This repo uses https://github.com/StackExchange/blackbox to encrypt/decrypt secrets. Blackbox code is embedded in the repo so you don't have to install it separately, just follow the instructions.
- Install GPG in your computer if you don't have it
- Create a GPG key if you don't already have one
gpg --gen-key
- Send your public key
gpg --armor --export <your certificate email address>
to one of the admins listed at https://github.com/OrwellGroup/mobile-secrets/blob/master/.blackbox/blackbox-admins.txt - Ask them to add you as an admin
- You need to be an admin, listed at https://github.com/OrwellGroup/mobile-secrets/blob/master/.blackbox/blackbox-admins.txt . Follow "How to get access to the secrets" if you are not
- Type
./blackbox/bin/blackbox_decrypt_all_files
- Now all the secrets are decrypted
- After you used the secrets you should
./blackbox/bin/blackbox_shred_all_files
to remove them from your computer
- You need to be an admin, listed at https://github.com/OrwellGroup/mobile-secrets/blob/master/.blackbox/blackbox-admins.txt . Follow "How to get access to the secrets" if you are not
- Create secrets in the
secrets
folder. It's a good practice to add them in a sub folder likesecrets/ios-certs/
- Register the secret files with
./blackbox/bin/blackbox_register_new_file <path file>
- Update all file with
./blackbox/bin/blackbox_update_all_files
- Commit and push the repo
- You need to be an admin, listed at https://github.com/OrwellGroup/mobile-secrets/blob/master/.blackbox/blackbox-admins.txt . Follow "How to get access to the secrets" if you are not
- Ask the new admin to send you their GPG public key
- Add the new admin
./blackbox/bin/blackbox_addadmin <gpg public key of the new admin>
- Update all file with
./blackbox/bin/blackbox_update_all_files
- Commit and push the repo