LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2025, 12:47 PM   #1
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736

Rep: Reputation: Disabled
Migrating from keepassxc to pass (password-store).


Hi,

For some reasons I want to migrate from keepasxc to pass https://www.passwordstore.org/ to store my passwords.

Reading about pass before migrating I see that uses asymmetric-key encryption to crypt little files with the passwords. I am not an expert and want to know:

It is pass commonly used? multiline or one line for each piece of data?

What are for you the defaults gpg-keygen to have strong security today?

Multikey vs onekey? Different keys security levels?

It will be recommended to do a second encryption of ~/.password-store to have like a master-key?

Some tips to wipe clipboard?

agent-gpg config?

I use my usb to decrypt my home at starts. Maybe I can make a little script to wrap pass to store passwords on the USB too.

Tips about pass-otp?

In short What are your defaults.

Thanks in advance.
 
Old 06-05-2025, 10:15 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,305

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
umm. I am not a security expert, but the details pass provides are a bit light. There are community extensions, but no mention of any review or them. Supply chain exploits are a thing so examining your sources is critical.
If you want a GPL password vault that has been critically examined by security professionals then Bitwarden is what you should be looking at.
 
1 members found this post helpful.
Old 06-06-2025, 01:53 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,569

Rep: Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268Reputation: 4268
Yeahbut ... what is the threat profile ?.
pass is a shell script - pretty easy to determine your own confidence level. By definition it's rudimentary, but that's by design. No need for the extensions if you're concerned.
I looked at it a while back, and might do again. Our security requirements are modest, and gpg that never leaves our realm is just fine.
 
Old 06-06-2025, 04:25 AM   #4
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736

Original Poster
Rep: Reputation: Disabled
Many thanks for the replies uteck and syg00.

I am lookind Bitwarden, looks nice for an alternative if I can't get a pass set up with which I feel comfortable. Thanks.
I only need OTP, so If gpg and oathtool do the work, less code less exposition.
For now I will try to set up pass following https://bitwarden.com/help/what-encryption-is-used/ and https://cheatsheetseries.owasp.org/c...l#introduction and https://cheatsheetseries.owasp.org/c...eat_Sheet.html

I will try to post my final set up here, to get some tips and maybe help someone.
 
Old 06-10-2025, 11:46 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,741
Blog Entries: 4

Rep: Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301
I mostly use "passwordsafe," and various facilities provided by MacOS. The only really-important thing is that your passwords are somehow stored in a convenient but encrypted file. So that any rogue software that might be snooping around your home directory won't find anything that it can use.

I store all kinds of "private notes" in this way.

Also: do not(!) allow "your browser" to store passwords, nor any other personal and especially financial information, no matter how "convenient" that might be. These facilities are much to "accessible" to rogue software. Keep such things "at arm's length" from your browser systems. I do not use any tool that offers to fill in passwords "for" me.

Last edited by sundialsvcs; 06-10-2025 at 11:47 AM.
 
Old 06-10-2025, 12:38 PM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 26,460

Rep: Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608
Quote:
Originally Posted by sundialsvcs View Post
I mostly use "passwordsafe," and various facilities provided by MacOS. The only really-important thing is that your passwords are somehow stored in a convenient but encrypted file. So that any rogue software that might be snooping around your home directory won't find anything that it can use.

I store all kinds of "private notes" in this way.

Also: do not(!) allow "your browser" to store passwords, nor any other personal and especially financial information, no matter how "convenient" that might be. These facilities are much to "accessible" to rogue software. Keep such things "at arm's length" from your browser systems. I do not use any tool that offers to fill in passwords "for" me.
Actually keepassxc has a plugin to the browser, so you can safely store/manage your important data with it (not in the browser) and also use in browser (I mean autofill for example).
 
Old 06-10-2025, 04:19 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,741
Blog Entries: 4

Rep: Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301Reputation: 4301
Suit yourself, but I never use "autofill." And I do not keep any passwords anywhere within potential reach of my web browser.
 
Old 08-05-2025, 01:11 PM   #8
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by viel View Post

I will try to post my final set up here, to get some tips and maybe help someone.

Not finished but. There is. Auto explained script.

EDITED: I updated the script with more notes.

Hope that was more clear.
Attached Files
File Type: txt pass_wrapper.txt (8.6 KB, 14 views)

Last edited by viel; 08-05-2025 at 08:32 PM.
 
Old 08-06-2025, 01:22 PM   #9
clueless_dolt
Member
 
Registered: Jun 2025
Distribution: Slackware64 Current
Posts: 227

Rep: Reputation: 67
Just in case you want to do this for scripting, keepassxc has a terminal/command line client, too.
 
Old 08-06-2025, 07:00 PM   #10
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by clueless_dolt View Post
Just in case you want to do this for scripting, keepassxc has a terminal/command line client, too.
Thanks, it is really nice to know that keepassxc have a command line option, unfortunately the required dependencies for build keepassxd include ascidoctor that requires ruby, are 2 packages that actually I don't have on my LFS build. For now I don't want to add extra packages/work to it, maybe in a future.

Maybe I haven't found it but seems there isn't a separated option to build only keepassxc-cli rigth?

Anyway pass do the work and is based on shell script that is a +1 for me, but thanks again.
 
Old 08-07-2025, 12:55 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 26,460

Rep: Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608Reputation: 8608
Quote:
Originally Posted by viel View Post
Maybe I haven't found it but seems there isn't a separated option to build only keepassxc-cli rigth?
It is not an option, but a subdir, so you need to run make keepassxc-cli instead of full build. Probably works. (not tested, I don't know the exact solution, need to check).
 
Old 08-07-2025, 02:11 AM   #12
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736

Original Poster
Rep: Reputation: Disabled
Tnx pan, when I get time maybe I will try it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KeePassXC 2.7.10 Open-Source Password Manager Brings Proton Pass Support LXer Syndicated Linux News 0 03-04-2025 07:20 PM
LXer: KeePassXC Password Manager Gets Better Xfce Support, Improved Password Generator LXer Syndicated Linux News 0 08-21-2020 03:21 AM
LXer: KeePassXC 2.6 Open-Source Password Manager Released with Exciting New Features LXer Syndicated Linux News 0 07-11-2020 03:51 PM
LXer: Free Password Manager KeePassXC 2.5.0 Adds Paper Backup, Re-Enables Wayland Support LXer Syndicated Linux News 0 10-29-2019 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions