Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dynamics to allow for database stored parameters when using encrypted attributes in models #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

QaDeS
Copy link

@QaDeS QaDeS commented Mar 26, 2011

Added :private_key and :public_key options to AsymmetricCipher to allow for database/memory stored keys
Added :encrypt_with_private to turn around roles for private and public key
Added :public_key => :derived option for allowing the public key to be derived from the private key file
:algorithm, :password, :salt, :private_key and :public_key now support Procs for getting the values e.g. from a field in the database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant