|
|
|
|
|
by Xylakant
4896 days ago
|
|
Because it's not a problem for private applications. You actually do want the key in your VCS in most cases since it should be stable across deploys. Rails will log out every user and throw an error for each active session when the key changes because it suspects that the session has been tampered with. The handling for OS applications is a little more difficult and I must admit that I know a couple of mediocre and no good solution to it. |
|
Also, just because something needs to be "stable across deploys" doesn't mean it needs to be in VCS. Are your application's third party passwords and API keys all stored in its version history? We picked a solution where the deployment tool configures the sensitive pieces of the application.