This extension provides the ability to encrypt credit card information that is provided during checkout. It also includes an offline gateway that gives you the option of storing the credit card without authorizing/capturing during checkout.
No decryption functionality is provided in this extension. For totally secure storage of credit card information you should never store your private PGP key on a publicly accessible server. This includes the server hosting your store. There is an excellent Firefox plugin (FireGPG) which provides a nice way to securely decrypt PGP encrypted information from a browser (where the client machine can hold the private key.)
Spree::Pgp::Config.set :email => "firstname.lastname@example.org" Spree::Pgp::Config.set :public_key => "config/foo-public.asc"