Is it safe to store OTP tokens on the same device? Even if app is encrypted and locked with passcode?

  • capital@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    I throw them all in Bitwarden which is protected with a long, unique password and a yubikey.

    • kniescherz@feddit.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Same. Maximum comfort since Bitwarden autofills and puts the token in your clipboard, you dont have to change apps or need you smartphone when you are on desktop.

      You are less secure though, but its worth it to me.

  • Xirup@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    In the case of Keepass, it is commonly said that it is best to have a database exclusively for your OTP.

    For example, you have your passwords in a db called “My passwords” with an exclusive encryption password, and then another db called “My OTP’s” with its own encryption password, so if someone somehow get access to one, that person still won’t have access to the other, and therefore cannot enter your account.

  • Extras@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Honestly a big debate, so it really depends on your threat model. Lots of people even keep their totp seeds within their password manager which basically defeats 2fa imo, but it’s highly convenient. Personally I keep my totp seeds seperated in a sandboxed user profile.

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      1 year ago

      It only defeats 2FA from a standpoint of someone gaining access your PW manager. But for everything else like a service getting hacked and leaking your passwords for it, the 2FA will still do its job fine.

    • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I store my totp seeds in a separate, rarely used password manager, which then follows me on an “emergency USB” - hopefully something I won’t need to use at all

  • Vexz@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Depends on what is secure enough to you. For me that is secure enough but I know a ton of people out there who would say it’s not secure enough for them. So in the end it’s up to you. Think about the risks and make a decision.

  • Tibert@jlai.lu
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Well, the whole point of otp tokens/2fa, is to have a second login confirmation. Mostly on another device, like a phone.

    Now maybe if you store your 2fa way on the same device, but locked away with a strong password, it may work, and could be safe enough.

    But if it’s the same password as your device or another account, it isn’t that safe.