Skip to content

This is a TOTP/2FA code manager based on Angular and Electron for easy multi-platform support

License

Notifications You must be signed in to change notification settings

hbertsch/totp-manager

Repository files navigation

TOTP Manager

TOTP Manager is a tool that let you manage your one time codes based on a json configuration file .

The main features are:

  • Loading a collection of TOTP settings from file (json: see example)
  • Order them by label (ascending / descending)
  • Search for arbitrary string
  • Code is copied to clipboard on left click so you can paste it using crtl+v or cmd+v

Latest Release

Releases for Linux and Windows are missing and will be added later one (once I have time for that)

Check the release section to download the latest release.

Quick Demo

quick_demo

Build

Install requirements

npm install

Local testing (Browser)

ng serve

Build for platform (Executable)

In case you have not already installed electron-packager you can do this by using:

# Globally
npm install electron-packager -g
# Locally 
npm install electron-packager -D

For building the executables use:

# 1st you need to build the angular content
# otherwise there is nothing to pack and your electorn app will stay blank
ng build

# Mac
 electron-packager . --platform=darwin --overwrite
# Linux
electron-packager . --platform=linux
# Windows
electron-packager . --platform=win32

Example Configuration File

Use the codes provided by the TOTP setup dialogs (or extract them from the QR-Codes by scanning them) and save them in a jsonby using the following format (example file can be found in this repository under resources/example-secrets.json):

[
    {
      "key": "ATDFYYP2NN6FYH3L",
      "label": "Microsoft.com"
    },
    {
      "key": "ATDFYYP2NN6FYH4L",
      "label": "GitHub.com"
    },
    {
      "key": "ATDFYYP2NN6FYH5L",
      "label": "Google.com"
    }
]

Fundamentals

If you are interested in the fundamentals of how TOTP generation is working, check out my other TOTP repository.

About

This is a TOTP/2FA code manager based on Angular and Electron for easy multi-platform support

Resources

License

Stars

Watchers

Forks

Packages

No packages published