Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of TOTP

TOTP by Turistu

A TOTP generator that could be used with gmail, github and other sites which require 2FA.

4.5 (10 reviews)4.5 (10 reviews)
728 Users728 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Example login with 2FA on githubSelecting a saved key should automatically generate an OTP code and copy it to the windows-style clipboardOn X11, click on the generated code if you want to also copy it to the primary selection and be able to paste it with a simple middle-click"Add key" opens a new tab to an extension page from where you can save a key with the browser's password manager.If the "save" button doesn't work, open the password manager directly by clicking on the key-like icon in the address barIf the code is not copied to the clipboard upon it being generated, you can copy it by just clicking on it.
<br>
Copying it to the clipboard fails if you linger too much while selecting the key, or if the key was automatically filled in by the browser upon opening the popup.Since this extension is simply piggybacking on the browser's password manager (instead of implementing its own password wallet), you can manage the TOTP keys just like any other passwords.
About this extension
This is a javascript implementation of a TOTP authenticator, using the browser's crypto API. It should do the exactly same thing as google's authenticator, the "oathtool --totp -b ..." command, or any other TOTP generating app.

The javascript code does not send to or fetch any data from anywhere remotely, and it should work the same when served over https, saved locally or used inside a browser extension.

Instead of implementing its own secret saving mechanism (with cookies or local storage), this extension is using the browser's password manager to save the TOTP keys, just like any other passwords.

Since the saved keys are attached to the extension's own "moz-extension://UUID" url, not to the website where they are used, it's not possible for hijacked websites to retrieve them by exploiting the form and passwords autofill mechanism.

This extension is also not using any content script which could be tricked into generating and filling in TOTP codes without user intervention.

Note for Linux/X11 users: Since their half-fix to the exploitable pastejack bug that I have reported, it's no longer possible to copy the totp code to the primary selection automatically upon it being generated. If you still want to paste it with a simple middle-button click, just click once more on the totp code when you see the "copied (for ctrl-V)" message. Sorry for that.
Rated 4.5 by 10 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
8
4
1
3
0
2
0
1
1
Read all 10 reviews
More information
Add-on Links
  • Support site
Version
1.2.8
Size
12.99 KB
Last updated
2 years ago (Nov 22, 2023)
Related Categories
  • Privacy & Security
License
GNU General Public License v3.0 only
Version History
  • See all versions
Tags
  • password manager
  • privacy
  • security
Add to collection
Report this add-on
Release notes for 1.2.8
since the half-fix was back ported to ESR and thunderbird, assume that selectAllChildren() doesn't set the primary selection on *any* version of firefox anymore.
More extensions by Turistu
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.