From 17c68d654ba7c4f01b730ceb804bdfa16c041174 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 20 Aug 2020 18:31:37 +0100 Subject: [PATCH] Prefer reading secrets.json to using pass show I'm attempting to maintain a top-level secrets.json that defines all of the sensitive data that I'd like to version-control without exposing everything in cleartext to the world. To that end, I'm using `git secret`, which will use `gpg` to encrypt secrets.json everytime I call `git secret hide` and decrypt everytime I call `git secret reveal`. I'm going to try this until I don't like it anymore... if that day comes... I should write a blog post about my setup to solicit useful feedback and share my ideas with others. --- .gitsecret/paths/mapping.cfg | 2 +- secrets.json.secret | Bin 631 -> 1142 bytes tools/monzo_ynab/.envrc | 10 +++++----- website/sandbox/contentful/.envrc | 4 ++-- .../sandbox/learnpianochords/src/server/.envrc | 6 ++++++ 5 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 website/sandbox/learnpianochords/src/server/.envrc diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index 2f89bb552..fda2c84fb 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -1 +1 @@ -secrets.json:9e05ae88de0df720ecc712b8e6bded3301bfd890cd13d0fb34d83bd37d14b594 +secrets.json:7d596a3ed16403040d89dd7e033a2af58e7aaabb6f246f44751b80a1863a2949 diff --git a/secrets.json.secret b/secrets.json.secret index 9c3883238d8597a5a590f484e2e732eca48d556c..d4c02bf693658a4e08f9335817d51a606bbcd9e6 100644 GIT binary patch literal 1142 zcmZo=;$fDGOnoU@I?a!f|9{c*<+8_)@FrNsFS@|R@^AHDk7>8nt~1E}`F^7LRp^?J z6E57+d63Oul(1-ZyuQt)^l5sk{gO-#a!Xby&vcgDar{=0-+>+H7>crVsy649?}(0C z&K&nBrvJnBw+k=L_;+?PlWK9C%ct3&zi}26{ajVMLa^x3?fwk0pr>`E+)FtZYDRK< z^IXcoNoa|6T7PsujHSh?uyLn5cF^zI=Vk;cvC}!D@l)IK{Whf2{8^ zW8yUYcr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