Giter Site home page Giter Site logo

rayquaza01 / authenticator Goto Github PK

View Code? Open in Web Editor NEW
32.0 6.0 7.0 1.81 MB

Firefox addon that generates TOTPs for 2 factor authentication

Home Page: https://addons.mozilla.org/en-US/firefox/addon/two-factor-authenticator/

License: MIT License

HTML 1.53% JavaScript 97.16% CSS 1.30%
firefox addon extension two-factor

authenticator's People

Contributors

dependabot[bot] avatar holmanb avatar max1truc avatar nebulade avatar rayquaza01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

authenticator's Issues

Invalid Tokens when master password is set

Bug Report

Please fill out this information:

  • Browser version: Firefox 63.0.1
  • Extension version: 1.2.1
  • Operating system: Windows 10

When setting a master password, invalid tokens are returned.


  • Set master password
  • add Secret Key
  • try to login with token --> Fails
  • remove secret key
  • try to login with token --> success

Where can I add new entries?

Question

Hey,

unfortunately I cannot find where to add new keys. If I click on the gear nothing happens.

Where can I add new entries?

Format of secret key?

Thank you for your add-on!

What's the format of the secret key to be provided?

Yours,

Robert

Doesn't do anything

Just installed.
Key icon in toolbar has menu containing single cog, but clicking it doesn't do anything.

Amazon unsupported

When trying to add my key from Amazon's 2FA implementation, it doesn't show up in the list. The key is quite long, 52 characters in the base32 secret key. Seems like anything over 40 characters causes this issue.

Also, adding it causes anything added after it to not show up on the list either.

Popup disappears immediately

Bug Report

Please fill out this information:

  • Browser version: Firefox 63.0
  • Extension version: 1.2.0
  • Operating system: Ubuntu 18.04

What is happening?
When I click the extension icon, the pop-up appears briefly and immediately disappears so I can't interact with it at all.


What are the steps to reproduce the bug?
Click icon


Open the browser console (Hamburger menu > Web Developer > Browser Console) and include anything that is logged when the bug occurs.
This step is not always necessary.

I see Invalid chrome URI: / after clicking the icon.


Any screenshots or videos of the bug would be helpful.

wrong code generated: Newegg.com

I'm trying to add Newegg.com but it generates incorrect codes. I have many other sites added and they're all generating correctly except for Newegg.com, the 20th site I've added.

Correct Newegg codes are generated on my phone by FreeOTP (Android), and in Google Chrome by the "Authenticator" extension by sneezry.com.

Both were scanned via QR code rather than entering manually, but when I export my keys from the Chrome extension, it reports the same "secret" that Newegg provides for manual entry, which isn't working on this firefox extension.

I added Github after Newegg, in slot 21, and it's wroking fine. It's only Newegg that's generating incorrectly.

I'm not sure how to grab any useful debug information but I'm happy to try!

Missmatched password between authenticator extension and Google Authenticator

Bug Report

Please fill out this information:

  • Browser version: 111.0.1
  • Extension version: 1.3.2
  • Operating system: Windows 10 Pro

Ok. I'm using same security keys in my Browser and my mobile phone (Google Authenticator > Android > Moto G8Pro) Everything was working like a charme. Yesterday just all tokens are now invalid. But... the tokens from mobile phone still working. I realize that the (30 seconds count-down counters are not synchronized).


I just clicked over key gen extension and I am using that key on my sites, and I am getting an invalid password error message, but trying with my Google Authenticator password it works.



How do I move my Authenticator config from one FF profile to another?

Question

Hello, Thank you for Authenticator - I do so like not having to rely on my beep'ing phone!

I've moved my gnu/linux flavour and Firefox has installed itself to a new profile in the process - so, how do I import my config for Authenticator so I can continue to login to my various.

I've moved my /browser-extension-data/authenticator@r01 without effect - but it was empty anyway.

Many thanks.

v2.0.0 Tracker

Tracking for the version 2.0.0 release.

Commits will be made to the feature branch.

The plan is to rewrite the extension in Typescript and make the code more maintainable.

Current planned features:

  • Implement TOTP with WebCrypto
  • Implement encryption and decryption with WebCrypto
  • Base 64 encode and decode to Uint8Array
  • Base 32 decode to Uint8Array
  • Remake options page (with drag and drop)
    • Customizable color schemes?
  • Remake popup page (fixing styling and scrolling issues)
  • Build process
    • Currently have a basic webpack setup, might switch to parcel?

Update: 2021-02-06:
Base 32 and 64 encode and decode are done. They seem to work correctly and pass the test cases I've made so far.

Database import

It could be nice if can import the database file (SQLite) from Google Authenticator android app by example.

Thanks :-)

The password is in clear when unlock the addon on firefox

Bug Report

Please fill out this information:

  • Browser version:60.3.0esr
  • Extension version:1.3.1
  • Operating system:macos mojave

Before the update the password to unlock the OTP registered was hidden with *, now the password is in clear when I enter it


What are the steps to reproduce the bug?


Open the browser console (Hamburger menu > Web Developer > Browser Console) and include anything that is logged when the bug occurs.
This step is not always necessary.


Any screenshots or videos of the bug would be helpful.

Extras / Import -- Bug + proposed solution

Hello I use Extra / Export to get my topt.json, it works.

