Hi all, I started to play with this project recently and since I moved an instance in production mode to test a Rails deployment I cannot log in with new users accounts created in this environment.
I know is has to do with the rsa_key that fails to decrypt the password for authentication but I can't figure out why. I am new to Rails so I just copied the root directory by hand and imported the development data into the production database. I also had to copy the rsa_key and rsa_key.pub files to the root directory or else the new ones after an install were causing a "padding check" error. This is the first time I come across an RSA implementation and I am kind of confused with the way it works. I see in the code it is using the keys from the files to encrypt and decrypt but does it also validate with another copy to ensure integrity? I don't understand how it fails when using the same data and the same key files and the same application code. Only the environment is different and I still can log in with the accounts I created under my development environment. When I tried to deploy a clean install as documented for this project I am getting other null errors as if some baseline data is missing from the database, even after running $ rake db:migrate RAILS_ENV="production". It looks like every model objects are not initialized and I couldn't figure out why. I guess I am missing something obvious but I got stuck on this issue. Do you have any suggestions on what I should try? This is a very nice job though and I find it highly educative. Thanks a lot --~--~---------~--~----~------------~-------~--~----~ Insoshi developer site: http://dogfood.insoshi.com/ Insoshi documentation: http://docs.insoshi.com/ You received this message because you are subscribed to the Google Groups "Insoshi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/insoshi?hl=en -~----------~----~----~----~------~----~------~--~---
