spikex / strongbox

Secures ActiveRecord attributes with public key encryption
http://stuff-things.net/2009/04/17/introducing-strongbox/
MIT License
398 stars 42 forks source link

Decrypt Data Offline #40

Open sithara opened 10 years ago

sithara commented 10 years ago

Is it possible to make the decryption offline?

spikex commented 10 years ago

In what sense? The decryption doesn't require the Internet access, just a database connection. It is possible to decrypt in a rake task, the console, or even a standalone app.

vkeziah commented 8 years ago

the encrypted data is not being decrypted , how to decrypt data ?

I used the following way

@document.image.decrypt

where image is the field which is storing sensitive information

spikex commented 8 years ago

What do you get back? Is the private key loaded? Are you passing in it's password?