Skip to content

HBM301/2FAGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

2FA Generator

2FA Generator is a small tool that creates time-based one-time passwords (TOTP) for two-factor authentication. Just enter your secret key, and the app will generate a code that refreshes every 30 seconds.

Features

  • Generate secure 2FA codes
  • Codes auto-refresh every 30 seconds
  • Copy code to clipboard with one click
  • Show error message if secret key is invalid

Requirements

  • Python 3.7 or later

  • Install required packages:

    pip install pyotp wxpython pyperclip
    

How to Use

  1. Run the program:

    python 2FAGenerator.py
    
  2. Paste your 2FA secret key into the input box.

  3. Press Generate 2FA Code

  4. A new code will appear and refresh automatically every 30 seconds.

  5. Press Copy to Clipboard to copy the code.

Notes

  • Works with any service that uses standard TOTP (Google, Microsoft, Facebook, etc.).
  • Secret key must be correct, otherwise the app will not generate codes.

About

Quick and simple 2FA code generator tool, This is my first small project

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages