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

TOTP Setup Fixes #3622

Merged
merged 1 commit into from
Oct 20, 2019
Merged

TOTP Setup Fixes #3622

merged 1 commit into from
Oct 20, 2019

Conversation

droidmonkey
Copy link
Member

@droidmonkey droidmonkey commented Oct 13, 2019

Type of change

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✅ Refactor (significant modification to existing code)

Description and Context

Screenshots

image

image

image

image

Testing strategy

Manual and unit testing

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]
  • ✅ My change requires a change to the documentation, and I have updated it accordingly.
  • ✅ I have added tests to cover my changes.

@koutheir
Copy link

Oh great! Now we can specify the algorithm for TOTP! This makes SHA-512 TOTP way simpler. Thank you! I can't wait for a release version that includes this nice feature!

src/gui/TotpSetupDialog.cpp Outdated Show resolved Hide resolved
src/gui/TotpSetupDialog.cpp Outdated Show resolved Hide resolved
src/gui/TotpSetupDialog.cpp Outdated Show resolved Hide resolved
src/gui/TotpSetupDialog.cpp Outdated Show resolved Hide resolved
src/gui/TotpSetupDialog.ui Outdated Show resolved Hide resolved
src/gui/entry/EditEntryWidget.cpp Outdated Show resolved Hide resolved
@droidmonkey droidmonkey force-pushed the fix/totp-setup branch 2 times, most recently from c6ea68e to af77955 Compare October 14, 2019 13:28
@droidmonkey droidmonkey requested a review from phoerious October 16, 2019 02:12
* Fix #3142 - Warn user when entering invalid TOTP secret key.
* Fix #773 - The TOTP dialog now listens for the copy shortcut without having to press the Copy button.

* Add ability to choose hash algorithm from the TOTP setup dialog
* Add upgrade to "otp" attribute when custom attributes are chosen to prevent data loss

Ran make format
@droidmonkey
Copy link
Member Author

Final changes made

@droidmonkey droidmonkey merged commit 99a2d66 into develop Oct 20, 2019
@droidmonkey droidmonkey deleted the fix/totp-setup branch October 20, 2019 21:57
@phoerious phoerious added pr: bugfix Pull request that fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: TOTP pr: bugfix Pull request that fixes a bug
Projects
None yet
3 participants