16 ms·
Pass: The standard Unix password manager
- bloaf 6y agoIt feels nice and clean, but also like it is leaking the list of sites I use.
- teddyh 6y agoLeaking to where?
- ufo 6y agoIn the default settings the names of the websites are stored unencrypted, in the filenames.
- battles 6y agoTo anyone who types pass in your terminal it looks like.
- cameronhowe 6y agocompared to other password managers which is just an encrypted database. pass uses normal folders to store your website/username information so in that way it is less protected.
- _jal 6y agoSomething to consider, sure. But the exposure is to anyone with access to your encrypted pass data. Which in the normal use case is going to be anyone with access to your user account, which means they could likely already see your shell and browser history.
- deleted 6y ago[deleted]
- iudqnolq 6y agoNot if you want to access it on multiple devices, in which case the built-in solution is to use git. In that case your git server sees all the metadata.
- bloaf 6y agoTo anything with read access to your chosen storage filesystem.
- woodruffw 6y agoI think this is outside of the threat model of most password managers -- your desktop search history (whether in your shell, Spotlight, or whatever) is leaking equivalent and probably more detailed information.
- ufo 6y agoIt can be a problem if you want to back up the password database to the cloud. That's part of the threat model for most other password managers, which use a single encrypted file for the database. Pass is the only popular one I know that stores part of the information in plaintext.
- woodruffw 6y agoI don't actually use pass, but as an idle thought: if you're concerned about this sort of metadata when syncing your `pass` store to a cloud provider, why not take advantage of the GPG key you already have and encrypt everything as a single blob in one shot? You pay a little more with each synchronization, but probably not enough to worry about for reasonably sized stores.
- ufo 6y agoThere are pass extensions that encrypt the metadata but I don't know why they are not the default.
- deleted 6y ago[deleted]
- encryptluks2 6y agoThat is what something like Gocryptfs would be good at masking: https://wiki.archlinux.org/index.php/Gocryptfs https://wiki.archlinux.org/index.php/Gocryptfs Or there is an extension called pass-tomb: https://github.com/roddhjav/pass-tomb https://github.com/roddhjav/pass-tomb
- oritsnile 6y agoI've used pass for a while, but I switch to bitwarden, since it has official apps for all platforms. Also with bitwarde I only have to trust them, with pass I have to trust all the different app developers.
- b1476 6y agoWhat different app developers? Isn’t pass basically a wrapper around GPG?
- PureParadigm 6y agoI've been using pass for several years now and I recommend it to my friends, but I usually get weird looks when I say I store my passwords in a git repo (it's not as bad as it sounds!). Here's why: - I host my git repo on my desktop computer (through SSH), so it's not exposed anywhere except if you have SSH access to my computer. (A lot of people seem to think git = GitHub which is not true). So if your git repo is not exposed to the public, you don't leak any of the site names/usernames you use. - The passwords are GPG encrypted so even if it were leaked that would be okay as long as my secret key remains secure. As far as usability goes, I usually use the -c option to copy/paste my passwords. I used a browser extension for awhile, but I haven't gotten around to reinstalling since the copy/paste works fine for me. Syncing with my phone and Linux devices works perfectly (since it's just git). The Windows client seems to be no longer maintained [1], so I would like better support here for my Surface. But this is still okay since I can SSH to my desktop computer from Windows and copy/paste the passwords from there. [1] https://github.com/mbos/Pass4Win#readme https://github.com/mbos/Pass4Win#readme
- spicybright 6y agoHow do you get your passwords out of the repo on your phone?
- PureParadigm 6y agogit push. The Android app works with git repos from SSH. I also use Wireguard since I run my SSH server behind the VPN, but this is obviously optional since you can just expose your SSH server to the internet.
- spicybright 6y agoSorry, I meant more on the UI side. Like if I'm on a website that needs a login, do I run a pass command in a local terminal, then copy and paste?
- coldtea 6y ago
- tlackemann 6y agoPass user for many years, always loved it. There are a number of ways to integrate it into rofi too, so with the press of a few keys I can navigate to any site and login instantly. To squash a few concerns: - Leaking data - If someone types "pass" in your terminal it will show a list of sites that you've stored. I don't find this any less obvious than if someone had LastPass installed on their machine. - Trusting different app developers - This can be true, but if you stick with the CLI then there's only one app to trust - and one person! You don't rely on a company to safegaurd your data, you trust yourself. YMMV, thoughts are my own. I happen to very much enjoy pass and I think others might too if you like owning your own data.
- mumblemumble 6y ago> If someone types "pass" in your terminal it will show a list of sites that you've stored. This is not really any different from Keychain on a Mac. I don't really see it as a major downside. If someone's logged into the computer as you, you're already hosed, and this is hardly the first place they're going to look to get a list of websites you've visited.
- cycomanic 6y agoBut that's not the concern, anyone who gets their hand on your passwordstore (encrypted) gets the same information. That is not the case with a format that stores your password in one big database. The implications can be quite significant, because if I get my hands on your store, I might find out that you are User xx on yy which I can then use to try to compromise via social engineering (or it might has a known exploit) and use that as a springboard for other sites that I know from your pass store.
- iudqnolq 6y agoWhat people mean by leaking metadata is if you sync over git or dropbox you also leak the metadata to them. Whereas with 1password or something like it the sync server only sees an opaque blob.
- 6y ago
- JadoJodo 6y agoI love the idea of Pass, but from what I've seen of the UX (not talking looks) it doesn't really compare to the ease of use of products like 1Password (which I suspect was the catalyst for this being reposted). Does anyone have any contrary experiences when shared across iOS, Linux, and macOS devices + browsers?
- Skunkleton 6y agoI really like pass, but I switched to Bitwarden for this reason. Bitwarden has first party support everywhere I need it. Pass has clients everywhere, but other than the CLI I have not been impressed.
- cameronhowe 6y agoit couldnt be easier to keep up to date across devices: pass git push pass git pull there are also at least two browser addons both of which work very well for filling fields
- 12ian34 6y agoum, yes, it could be easier. It could sync across devices automatically...
- encryptluks2 6y agoQtPass was descent last time I tried it but I'm not sure if it has been updated recently. Not really much need to have a separate GUI though when there are browser extensions like Browserpass.
- dbmikus 6y agoI don't use Windows, but I very easily use pass across multiple Linux, Mac, and Android devices. Sometimes I forget to git push something, but that's pretty rarely an issue for me. Set up requires a bit more work than 1Password, etc. but I still think it's pretty easy to set up. On my computer, I actually like the UI more than anything else because I use ZSH completion for pass and FZF for history search and thus copying any password is just like 5 keystrokes on average.
- philips 6y agoI love pass but mostly use it as a tool for an encrypted journal. alias journal='pass edit journal/$(date +%Y-%m-%d)'
- kingo55 6y agoGreat use case!
- NullUsr 6y agoI wrote a pass-like password manager that's built using a layered architecture and one of the lower layers basically fits your exact use-case! The three layers that make up the password manager are: - securestore - An encrypted file store - vcstore - A version controlled file store - pass - Password manager functionality Each layer builds on the last, so in your case, you could just use the vcstore layer directly without the password manager functionality. I wrote a blog post on it[1] if it sounds interesting. [1]: https://vimist.github.io/2020/04/12/A-New-Password-Manager.html https://vimist.github.io/2020/04/12/A-New-Password-Manager.h...
- dogline 6y agoThat's a nice idea.
- nextstep 6y agoIs there a way to synchronize this with 1Password via a plug-in? I would like to use pass as another backup of my 1Password database.
- gen220 6y agoThere are plugins for importing into pass from all kinds of password managers. (https://github.com/roddhjav/pass-import#readme https://github.com/roddhjav/pass-import#readme) You could setup a cron job that polls 1Pass for your password CSV, imports the CSV into to pass, and commits the diff. Caveat that I don’t know how robust 1Password’s API is, or indeed if they have one. You might need to do the “gimme all my passwords in a CSV” step through a GUI, or a very hacky puppeteer script.
- iudqnolq 6y ago1password has a decent cli that's essentially a thin wrapper around their api. It mostly outputs json.
- xrisk 6y agoI used to use this, and then I moved to a real password manager. Like seriously, this doesn’t hold a candle to an actual well-engineered password manager. I use Keepass right now, with MacPass and Keepassium; both excellent apps.
- barbs 6y agoWhat does Keepass do that pass doesn't?
- spicybright 6y agoI've only used keypassx on windows, but the auto fill feature was amazing. You would push a key shortcut, then based on the window title of whatever window has focus, it would simulate key presses into it. So I could type secure credentials into any program on my computer with one key stroke.
- Isognoviastoma 6y agoThat's how I use pass on Linux. A key shortcut is bind to script that calls "xdotool getwindowfocus getwindowname", selects credentials set based on it, asks for master password with pinentry-qt if needed, then types with "xdotool type --file -". It works and is better than placing password in clipboard and than "xdotool type $pass". Likely worse than proper integration with password consumer.
- nulbyte 6y agoInteresting. I just have a keyboard shortcut in i3 that uses dmenu to let you select a credential. Very handy as I have multiple accounts for some sites/apps. Plus, the browser extension has its own keyboard shortcut.
- spicybright 6y agoOhhh, now that's a really clever way to do it! Never ceases to amaze me how flexible xdotool can be.
- Justsignedup 6y agohere's why this is a bad idea: - i generate random passwords for myself (yay) - i share these random passwords with my team (ugh... git i guess huh!) - i share some of these random passwords with my family (you try teaching a 6 year old git, and a 37 year old woman who already doesn't want to change her habits) - i use these passwords on my home computer (windows), work computer (osx), android, ios Yeah, not going to switch away from 1password any time soon.
- shakna 6y ago> - i use these passwords on my home computer (windows), work computer (osx), android, ios All of these have support for GPG, yes? So pass will work fine with them. It's just a wrapper around GPG.
- coldtea 6y agoNot sure what any of the above have to do with this app... "- i share these random passwords with my team (ugh... git i guess huh!)" Git doesn't mean you "share" anything. First, you can use a private repo, second your passwords are encrypted. Unless you give the master key, nobody "shares" your passwords, even if they have access to the git repo.
- Justsignedup 6y agoI'm saying the tool works for a subset of uses for generated encrypted password stores. Unless I misunderstand and this is entirely for secret sharing between servers, in which case I retract everything I said.
- tadfisher 6y agoIf your team has GPG keys (they should if they're signing Git commits) then pass works great for teams as well. You can encrypt to multiple GPG key IDs so many users and decrypt passwords from a shared git repo.
- encryptluks2 6y agoGopass allows you to share passwords and encrypt with multiple GPG keys.
- vmception 6y agoTangential question: why doesnt keepass or keepassx autosave? Why does it even have the antiquated save button to begin with? I have permanently lost access to some things due to this, as other password managers don’t have retro features like that. Usually when I’m using unix or linux, its on an OSX keyboard so even my reflexive shortcut key saving has buttons flipped.
- coldtea 6y ago>The password store does not impose any particular schema or type of organization of your data, as it is simply a flat text file, which can contain arbitrary data. That whole section, the options (or lack thereof) is a mess...
- encryptluks2 6y agoNot really.. Gopass which is compatible supports YAML-based key/values. I find having to conform to a particular password management solution for extended entries to be more messy.
- yakubin 6y agoIt is a file-based key-value store, where only the values are encrypted[1], with GPG to make it worse. For these reasons, I moved to KeePassXC. It is cross-platform, has a nice Qt GUI and you don't have to resort to hacks to have several values associated with a single key (i.e. not just password, but also username and others). [1]: Keys and Git history are not encrypted.
- taeric 6y agoI get why folks don't like gpg for securing email. What makes this use of it bad?
- yakubin 6y agoBecause you still need to manage your GPG keys with an obscure CLI. When I last switched computers, I tried just copying my "~/.gpg" directory. Didn't work. GPG was confused, produced even more confusing messages, which didn't really help me understand what the problem was. I needed to google for the right incantation of commands to export my keys from one computer and import them on another. Compare that to what you have with KeePassXC: switching computers? Just copy this single file and everything will just work. And I don't want to know if I'm holding GPG right. I just want the tool to work for my specific case. But GPG wasn't designed specifically with this case in mind, so, as usual, it will be terrible. It tries to be too many things.
- taeric 6y agoAh, I will make no real defence of gpg's ux. I wasn't sure if you were referring to anything else. I'll take a look at keepassxc again someday. I'm assuming it works with yubikeys?
- approxim8ion 6y agoYes, keepassxc works with yubikeys.
- netflixandkill 6y ago
- aborsy 6y agoHere are some of the pros of the Pass: * It leaks meta-data. That might sound a con, but in exchange you get the ability to extract a password without decrypting and thus exposing other passwords. There is isolation. * It’s more convenient than a single file password manager. You type ‘’pass -c goo’’ for your Google account, instead of clicking on your password manager, typing password, searching in data base, finding the right entry, copying password or pressing auto complete and closing the database. The combination of mouse and keyboard can make alternative password managers slower. * You don’t need your master password to add a new password (it uses asymmetric encryption). * You can easily program it, eg, write a backup script that grab a password from store. * It uses GPG which means your secret key can be stored on Yubikey, handled by a dedicated agent. Your password is basically a short PIN with max 3 tries. This is unparalleled convenience and security! * It’s secure, because it’s a short bash script that you can check, and delegates encryption to a dedicated well-audited cryptographic tool. * You can encrypt to multiple keys, thus use it similar to LUKS that supports multiple passwords. * GPG is usually widely available, so you can decrypt a password on another system on which you may not admin rights to install your password manager. There might be few cons though. For example, if you store your database on a cloud, say, Dropbox, Dropbox could switch your Dropbox.com file with google.com file, and you copy and hand over your Google password to Dropbox. But this is hypothetical for most of us! Also, some people don’t like metadata (filenames) leakage, though apparently there are solutions for that. Overall it’s very convenient and functional. I highly recommend it.
- taeric 6y agoThe asymmetric point is surprisingly useful.
- jedimastert 6y agoIt makes me slightly weary, as those sorts of things can have unintended consequences. For example, there was a soc al engineering exploit where someone would call into Amazon and add a credit card to an account they didn't own. They would then call right back and request a new email added to the account and use the freshly added credit card as authentication. They could then use your Amazon account, or use the real card associated with the account as authentication for something else
- woodruffw 6y agoI don't use pass myself (I have severe NIH[1]), but its design has inspired me many times over: very, very few tools rise to the challenge of adhering to the Unix philosophy without cargo-culting it, and pass is one of them. I highly recommend that people looking to write engineer-friendly tools study its manpage[2]. [1]: https://github.com/woodruffw/kbs2 https://github.com/woodruffw/kbs2 [2]: https://git.zx2c4.com/password-store/about/ https://git.zx2c4.com/password-store/about/
- ruiseal 6y agoI also wrote my own age compatible pass clone a year ago but yours is much better. You've gotten a new user.
- rkeene2 6y agoSimilarly, I wrote "hunter2" [0] to manage my passwords, for places where I'm still forced to use passwords. Although I didn't know of "pass" when I wrote it, it accomplishes the same goals. One difference is that it doesn't rely on PGP keys but just uses bare RSA keys from a smartcard. This is because the vast majority of authentication systems I work with use an X.509 certificate with an RSA key pair, hardly anything uses a password any more (since doing so requires a lot of paperwork). [0] https://chiselapp.com/user/rkeene/repository/hunter2/ https://chiselapp.com/user/rkeene/repository/hunter2/
- dejj 6y ago> kbs2 uses the rage[1] implementation of age[2]. Symmetric encryption with an actually comprehensible CLI; thank you! [1]: https://github.com/str4d/rage https://github.com/str4d/rage [2]: https://github.com/FiloSottile/age https://github.com/FiloSottile/age
- slk500 6y agoI finally havve found a peace with emacs orgmode+gpg
- gmuslera 6y agoIt's simple file format let to build different interfaces to access the same files. I prefer gopass (https://www.gopass.pw/ https://www.gopass.pw/) as user interface as it have a few extra features that makes it a bit more confortable.
- zabzonk 6y agoIn what sense is this "standard"?
- jeremy_k 6y agoInteresting to see this come up. I wrote about using pass to authenticate to Docker inside of an alpine linux docker container last summer[1]. It was quite the undertaking to get it all working. The premise was to figure out how to securely log authenticate to docker, potentially in a CI type system. [1] - https://jer-k.github.io/apline-linux-docker-authentication-with-pass https://jer-k.github.io/apline-linux-docker-authentication-w...
- 2pEXgD0fZ5cF 6y agoBeen planning to switch to pass for a while now because it looks nice! Is there a comfortable way to store+access arbitrary files and/or attachments with pass?
- dbmikus 6y ago# pipe an arbitrary file into pass cat ~/Desktop/test-image.png | pass insert -m test-image # get the arbitrary file out of pass pass show test-image > /tmp/test-image.png
- NullUsr 6y agoI love the simplicity of Pass, but I wanted just a few more features, like being able to store (and retrieve) extra data easily. Unstructured data below the initial password wasn't really enough for me. I ended up taking huge inspiration from Pass, but writing my own implementation[1] with a few more features that increased it's usefulness for my use cases. I posted it a while ago on here[2] and Reddit[3], but it basically stores each entry as a Bash script, which gives it so much flexibility: auto-typing, references, multiple fields, executable functions, etc. I also wrote a blog post on it[4]. I'd be interested to hear what people think of if if anyone did/does end up giving it a go. [1]: https://github.com/vimist/securestore https://github.com/vimist/securestore [2]: https://news.ycombinator.com/item?id=22851447 https://news.ycombinator.com/item?id=22851447 [3]: https://www.reddit.com/r/linux/comments/g0643w/a_new_password_manager https://www.reddit.com/r/linux/comments/g0643w/a_new_passwor... [4]: https://vimist.github.io/2020/04/12/A-New-Password-Manager.html https://vimist.github.io/2020/04/12/A-New-Password-Manager.h...
- dbmikus 6y agoIn my pass files, I put the password as the first line, optional username as second line, then I format the rest of the file as a YAML doc. So you can decrypt the file, scan for the first "---" and then everything after that is YAML (or multiple YAML docs if you have more "---"). Regardless, cool little set of programs you have!
- GekkePrutser 6y agoIt's not all that unstructured. Most apps support using Login: or URL: prefixes. Like browserpass and the Android app
- timvisee 6y agoI've developed `prs` as `pass` alternative. It fixes many annoyances for daily use. It provides automatic syncing between multiple devices through git, supports multiple keys and many other things. It simply uses your existing `pass` store. Some might find it useful. https://github.com/timvisee/prs https://github.com/timvisee/prs
- fullstop 6y agoThe author of this is the person behind both wireguard and cgit.
- johnklos 6y agoWho decided that this is somehow a standard?
- remram 6y agoPeople who use it, like any other standard.
- pjmlp 6y agoUNIX standard is here, no mention of pass. https://pubs.opengroup.org/onlinepubs/9699919799/ https://pubs.opengroup.org/onlinepubs/9699919799/
- mewse 6y agoIt's an amusing reference to the cheeky line from the historic Unix man page for `ed`; "the standard Unix editor". RE: who decided.. well, the presence of `ed` was a requirement for an OS to be accredited as POSIX-compatible, so that's presumably why `ed` decided to describe itself as 'the standard'. But `ed` fell so far out of favor once screen-based editors (`vim`, `emacs`, etc) became commonly available that the "the standard" line which continued to hang around in ed's documentation became a bit of a Unix in-joke. The modern GNU version of the `ed` tool describes it as "line-oriented text editor" instead of as "the standard Unix text editor". And only briefly mentions the old phrase in an apologetic explaining why that old phrase was used in the past. So the short version of the answer: it's not. It's an in-joke which is attempting to draw to mind a comparison of this software against older, simpler Unix tools like `ed`. Which IMHO is totally valid, if you say pass is to lastpass as ed is to vscode. Simpler tool, possibly easier to use for keyboard-focused folks, focuses on doing just one thing and doing it well, etc.
- pjmlp 6y agoExcept ed is part of POSIX, so it has every right to that assertion on the man page. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/e...
- oxplot 6y agoI've just recently started to use 1password and here're my thoughts: - Amazing support and fast response on their forums from the reps - Works across Linux (my desktop), Mac and iPhone and Safari and Chrome browsers - Has CLI - Syncs instantly (unlike Chrome and iCloud Keychain) - Supports TOTP (no - it does not completely defeat the purpose of 2FA, there are multiple aspects to it) I am also aware of the risk I'm taking by trusting a 3rd party commercial company with my credentials.
- bvrmn 6y agoI also use it for TOTP. Main reason: storing totp-key on a mobile device is too insecure.
- mnemnc 6y agoThey at least offer local network syncing, instead of requiring a cloud account (which is a deal breaker for me). This lets you keep your passwords in sync between your Computer (master) and mobile devices without them ever leaving your home. All that does of course still require trust in the company, but at least not in their cloud infrastructure and, well, the internet...
- voidfunc 6y agoI love pass but I have been having very weird issues lately with gpg agent taking ages to ask me my password to decrypt the database. Really annoying and googling has not yielded fixes. Worse the dev doesn’t use GitHub so getting in touch is a giant pain in the ass.
- jaredsohn 6y agoI've had this problem and would solve by killing gpg-agent as described at https://unix.stackexchange.com/questions/382279/gpg-hangs-when-private-keys-are-accessed https://unix.stackexchange.com/questions/382279/gpg-hangs-wh... Ideally there would be a better solution.
- voidfunc 6y agoUnfortunately that solution did not work for me :<
- barbazoo 6y agoI like apps with browser integration like 1Password so I don't have to copy the plain text password to the clipboard or even have it be visible in my she'll.
- efiecho 6y agoTo backup the passwords a copy of ~/.password-store/ is enough, but to completely recover, a backup of the gpg keys is also required. What's your strategy for this? Do you just backup the entire ~/.gnupg/ directory?
- captn3m0 6y agoHardware Yubikeys (2 for daily use, one as backup) with a paperkey backup. If my main key breaks, I can switch to the backup key which gives me a buffer to setup a new key from my backup. The ArchWiki has a decent guide: https://wiki.archlinux.org/index.php/Paperkey https://wiki.archlinux.org/index.php/Paperkey
- mzur 6y agoI have my key on multiple devices (e.g. my phone where I use the Password Store app). Then I have backups of the key as .asc on USB drives as well as printed on paper at two different physical locations.
- TeddyDD 6y agoI use passphrase2pgp[1] so I can recreate my GPG key anywhere. I need to remember three pieces of information: - passphrase (long sentence, but it's easy to remember) - uid (Name <email> - easy) - timestamp (10 digits - kinda hard to memorize but you can have it noted is plain text since it's not sensitive information) [1]: https://github.com/skeeto/passphrase2pgp https://github.com/skeeto/passphrase2pgp
- vinceguidry 6y agoI use pass as my general purpose personal secret management system. It synergizes very well with direnv, another one of my favorite tools. Using bash substitution, you can set a per-directory environment variable to the output of a pass command. This way you never have to have unencrypted secrets sitting on your dev machine. I manage multiple machines, and while ssh-agent forwarding is easy to use, a lot of people don't know about gpg agent forwarding. It's a bit fiddly, but it allows you to store all your secrets encrypted on your remote machines and have your gpg agent sitting on your personal machine. I sorta wish it had different encryption backends, gpg is a bit long in the tooth. But it works just fine.
- coolpanda0 6y agomight be weird, i use this app to encrypt things to a file and use google drive to the store encrypted file. it work well for me as i constantly switch computers and do not trust cloud vendors. So even google account might leak out, without password, data wont be compromised https://github.com/privapps/notebook https://github.com/privapps/notebook
- adrium 6y agoUsed KeePass and pass in the past. KeePass is nice, but has much more features than I really need. I wanted something lighter and simpler, so I migrated to pass in 2015. Even though it is nice that it relies on tools like gpg and git, it complicated things more than not. It is (was?) hard to use on every OS except Linux. And in addition to backing up the database, the gpg key now needs to be backed up, too. Password management is messy. When searching for alternatives, I found the concept of stateless password managers. Proprietary cloud solutions are off the table for me. Because I travelled a lot in 2018, a new criterion emerged: How does bootstrapping work? How do you get any password from the database on a device that you do not own? This is obviously difficult with a traditional approach. I quickly migrated most important logins and never look back! Besides storing passwords, a password manager should also help using them. KeePass provides Auto-Type for this. Eventually, most passwords will be used in the browser. Having a compatible browser extension became a must. Copy-pasting is a dealbreaker, because every application can read the clipboard! Most desktops support text drag and drop and on mobile, the application should provide a custom keyboard or accessibility feature. In the meantime, I am using my own browser extension and wrote a converter plugin for KeePass to occasionally copy them (for convenience only) to my mobile. Typing the master password is cumbersome, so I use a random file (one of the dozens) in the Downloads folder as keyfile. In case of emergency or for bootstrapping, there is a web app.
- hpfr 6y agoIf you can stomach some more features, KeePassXC is well-maintained and has an excellent browser extension as well as FDO secret service integration on Linux for CLI access via secret-tool.
- gspr 6y agoIt took me way too long in life to finally start using a password manager (a few years ago). Pass was what finally convinced me. Seldom is a tool perfect, but pass is pretty damn close to!
- 2ion 6y agoSame. My previous solution --- LUKS container mounted from a file with just directories and plaintext files in it --- was pretty secure too but pass is really convenient in comparison. I'm currently playing with integrating bitwarden self hosted into my flow, eyeing a switch, but it's way more complicated to understand than pass...it does not make it easier to trust it.
- redsparrow 6y agoI use pass for exporting secrets to environment variables. I have a multi-line password called "envvars" that contains a script like this: #!/usr/bin/fish set -x PASSWORD hunter2 set -x PASSWORD_STG hunter3 set -x LUGGAGE_KEY 12345 set -x TOKEN (curl "https://api.example.com/oauth/token" \ --data-urlencode "username=$USERNAME" \ --data-urlencode "password=$PASSWORD" | jq --raw-output .access_token) set -x TOKEN_STG (curl "https://api-stg.example.com/oauth/token" \ --data-urlencode "username=$USERNAME_STG" \ --data-urlencode "password=$PASSWORD_STG" | jq --raw-output .access_token) When I want to set the environment variables I run `pass show envvars | source` and it sets the environment variables for the current shell. It's an easy way to keep the secrets out of my shell history and plaintext files.
- mackrevinack 6y agovery nice. ive been setting up a post install script the last while and something like this would be very useful for logging into some desktop apps automatically
- rhardih 6y agoFor any LastPass users out there contemplating a switch to pass, I just recently did so myself. Wrote a bit about it here: https://rhardih.io/2021/03/migrating-from-lastpass-to-pass/ https://rhardih.io/2021/03/migrating-from-lastpass-to-pass/
- tasuki 6y agoI'm a LastPass user contemplating a switch. Your article doesn't say why I should switch. You mention "more control", and that's my thinking as well, but it just appears... not worth it to switch for something so nebulous? Perhaps I'm too lazy?
- rhardih 6y agoMy own reason was mostly, that do to the dance with mobile; non-free/free/non-free, I thought it was about time to look into self hosting. The post is not really meant to convince you, just that it's definitely doable, with a bit of effort.
- frobisher 6y agoGreat tool. For those of you who want to set up `pass` on your Android phone, here are my rough notes on how I did it. Apologies, they are rough: - install Password Store on Android phone - import remote repo using ssh - in my case, I was able to generate a new ssh key for my Android phone from within the Password Store app - I “somehow” sent this to myself and added on my github profile settings (from my laptop) - I was able to import my repo and see all my password names! - still need my GPG key to unlock the password. For this I needed to install OpenKeychain on my android phone - then somehow need to import my GPG key from my laptop to my phone - followed this to create the key file, knew most already: https://medium.com/@johnnymatthews/import-a-gpg-key-onto-your-phone-7dbadf16fefa - couldn’t find a cable to connect to USB! Turns out if you connect to your phone by bluetooth, in Ubuntu it’s pretty easy to send a file from the Bluetooth settings menu. Finding the file on my phone was another challenge! Turns out it’s stored in a “pixel 3a > bluetooth” folder in the files browser - imported file into OpenKeychain! I love that using my gpg key still required my passphrase (only in my head!). Don’t forget to delete the gpg key you exported on your laptop and your phone! Security of this? Not sure. And voila! I can now see my `pass`words on my Android phone!
- mjgs 6y agoI discovered a couple of years ago that iTerm2 has a password manager, as well as other cool features like live text highlighting via regex. Anyway it was the first time I had ever used a password manager that you can call directly in the shell. It’s awesome, and once you memorise a few simple key combos it’s super easy to input stored passwords in the shell.
- spuz 6y agoWhy would you want a password manager in your shell? How many times do you need to access password authenticated services from your shell?
- teekert 6y agoDo you use the same pw for all your encrypted SSH keys? Btw, [0] works well for 2fa on ssh keys. [0] https://www.akamai.com/us/en/products/security/akamai-mfa.jsp https://www.akamai.com/us/en/products/security/akamai-mfa.js...
- mjgs 6y agoMostly for running commands with sudo, and changing to different users, it really made my workflow a lot faster especially because I have several environments, and each one has different passwords.
- deleted 6y ago[deleted]
- gjkngr 6y agoYou can also use it with ansible: https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html https://docs.ansible.com/ansible/latest/collections/communit...
- zikduruqe 6y agoI’ve been using Pass for years, and love it. Question for HN... is there a project that anyone knows of, that is using Age instead of GPG as the encryption for Pass? I’ve seen a few implementations of it, but nothing I’d use for a daily driver yet. Example, not my project - https://github.com/somasis/passage https://github.com/somasis/passage
- pjmlp 6y agoIt cannot be a standard when it isn't part of POSIX.
- upofadown 6y agoI just use Syncthing on .password-store to provide me with protection of metainfo and access on my various devices. Since the store is just a bunch of files it just works.
- Liskni_si 6y agoI've been using this with a modified version of the example passmenu script, enhanced with: * ability to store/retrieve additional YAML metadata like username, e-mail, etc. * pre-selection of entries by looking at URL and focused form field (this needs the add-url-to-window-title browser extension) So in most cases I press a keybinding which invokes passmenu, and then just press enter as the correct entry and field (password/username) is already selected. Quite handy. Source here if anyone's interested: https://github.com/liskin/dotfiles/blob/home/bin/passmenu https://github.com/liskin/dotfiles/blob/home/bin/passmenu and https://github.com/liskin/dotfiles/blob/home/bin/.passlib https://github.com/liskin/dotfiles/blob/home/bin/.passlib
- ghosty141 6y agoI really dislike the usage of the $HOME directory for storing dotfiles. It gets so unbelievably cluttered after some time. I much prefer the XDG Basedir spec. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html https://specifications.freedesktop.org/basedir-spec/basedir-...
- jrm4 6y agoSo, just to share the thing I do: I let Firefox save a lot of passwords, and for those that require more; I have one encrypted Linux volume on my computer. In that volume, name of file is name of service or website, and login and pass are written however. To speed things up a tad, I have a custom command that points fzf with preview to it, with a little oath2 script in the preview to handle 2FA. I've been hearing stuff lately about how I should perhaps be concerned when copy-pasting? But for now, these feels pretty good.
- osb 6y agoA well praised password manager that unfortunately will never be useful for the non-tech people, at least for me. I saw so many wonderful reviews, recommendations and reports about the simplicity of using it. And the level of excitement from the reviewers made me think I should try it as soon as possible. But with only basic-medium Linux skills I will never be able to install pass. I looked everywhere for step by step tutorials on how to run it, but there‘s always a „skipped“ step or a small „something“ that will lead me to failure (despite of spending hours in searching how to do this part). Unfortunately I had to give it up and started to use bitwarden. Same with etesync - no way to use it, even the paid version with hosting on the developer‘s server gave me a hard time. I could never use it right: android, iphone or macos. So back to Apple‘s calendar or some other easy alternative. Ah… :-(