this post was submitted on 04 Mar 2024
62 points (90.8% liked)

Open Source

30786 readers
754 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 5 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
[–] [email protected] 4 points 7 months ago (3 children)

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

[–] pastermil 4 points 7 months 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.

[–] [email protected] 1 points 7 months ago (1 children)

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

[–] pastermil 0 points 7 months ago (1 children)

You're gonna need to access the device for that

[–] [email protected] 1 points 7 months ago (1 children)

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

[–] pastermil 1 points 7 months ago (1 children)

Can you elaborate on that? Any source?

[–] [email protected] 1 points 7 months ago (1 children)
[–] pastermil 1 points 7 months ago

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

[–] [email protected] 3 points 7 months 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.

[–] [email protected] -2 points 7 months ago

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

[–] [email protected] 2 points 7 months 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).

[–] [email protected] 1 points 7 months ago

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