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

Sync re-encrypted passwords with central #14867

Merged
merged 2 commits into from
May 9, 2019

Conversation

gonzaloriestra
Copy link
Contributor

@gonzaloriestra
Copy link
Contributor Author

Acceptance:

  1. Create a dedicated instance in staging
  2. ssh to central in staging
  3. Open a rails console:
user = User.where(username: 'your-username').first
user.crypted_password = 'e4c2a6d7d41e6170470a9d1d3234bdcbc1b95018'
user.salt = '98dffcb748fc487987af5774ec3aab2d106e8578'
user.save
  1. Log in with the password location
  2. Go back to the console and check that the crypted_password starts with $argon2:
user.reload.crypted_password

@oleurud oleurud self-assigned this May 9, 2019
@oleurud
Copy link
Contributor

oleurud commented May 9, 2019

Acceptance 🍏

@gonzaloriestra gonzaloriestra merged commit e24215c into master May 9, 2019
@gonzaloriestra gonzaloriestra deleted the sync-argon2-reencryption branch May 9, 2019 15:41
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.

None yet

3 participants