Update gpg_backend.rb

Add cache to GPG backend