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

feat(Core/Authserver): TOTP rewrite #5620

Merged
merged 9 commits into from
May 13, 2021
Merged

Conversation

Winfidonarleyan
Copy link
Member

@Winfidonarleyan Winfidonarleyan commented May 3, 2021

Changes Proposed:

Issues Addressed:

Tests Performed:

  • Login and enter world

How to Test the Changes:

  • CREATE BACKUP DB TABLE account
  • Apply all db changes
  • Test default enter game (world)
  • If you know how to use TOTP, try :D (I don't know how to use it)

Target Branch(es):

  • Master

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

@Winfidonarleyan
Copy link
Member Author

Need #5518 before

@Kitzunu
Copy link
Member

Kitzunu commented May 3, 2021

What is totp?

WarheadCore/Warhead@421164
@Winfidonarleyan Winfidonarleyan marked this pull request as ready for review May 5, 2021 14:29
@Winfidonarleyan
Copy link
Member Author

Winfidonarleyan commented May 5, 2021

@Winfidonarleyan
Copy link
Member Author

Ready to test

@locus313
Copy link
Member

locus313 commented May 8, 2021

Thanks, @Winfidonarleyan ill test this later today.

@locus313
Copy link
Member

locus313 commented May 8, 2021

This looks good. The conversion of existing secrets worked without any problems. removing and setting new 2fa worked great.

@Winfidonarleyan
Copy link
Member Author

This looks good. The conversion of existing secrets worked without any problems. removing and setting new 2fa worked great.

Thanks for tesing, can merge?

@FrancescoBorzi
Copy link
Contributor

@Winfidonarleyan @locus313 what's the status of this? can it be merged?

@locus313
Copy link
Member

yeah, think this can be merged

@Si1ker
Copy link
Contributor

Si1ker commented May 12, 2021

#5518 is already merged as WInfi pointed out, let's go with this one. 🐱

@Winfidonarleyan
Copy link
Member Author

Let's go merge

@Si1ker Si1ker merged commit 26f2aba into azerothcore:master May 13, 2021
@Winfidonarleyan Winfidonarleyan deleted the totp branch May 13, 2021 06:46
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.

Suggestion: securely store TOTP secrets [$25 awarded]
5 participants