• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: July 25th, 2023

help-circle











  • JonEFive@midwest.socialtoPrivacy Guides@lemmy.one2FA app
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Then what do you use for your password manager?

    I’ve always been of the mindset that storing your 2fa next to your passwords at least partially defeats the purpose of 2fa.

    The two types of attacks I worry about would be a hacked/leaked password from a third party site, or your password manager being compromised. While the latter is far less likely, it is still something I’d like to protect myself from as much as possible.




  • Strict vs loose equality has gotten me so many times, but I can sort of see why they did it. The problem you mention with integers 0 & 1 is a major annoyance though. Like it is fairly common to check whether a variable is populated by using if (variable) {} - if the variable happens to be an integer, and that integer happens to be 0, loose quality will reflect that as false.

    But on the other side, there have been plenty of occasions where I’m expecting a boolean to come from somewhere and instead the data is passed as a text string. “true” == true but “true” !== true