Skip to content

Add support for encrypting TOTP secrets #455

Open
ericmann/two-factor
#2

Description

@jeffpaul

Add support for encrypting TOTP secrets (if a constant is defined).

More details to be shared.

Activity

  1. added this to the 0.8.0 milestone on Sep 9, 2022
  2. linked a pull request that will close this issueEncrypt TOTP secrets. #389on Sep 9, 2022
  3. removed their assignment
    on Sep 9, 2022
  4. modified the milestones: 0.7.2, 0.8.0 on Sep 12, 2022
  5. calvinalkan commented on Sep 12, 2022

    @calvinalkan
    Contributor

    @jeffpaul Ping me here or in PR's.

    Whats the minimum version for this project?

  6. calvinalkan commented on Sep 12, 2022

    @calvinalkan
    Contributor

    Strongly vote for https://github.com/defuse/php-encryption/blob/master/composer.json

    Supports the minimum PHP version required here.

  7. calvinalkan commented on Sep 12, 2022

    @calvinalkan
    Contributor

    Or libsodium which is in php7.2 core and WP core includes sodium_compat.

    https://paragonie.com/book/pecl-libsodium/read/04-secretkey-crypto.md

  8. jeffpaul commented on Sep 20, 2022

    @jeffpaul
    MemberAuthor

    @calvinalkan not sure what minimum version you're referencing but this plugin requires WordPress 4.3 and PHP 5.6. If those are not what you were referencing, please restate so someone can chime in and help... thanks!

  9. calvinalkan commented on Sep 20, 2022

    @calvinalkan
    Contributor

    @calvinalkan not sure what minimum version you're referencing but this plugin requires WordPress 4.3 and PHP 5.6. If those are not what you were referencing, please restate so someone can chime in and help... thanks!

    Yes im refering to the PHP Version.

    Defuse/encryption supports PHP5.6

  10. modified the milestones: 0.8.0, 0.9.0 on Mar 6, 2023
  11. removed this from the 0.9.0 milestone on May 8, 2024
  12. 6 remaining items

  13. moved this from In progress to Ready in Two Factor project boardon Feb 8, 2026
  14. ericmann commented on Feb 9, 2026

    @ericmann
    Collaborator

    More than happy to take a stab at this - should be a straight-forward implementation to use a constant from wp-config (and opportunistically encrypt any secrets that are currently stored in plaintext.

  15. masteradhoc commented on Feb 9, 2026

    @masteradhoc
    Collaborator

    Thanks @ericmann

  16. modified the milestones: 0.15.0, 0.16.0 on Feb 18, 2026
  17. moved this from In progress to In review in Two Factor project boardon Mar 4, 2026
  18. modified the milestones: 0.16.0, 0.17.0 on Mar 18, 2026
  19. modified the milestones: 0.17.0, 0.18.0 on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions