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

  • InEnduringGrowStrong@sh.itjust.works
    link
    fedilink
    English
    208 months ago

    I memorize the seed and calculate the next token in my head.

    Passwords in KeePass, totp in Aegis.
    My phone does have both, but they each have their own encryption.

  • capital
    link
    fedilink
    English
    98 months ago

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

    • @kniescherz@feddit.de
      link
      fedilink
      English
      48 months 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
    78 months 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
    link
    fedilink
    English
    4
    edit-2
    8 months 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
      9
      edit-2
      8 months 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.

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      fedilink
      English
      28 months 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
    link
    fedilink
    38 months 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.

  • badgrandpa69OP
    link
    fedilink
    English
    28 months ago

    I might keep the in Bitwarden, then secured with hardware key.

  • @Tibert
    link
    English
    28 months 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.

  • badgrandpa69OP
    link
    fedilink
    English
    28 months ago

    Yuibkey authenticator app looks good. All tokens are in the hardkey.