this post was submitted on 21 Apr 2024
161 points (98.8% liked)

Linux

48143 readers
771 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -5 points 6 months ago (4 children)

Does KeePassXC work on the command line and over ssh connections ? pass does.

[–] [email protected] 11 points 6 months ago* (last edited 6 months ago) (2 children)

With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.

This sounds cool, but relies completely on OpenPGP. That is secure enough, right?

But this also means

  • no metadata security
  • no usernames
  • no comment

It is cool, but only having a single entry means you can not replace the website with a more anonymous placeholder.

For sure this tool sounds pretty great! Especially encrypting everything seperately is very nice.

But sometimes getting a name might already be too much.

Also to avoid big brother connecting all data, I normally have an entry like

Entry: MSOffice
username: [email protected]
password: •••••••••••••••••••••
URL: xxxxx
Comment:
   Username: xxxxxxxxx
   name: albert einstein
   birthday: 2.6.1956
   Security question 1 2 3
   TOTP backup keys: xxxx
   Random comment

This is all not possible, which means I would need the same username everywhere, or remember it (I dont, I have 300 Keepass entries).

In KeepassXC I have a single file. Hackers would need to bruteforce only one. But at least they wouldnt know exactly what they want to decrypt.

[–] [email protected] 2 points 6 months ago

I wonder if you could just encrypt a storage which is then used by pass unencrypted. So you have double encryption using something like gocryptfs.

[–] [email protected] 2 points 6 months ago (1 children)

Sure, I see what you mean. Note that I responded to the "this sucks" remark about pass by the other commenter. There is no one preventing you to use for example one password entry with Pass on a remote work server logging in with ssh sharing it with a colleague while having the other 100 password work entries kept in KeePassXC and then using Bitwarden for your 200 personal passwords.

[–] [email protected] 3 points 6 months ago

Yup, it is really cool! I have to learn to use it and use it on occasions

[–] [email protected] 5 points 6 months ago

That's not really the point though. You wouldn't argue that you can't use Firefox over ssh.

[–] [email protected] 5 points 6 months ago

there is the keepassxc-cli command. And it also supports ssh keys with integration with ssh-agent. So yeah

[–] [email protected] 5 points 6 months ago

KeepassXC is bundled with a CLI tool. But it doesn't have to do anything special for SSH. It's ultimately just text and there are multiple ways to paste text into an SSH session.