caktus / django-project-template

Django project template for startproject (Requires 2.2+)
209 stars 53 forks source link

fab staging encrypt requires key to be downloaded first #213

Closed vkurup closed 9 years ago

vkurup commented 9 years ago

If you're not the one who ran setup_master, then running fab staging encrypt will fail because staging's public key will not be present locally. (and the error message doesn't help much)

vkurup$ fab staging encrypt:SECRET_KEY=`make generate-secret length=64`
[staging] Executing task 'encrypt'

Fatal error: local() encountered an error (return code 2) while executing 'gpg --dearmor < /home/vkurup/dev/rescue_id/conf/staging.pub.gpg > /tmp/tmp.key'

Aborting.
local() encountered an error (return code 2) while executing 'gpg --dearmor < /home/vkurup/dev/rescue_id/conf/staging.pub.gpg > /tmp/tmp.key'
mlavin commented 9 years ago

The person who ran setup_master should commit the public key to the repo.

vkurup commented 9 years ago

ahhh... we haven't been doing that.