chicks / devise_aes_encryptable Goto Github PK
View Code? Open in Web Editor NEWAdds AES encryption to Devise
License: MIT License
Adds AES encryption to Devise
License: MIT License
Got an error while I'm trying to signup. It works with :bcrypt or :authlogic_sha512.
Started POST "/users/register" for 127.0.0.1 at 2011-01-12 18:16:10 +0900
Processing by Devise::RegistrationsController#create as HTML
Parameters: {"utf8"=>"โ", "authenticity_token"=>"f+paB/eEKbJLbvi9WTdhlaINRPNiyV0jZtRYF/1iUwM=", "user"=>{"username"=>"kuro7", "email"=>"", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
Completed in 1ms
OpenSSL::Cipher::CipherError (iv length too short):
my devisse configs are,
require 'devise/orm/mongoid'
config.stretches = 20
config.encryptor = :aes256
config.pepper = "6f68ed4ea8.."
I downloaded your github repo and ran the test. It was fine.
Could you help me with this?
With this line in our Gemfile:
gem 'devise_aes_encryptable', git: 'https://github.com/chicks/devise_aes_encryptable.git', branch: 'master'
Our team is running the following line as part of our deployments:
sudo su - deploy -c 'cd /srv/www/project/releases/current && /usr/local/bin/bundle install --path /home/deploy/.bundler/project --without=test development' 2>&1
And getting the following error:
SystemStackError: stack level too deep
An error occurred while installing devise_aes_encryptable (0.2.3), and Bundler cannot continue.
Make sure that `gem install devise_aes_encryptable -v '0.2.3'` succeeds before bundling.
Now, the master branch isn't v0.2.3, as it's been updated to be Rails 4 compatible, but OpsWorks looks like it's still trying to get the old version. I suspect it's being tripped up on the fact that the gem is coming from Github instead of the RubyGems repository. If no one else is willing or able to take over this project to push a new version, let me know and I will.
The project is updated but the gem was no generated... There is someone that can generate it and push to rubygems?
Just add namespace module. Take a look at this link https://github.com/plataformatec/devise/wiki/How-To:-Create-a-custom-encryptor
Regards,
Virudson
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.