I would like to find a way to store encrypted file in my github repository that Heroku can decrypt on-the-fly (it's not env var but plain old .csv
files).
I used git-crypt
successfully on my machine but it seems that I cannot add a gpg key to heroku.
When I connect to heroku-cli
and I try to create a gpg key usingheroku run gpg --gen-key
I got the following error:
gpg: signing failed: Inappropriate ioctl for device
Anyhow, I'm not even sure git-crypt
is the right way to go, so feel free to gave me any other alternative solution.