submitted 2 years ago* (last edited 2 years ago) by to c/opensource@lemmy.ml
 

As I updated the version to 1.4.0 , adding the 'import' feature I am sharing this here.

I made this extension because I couldn't find one that wouldn't ask for too much permissions (such as accessing all websites data).

Eventually I found it nice to have a TOTP that can really be audited, the code is 649 lines of JS, 214 CSS and 52 HTML. Feel free to fork, copy part of it, contribute or just request fix/features.

I have used it for more than a year every day and it works nicely.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago (11 children)

Hell no, having OTP in the browser kinda defeats all 2FA and makes it 1FA again.

  • source
  • hideshow 11 child comments
  • [–] 4 points 2 years ago (6 children)

    If the thread model involve physical device access, then yes. However, consider that the attacker might not have access to the device with this 2FA.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 2 years ago (5 children)

    It's enough if they have access to the browser.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 0 points 2 years ago (4 children)

    You're gonna need to access the device for that

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 2 years ago (3 children)

    It's probably sufficient to be able to take over the browser remotely.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 2 years ago (1 child)

    Many/most password managers do TOTP in their browser extensions already - at least on paid tiers. (Bitwarden, Lastpass for sure).

    It's the only way a team can effectively use TOTP, which still offers a lot of protection.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 2 points 2 years ago (1 child)

    If you have any concern I would gladly hear technical insight about the threat model involved. The cross-post on the Privacy communities sparked more conversation if you want to follow up on that point : https://lemmy.ml/post/12744864.

    Extension "authenticator" has been around for more than a decade now. I am sharing something that is small, simple, auditable and secure (no permission to do anything but past on clipboard).

  • source
  • parent
  • hideshow 1 child comment