Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Selfhosted
  3. Reevaluating my password management

Reevaluating my password management

Scheduled Pinned Locked Moved Selfhosted
selfhosted
59 Posts 46 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dr-robot@fedia.ioD [email protected]

    Why not use KeepassXC? It's a completely local encrypted db but it integrates with cloud storage apps like nextcloud for sync. It has plugins for integration with Firefox and KeepassAndroid is pretty smooth on the current Android OS.

    G This user is from outside of this forum
    G This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #21

    this one, OP. no need to introduce the horror that's a:

    • hosted app (why?!)
    • client app is electron crapware
    • the client app doesn't even have full functionality, you have to use the web UI for some tasks

    edit: I'm obviously speaking about the bitwarden/vaultwarden horror. keepassXC is none of them things.

    N 1 Reply Last reply
    13
    • N [email protected]

      It's strange how I never see this mentioned anywhere, but there's a way to get unique secure passwords for every site/app without needing to store them anywhere. It's called LessPass, and essentially generates passwords based on 3 fields (site, username, master password) and works relatively well, because the advantages are quite obvious I'll list the potential downsides:

      • If one password is compromised or needs changing for whatever reason you need to increase a counter and need to remember which counter for which site (this is less problematic than it sounds, except in places that have a password policy that forces you to change your password periodically)
      • Android can store the master password and use fingerprint to input it, but in PC you always have to type your master password which can get annoying.
      • You need to change your passwords to this new format, which can take a while, and years down the line you're trying to login somewhere and don't remember if you've already migrated it or not.
      mimicjar@lemmy.worldM This user is from outside of this forum
      mimicjar@lemmy.worldM This user is from outside of this forum
      [email protected]
      wrote last edited by
      #22

      You also have to keep track the site and how you spell it. For example is it "Microsoft" or "microsoft"?

      And keep track of the current name of the site vs the old name. For example am I signing into Microsoft or Live.com or Xbox?

      And keep track of my username. Is it my email? Which email? Which username?

      I understand the concept but I think if falls apart fast.

      N 1 Reply Last reply
      4
      • A [email protected]

        I also use KeepassXC and Synthing together and I am very happy with this combination.

        One tip that I have, if you are worried about the security of the database file being shared, is to get 2 Yubikeys and use these, along with a strong passphrase, to protect the database file.

        W This user is from outside of this forum
        W This user is from outside of this forum
        [email protected]
        wrote last edited by
        #23

        Same boat for me, works great! I got the NFC Yubikeys which work fine with Android.

        1 Reply Last reply
        0
        • U This user is from outside of this forum
          U This user is from outside of this forum
          [email protected]
          wrote last edited by
          #24

          Yup this is the way. The resulting .kdbx database file is encrypted so you can even synchronize it over an untrusted provider. Otherwise you can use something like syncthing to keep it strictly peer to peer.

          1 Reply Last reply
          14
          • mimicjar@lemmy.worldM [email protected]

            You also have to keep track the site and how you spell it. For example is it "Microsoft" or "microsoft"?

            And keep track of the current name of the site vs the old name. For example am I signing into Microsoft or Live.com or Xbox?

            And keep track of my username. Is it my email? Which email? Which username?

            I understand the concept but I think if falls apart fast.

            N This user is from outside of this forum
            N This user is from outside of this forum
            [email protected]
            wrote last edited by
            #25

            Yup, but most of that is easily solvable by being consistent, e.g. always use lowercase and your email (even if it's not the login for that site). But yes, you need to know to be consistent so it's a good point to make.

            T O 2 Replies Last reply
            0
            • wqman@lemmy.mlW [email protected]

              +1 to this; Time spent on your setup is an important factor too.

              The more important your data is, the more time you are going to need to spend maintaining your system to ensure security, backups and fail-overs. Not everyone has luxurious amount of time to spend on their home-lab everyday.

              isokiero@sopuli.xyzI This user is from outside of this forum
              isokiero@sopuli.xyzI This user is from outside of this forum
              [email protected]
              wrote last edited by
              #26

              I did self-host bitwarden and it's not that bad to keep updated and running after initial setup (including backups obviously) but it still requires some time and effort to keep it running. And as I was the only user for the service it just wasn't worth the time spent for me (YMMV) so I switched to their EU servers and I've been a happy user ever since.

              What I should do is to improve local backps on that, currently I just export my data every now and then manually to a secured storage, but doing it manually means that there's often too long time between exports.

              1 Reply Last reply
              2
              • A [email protected]

                I do this for sites where I don't care at all about security. One minor tip, that will protect against automated attacks if the password is cracked, is to add part of the website name into the password (e.g "mystrongp4ss!lemworld") .

                A human could easily crack it, but automated systems that replay the password on different sites would probably not bother to calculate the pattern.

                F This user is from outside of this forum
                F This user is from outside of this forum
                [email protected]
                wrote last edited by
                #27

                If just one or those passwords gets leaked you might find a lot of other ones get cracked as well.

                It may not be sites that you care about. But using a password manager is a lot less effort and a lot safer than whatever technique the average Joe will come up with.

                Any password that leaks which could indicate a potential system ( e.g.: sitename in lower/upper/leetspeak) makes the whole thing even more vulnerable.

                Just use something. Bitwarden, vault warden, keepassxc, ...

                Knowing my social circle I'd recommend bitwarden. Even paying for it costs a measly 10$/year, while the free version is very usable in itself. And generating passphrases or 32char passwords will be a lot safer than whatever the hell they can come up with.

                Just avoid the default browser ones, big tech and LastPass.

                L 1 Reply Last reply
                1
                • G [email protected]

                  I used enpass for years and was a happy user. one day it prompted me for some re-authentication bullshit security theater. although in that instant it was an easy task, took me all of 10 seconds, it demonstrated a scary amount of power they had as I couldn't bypass it and access my data. from that point on, its days were numbered.

                  the second issue is the export functionality that was seriously lacking and I had to resort to 3rd party converter tools to convert it to keepassXC; no way that flew by their QC, it had to be intentional.

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #28

                  On mobile I indeed also had that issue once. However I made sure they can't lock me out completely. The db is stored using the opensource sqlcipher, so one can open it and extract everything manually, if absolutely necessary. As long as they don't change this, I am fine. In the worst case that would still be a lot of effort for me, but not impossible.

                  The export has also improved a lot. You can now also export to JSON which includes all the data one could need.

                  1 Reply Last reply
                  1
                  • G [email protected]

                    this one, OP. no need to introduce the horror that's a:

                    • hosted app (why?!)
                    • client app is electron crapware
                    • the client app doesn't even have full functionality, you have to use the web UI for some tasks

                    edit: I'm obviously speaking about the bitwarden/vaultwarden horror. keepassXC is none of them things.

                    N This user is from outside of this forum
                    N This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #29

                    KeepassXC is the only thing that makes sense to me.

                    I don't want all my passwords stored with some huge target like lastpass or bitwarden.

                    Encrypted local (and synced) DB is the only way.

                    1 Reply Last reply
                    7
                    • sxan@midwest.socialS This user is from outside of this forum
                      sxan@midwest.socialS This user is from outside of this forum
                      [email protected]
                      wrote last edited by [email protected]
                      #30

                      Shamelessly shilling my OSS project, rook. It provides a secret-server-ish headless tool backed by a KeePass DB.

                      • Headless server
                      • Optional and convenient integration with the kernel keyring (on Linux), for locking the server to only provide secrets to the user's session
                      • Provides a range of search, list, and get commands
                      • Minimal dependencies and small code base make rook reasonably auditable

                      You might be interested in rook if you're a KeePassXC user. Why might you want this instead of:

                      • Gnome secret-server, KDEs wallet, or pass? rook uses your (a) KeePass DB, while most other projects store secrets in their own DBs and require (usually manual) sync'ing when passwords change.
                      • One of the browser secret storage? Those also keep a bespoke DB which needs to be synced, and they're limited to browser use. Rook supports using secrets in cron jobs or on the command line (e.g. mbsync, vdirsyncer, msmtp, etc, etc).
                      • KeePassXC? KeePassXC does provide a secret service that mocks Gnome secret-service, but you have to keep KeePassXC (a GUI app) running even if you only rarely use the UI. Rook can also be used on a headless machine.
                      • The KeePassXC command line tool? That requires entering the password for every request, making it tedious to use and impractical for automated, periodic jobs.

                      Rook is read-only, and intended to be complementary to KeePassXC. The KeePassXC command line tools are just fine for editing, where providing a password for every action is acceptable, and of course the GUI is quite nice for CRUD.

                      N 1 Reply Last reply
                      5
                      • N [email protected]

                        Yup, but most of that is easily solvable by being consistent, e.g. always use lowercase and your email (even if it's not the login for that site). But yes, you need to know to be consistent so it's a good point to make.

                        T This user is from outside of this forum
                        T This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #31

                        I have more than 120 electronic identities, impossible to track the counter or to remember the tld of all websites I visit.

                        The concepts is only useful in a very small and defined scenario.

                        N 1 Reply Last reply
                        1
                        • muusemuuse@sh.itjust.worksM [email protected]

                          It never made sense to me to put password managers in the cloud. Regards to what you intend it to do, you’re making it accessible to a wider audience than necessary. And yet, I’m using iCloud. It’s time for a change.

                          I’m thinking of just running a locally hosted password manager on my home server and letting my devices sync with it somehow when I’m at home. I have a VPN into my home network when I’m away that automatically triggers when I leave the house, so even that’s not that big an issue, but I’m really not familiar with what’s gonna cleanly integrate with all my stuff and be easy to use. All I know is I wanna kill the cloud functionality of my setup.

                          I already have a jellyfish server so I figured I would just throw this onto that. Any suggestions?

                          R This user is from outside of this forum
                          R This user is from outside of this forum
                          [email protected]
                          wrote last edited by [email protected]
                          #32

                          I use GNU pass synced through an internal Gitea. Have wireguard to sync remotely. Works pretty good, I would recommend not setting an expiration on the key, the git history keeps the old encryption anyways.

                          U 1 Reply Last reply
                          6
                          • N [email protected]

                            Yup, but most of that is easily solvable by being consistent, e.g. always use lowercase and your email (even if it's not the login for that site). But yes, you need to know to be consistent so it's a good point to make.

                            O This user is from outside of this forum
                            O This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #33

                            Hahaha, that's the point of a password manager. If remembering worked, we wouldn't need any of this.

                            Also, I have 300+ unique logins.

                            1 Reply Last reply
                            2
                            • T [email protected]

                              I have more than 120 electronic identities, impossible to track the counter or to remember the tld of all websites I visit.

                              The concepts is only useful in a very small and defined scenario.

                              N This user is from outside of this forum
                              N This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #34

                              My point is that of those 120 probably 110 have never been compromised nor forced you to change the password due to expiration policies. The remaining 10 are the ones that require some mental gymnastics, so while the problem exists it's not as serious as it sounds. I probably have more than 120 identities using this method since I've been using it for years, and I don't think I ever had to use the counter, it's a matter of being consistent in how you think about websites, for example if you know how you refer to a site slugify it and use that for the field, so you would use spotify, netflix, amazon-prime.

                              1 Reply Last reply
                              0
                              • muusemuuse@sh.itjust.worksM [email protected]

                                It never made sense to me to put password managers in the cloud. Regards to what you intend it to do, you’re making it accessible to a wider audience than necessary. And yet, I’m using iCloud. It’s time for a change.

                                I’m thinking of just running a locally hosted password manager on my home server and letting my devices sync with it somehow when I’m at home. I have a VPN into my home network when I’m away that automatically triggers when I leave the house, so even that’s not that big an issue, but I’m really not familiar with what’s gonna cleanly integrate with all my stuff and be easy to use. All I know is I wanna kill the cloud functionality of my setup.

                                I already have a jellyfish server so I figured I would just throw this onto that. Any suggestions?

                                irmadlad@lemmy.worldI This user is from outside of this forum
                                irmadlad@lemmy.worldI This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #35

                                I look at it like this:

                                • I don't absolutely trust the security of my server. Sure, it hasn't had a breach.....yet, but that possibility is inevitable, given the amount of bots that keep trying to get in by the minute. It's secure, yes, but is it secure enough to entrust the keys to my bank account, my business ventures, et al? IF somebody got the key to my Lemmy account, it would be bothersome, but not cataclysmic since all online accounts are silo'd with only a couple that are linked.
                                • Bitwarden spent a lot of time and money building a large infrastructure that is, imho, far more secure than my little server. Bitwarden has a pretty good track record. They have had some vulnerabilities, even as recent as '23 but these have been remediated.
                                • Confirmation bias...I've been using Bitwarden for untold years now and have never had an issue, other than the recent UI theming schema that was so castigated by users that they offered a way to switch back.

                                While hosting my own password manager would fit right in with the rest of my selfhosting, I think sometimes it's better to defer to more secure options when dealing with highly sensitive data.

                                P 1 Reply Last reply
                                13
                                • R [email protected]

                                  I use GNU pass synced through an internal Gitea. Have wireguard to sync remotely. Works pretty good, I would recommend not setting an expiration on the key, the git history keeps the old encryption anyways.

                                  U This user is from outside of this forum
                                  U This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #36

                                  This is the way to go.. though I've moved from pass to go pass which is basically the same thing but written in go and looks to be better maintained.. also moved from gitea to forgejo since I think gitea has had some maintainer changes over the last couple of years that may not have been in the spirit of remaining fully FOSS

                                  1 Reply Last reply
                                  2
                                  • muusemuuse@sh.itjust.worksM [email protected]

                                    It never made sense to me to put password managers in the cloud. Regards to what you intend it to do, you’re making it accessible to a wider audience than necessary. And yet, I’m using iCloud. It’s time for a change.

                                    I’m thinking of just running a locally hosted password manager on my home server and letting my devices sync with it somehow when I’m at home. I have a VPN into my home network when I’m away that automatically triggers when I leave the house, so even that’s not that big an issue, but I’m really not familiar with what’s gonna cleanly integrate with all my stuff and be easy to use. All I know is I wanna kill the cloud functionality of my setup.

                                    I already have a jellyfish server so I figured I would just throw this onto that. Any suggestions?

                                    S This user is from outside of this forum
                                    S This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #37

                                    KeepassXC + Syncthing. Using for 2+ years no issues. Have separate database files for each device and merge them as needed.

                                    L 1 Reply Last reply
                                    16
                                    • A [email protected]

                                      Is the data super important to you?

                                      Let someone else host it.

                                      Bitwarden in the cloud.

                                      Edit: Bitwarden paying the monthly/yearly fee to BW. I wasn’t implying trying to host it yourself in the cloud.

                                      tmpod@lemmy.ptT This user is from outside of this forum
                                      tmpod@lemmy.ptT This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by [email protected]
                                      #38

                                      This. And to add to what other commenters have said, by using Bitwarden and paying for their Premium plan (very cheap, just $10/year), even if you don't use all their features, you're supporting a good project. It's critical infrastructure, I think the price is more than fair.
                                      Either way, you should always make periodic backups from any cloud service you use, encrypted of course.

                                      W 1 Reply Last reply
                                      2
                                      • A [email protected]

                                        I also use KeepassXC and Synthing together and I am very happy with this combination.

                                        One tip that I have, if you are worried about the security of the database file being shared, is to get 2 Yubikeys and use these, along with a strong passphrase, to protect the database file.

                                        4k93n2@lemmy.zip4 This user is from outside of this forum
                                        4k93n2@lemmy.zip4 This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #39

                                        theres also the option of using a "key file" with Keepass, which can be any file, an mp3, an ebook or whatever, and then you select that file when youre entering your password. so as well as someone trying to brute force your password they also have to guess what key file youre using, which would be next to impossible if you had a folder full of hundreds of files

                                        1 Reply Last reply
                                        0
                                        • O [email protected]

                                          i have keepass on only one device. i don't mind looking up individual passwords and typing them in manually when on other devices.

                                          on the device which hosts keepass, the app is hidden and hoops must be jumped to reach it.

                                          i back up the encrypted password database once a month to a cloud service as insurance against me losing that one device.

                                          it's not the most convenient setup but i sleep so much easier for it.

                                          4k93n2@lemmy.zip4 This user is from outside of this forum
                                          4k93n2@lemmy.zip4 This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #40

                                          using passphrases instead of passwords can make this a lot easier as well. a lot of times i just glance at a passphrase on my phone and then type the whole thing in one go into my laptop

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups