this post was submitted on 06 Oct 2024
39 points (97.6% liked)

Linux

48323 readers
919 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
39
submitted 1 month ago* (last edited 1 month ago) by King@r.nf to c/linux@lemmy.ml
 

Can I use it fully offline?

How do I back it up to USB drive?

What does the day-to-day operation of Pass compared to Keepass look like?

I am trying to learn it as I want to use it, as I think that keepass is bloated for my use case, and I would appreciate any help here.

all 12 comments
sorted by: hot top controversial new old
[–] darkan15@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

I use qtpass as a GUI for pass

Can I use it fully offline?

Yes, it is fully offline, you can back it up by any mean you could any other file, and it should be fine as the files are encrypted (should store the keys separated), can be a USB, an external drive, another computer in your LAN, a git repo, nextcloud, syncthing.

How do I back it up to USB drive?

You copy and paste the files

What does the day-to-day operation of Pass compared to Keepass look like?

As I said I use qtpass as a GUI so, open qtpass, search for the specific password file, double click, put the password for my gpg key and then the password I need is stored in clipboard for 30sec (this is customizable or can be disabled) and I paste it where I need it.

If I need to store a new password, just use the add password button, and input the data, it is that simple.

[–] JubilantJaguar@lemmy.world 3 points 1 month ago (2 children)

What does the day-to-day operation of Pass compared to Keepass look like?

Someone else can confirm but Keepass seems to use symmetric encryption, whereas Pass definitely uses an asymmetric key pair.

This is why I gave up on Pass. Obviously it has its advantages or they wouldn't have done it, but personally I find that this is too much complexity for something as critical as password storage. I want to be able to access the vault with a single memorized master password and nothing else. That is only possible with symmetric encryption.

[–] Ephera@lemmy.ml 3 points 1 month ago

I'm guessing, they did it this way, because there's no persistent process to keep the decrypted files open. You'd need to ask the user for the password for every single command they run. With GPG, that persistent process is gpg-agent.

Of course, encryption with a GPG key is also going to be more secure than the longest password you can come up with.

I guess, many people will want access to GPG, too, if they want access to their passwords, so they're not bothered by it.
But yeah, I do also remember setting that up on Android, where you need a separate app to do the GPG, and it really stops feeling simple pretty quickly...

[–] darkan15@lemmy.world 2 points 1 month ago* (last edited 1 month ago) (1 children)

This is not correct as pass uses GPG, and you can do symmetric encryption with it, it is just a different parameter in the command.

You can use a different password per file, or the same one

[–] JubilantJaguar@lemmy.world 2 points 1 month ago

Citation needed, man page says nothing about that. Of course, you can use GPG directly to get symmetric, that is what I chose to do

[–] Telorand@reddthat.com 2 points 1 month ago (1 children)

Can someone explain to me how to use pass?

Maybe start by reading the documentation on their website.

Can I use it fully offline?

Seems like it. Sounds like it's only online if you send the encrypted files to some cloud storage. They suggest using git.

How do I back it up to USB drive?

Same way you'd backup any other file. You could probably even clone using git.

What does the day-to-day operation of Pass compared to Keepass look like?

No idea. I use Bitwarden.

[–] wwwgem@lemmy.ml 2 points 1 month ago* (last edited 1 month ago)

I second that. The official documentation is always the place to start.

Then, if you need more info or other explanation I usually recommend looking at the arch wiki. Whether or not you're using arch, instructions there are valid and one of the best you can find.

Finally, this tuto may help you as well

[–] lungdart@lemmy.ca 2 points 1 month ago

Pass uses GPG and git under the hood.

You create keys to encrypt your data, and keep the encrypted data in git locally which can be cloned to github, gitlab and the like.

It's just files on your computer, so you can back them up that way, or use a thumb drive as a remote git repo and push to it.

Day to day Type pass and tab complete to find the entry. Enter the command and be prompted to unlock it. It will then print the credentials to the terminal.

To create a new password, you type and add command followed by a name and a text editor opens up for you to type credentials in, or it can generate them for you.

To keep your backup up to date you just git push to the remote of your choice. I use github