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'
If you're not the one who ran
setup_master
, then runningfab staging encrypt
will fail because staging's public key will not be present locally. (and the error message doesn't help much)