Skip to main content

Decode QR Code & Generate TOTP

Project description

The Project is used To Extract Raw Data From a QR Code & Generate a TOTP From Secret Code Entered Via The Keyboard.

How To Use

# QR Code Decoder & TOTP Generator
mfa_decoder [-h] {--image_path, --secret} <INPUT>
Arguments Description
--image_path IMAGE_PATH Decode QR Code With <INPUT> - "Path To QR Image"
--secret SECRET Generate TOTP From "Secret Code" (Base32 Format)
-h, --help Show This Help Message and Exit

Note: The Secret Code Here Only Accepts Strings Encoded In Base32 Format. Other Encoding Formats Like Base64, Hex, or Bytes are Not Yet Supported By This Project (Base32 Only Contains The Characters A-Z And 2-7, Without Characters Like 1, 8, 9, 0, Or Other Special Characters).

Example

Command Output
# mfa_decoder --image_path C:\Users\Test\QR-Code.png This-Is-Raw-Data-From-QR-Image
# mfa_decoder --secret 1233214566547899870 Invalid Secret Format. The Secret Must Be A Valid Base32 String
# mfa_decoder --secret 3O2QUFEKB4O7PF3FEVC 123456

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mfa_decoder-1.0.6.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

mfa_decoder-1.0.6-py3-none-any.whl (15.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page