security - GPGME: Best practices for automatic decryption in rails server -
i'd able ato implement following behaviour :
an admin should asked passphrase gpg production key during rails server startup in production
the passphrase should not stored anywhere other ram
decryption capabilities should not available in rake tasks or rails console
a gpg-agent seems out of question, since process launched same user rails server runs able decrypt content.
a passphrase callback gpgme class asking passphrase seems best solution (although tricky implement because of start-stop-daemon wrapper in /etc/init.d/unicorn grabs stdin).
am missing ? there security holes such setup ? better solution ? many thanks.
Comments
Post a Comment