But then I delete all entries and try to get Extra / Import of the saved file, but nothing happens I have to retype all entries mannually.

I just examined the topts.json file and found a solution replacing a regex as follows
/,"fontColor":"$/}/

It works but the solution inside the code I do not know how to do it.

Thank You.

Please fill out this information:

  • Browser version: Latest FIrefox PC 63.0.3
  • Extension version: 1.2.1
  • Operating system: Windows 10

Smart mode

Hello, what about enabling a 'smart mode', that is adding a domain for each code in configuration, then just process when onmouseover the key icon and if we are in a known domain, let the key icon be gold color and auto copy code to clipboard.
In this mode when you are in login page then just move the mouse over the key it becomes gold then go back and paste the code.
To be smarter if remaining time is less than 8sec then just blink in other color until new code is ready then gold and autocopy.

Thank You and congratulations again for this great job!

Update: In fact that was my first idea, then thinking just a bit more, I found is more easy to just filter the results of the sites to those who match the domain (if none then list all), with that the interface is the same 1.-display the list 1.-pick the code 3.-paste.
Brief: Add domain to code list and by default filter the results for the domain (if it matches), else list all

... and put you Bitcoin address so we can tip you! because I just tryed with PayPal donation, now giving 1$ cost me another 1$ in Paypal I do not know why, perhaps is currency conversion or new PayPal tarifs so it is not suitable for small tips (non US).

Add space between text and icons

This is just a small visual issue, and hopefully a quick fix. The codes and time counter are too close to the copy/cogwheel icons in the extension menu:

2021-12-21_10-26-20

There should be a bit of space before the icons.

Popup is empty after extension update

Bug Report

Please fill out this information:

  • Browser version: Firefox 63.0.3
  • Extension version: 1.3.1
  • Operating system: Linux

What is happening?

Attempting to open the popup shows the following errors in the webinspector, while debugging the extension:

Error in Max1Truc's Crypt library ! crypt.js:47:3
<anonymous>
moz-extension://a21db65e-504b-4308-8e8a-91f18979ca15/crypt.js:47:3

This will result in an empty popup.

What are the steps to reproduce the bug?

Extension got updated. Click the toolbar icon. Popup is empty. In my case the recently added master password for encryption is an empty string, as suggested in the extension to disable encryption.

Kept Saying Invalid Password

Bug Report

Please fill out this information:

  • Browser version: Firefox 52
  • Extension version: 1.2.1
  • Operating system: Mac OS

What is happening?

After downloading, I entered Password but it says Wrong Password.
Am surprised, because that is my first time.

Is there a default password or something?


What are the steps to reproduce the bug?
Download, Add to browser and try to enter password.


Add sync, or possible way to copy the data file, or 2FA codes.

Hi there, I am trying your Firefox Addon on my ubuntu 16.04 laptop... and now the HD SMART is showing warning of imminent problem, so I need to copy (one way sync) the codes to my other desktop machine so not to loose my ability to log in into my accounts.
So in lack of a sync capability, or an interface to read and copy (or export/import) the file or codes, I would need to know where is a file I can copy over or read to get my 2FA TOTP codes out?
I tried to search about Firefox AddOns standard location and find the local profile folder and your code, but I could not find the data store, and since my HD could fail any time soon, I prefer no waste time and ask you directly.
Thank you very much.
Sincerely
Mark

Correct README.md

Hi @Rayquaza01 !

I was just navigating on GitHub when I saw that the of this repo Readme still says that keys are unencrypted...
Maybe you could change it.

Add Order tool to Configured Sites List (configuration)

Feature Request

Hello, may you put an ordering tool so we can put order in the configured sites list?.
I do it mannually now crafting the json file, but maybe you can put some interface easing to do it.

In the mean time can you update and reduce the amount of text (notices and updates) before the configuration section? many new people could be afraid of so many letters, and even do not see the configuration interface downwards.

Thank You and congratulations again for this great job!
... and put you Bitcoin address so we can tip you!

Inability to Scroll

Bug Report

Please fill out this information:

  • Browser version: Firefox 52
  • Extension version: 1.3.1
  • Operating system: Mac OS

What is happening?

I am unable to scroll the OTP lists after adding 25 entries.
---

What are the steps to reproduce the bug?

Add 25 entries and you will only see 24 without ability to scroll to 25th or even see settings icon.
---

Open the browser console (Hamburger menu > Web Developer > Browser Console) and include anything that is logged when the bug occurs.
This step is not always necessary.


Any screenshots or videos of the bug would be helpful.

Font color issue with dark theme

Is it possible to add an option to change the font color ?
Because it's not easy to read black text on nearly black background when using theme like Arc-Dark (Linux).
Thanks a lot :-) Keep the good work :-)

Hyphen in Display Name corrupts usage.

I've added some sites that had hyphens in the site name. This has caused ALL previously added sites to not show up when clicking on the key icon. I had to export to json, edit that file to remove the offending item, re-import, quit FF and restart the browser to get it to work again.

Pop-up window needs to be scrolled

When clicking on the key icon in the toolbar, the lines are not fully shown and need to be scrolled to the right in order to see the copy icon. I'm running Firefox 55.0b1 on Windows 10 Insider build 16199.
2017-06-16 15_43_55-new issue rayquaza01_authenticator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.