this post was submitted on 04 Mar 2024
66 points (91.2% liked)

Open Source

40186 readers
49 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

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
[–] erAck@discuss.tchncs.de 4 points 2 years ago (3 children)

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

[–] pastermil@sh.itjust.works 4 points 2 years ago (1 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.

[–] erAck@discuss.tchncs.de 1 points 2 years ago (1 children)

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

[–] pastermil@sh.itjust.works 0 points 2 years ago (1 children)

You're gonna need to access the device for that

[–] erAck@discuss.tchncs.de 1 points 2 years ago (1 children)

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

[–] pastermil@sh.itjust.works 1 points 1 year ago (1 children)

Can you elaborate on that? Any source?

[–] erAck@discuss.tchncs.de 1 points 1 year ago (1 children)
[–] pastermil@sh.itjust.works 1 points 1 year ago

You don't know what you're talking about, do you?

[–] digdilem@lemmy.ml 3 points 2 years ago (1 children)

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.

[–] erAck@discuss.tchncs.de -2 points 2 years ago

Lol, "the only way a team can effectively use TOTP", really? Many paid PWMs doing it already isn't a good excuse.

[–] AYO_Official@lemmy.ml 2 points 2 years ago (1 children)

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).

[–] erAck@discuss.tchncs.de 1 points 2 years ago

I don't have much to add to the edited version of that comment in that topic there: https://lemmy.ml/comment/8930011