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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-04-2025, 12:47 PM
|
#1
|
|
Member
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736
Rep: 
|
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.
|
|
|
|
06-05-2025, 10:15 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,305
|
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.
|
06-06-2025, 01:53 AM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,569
|
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.
|
|
|
|
06-10-2025, 11:46 AM
|
#5
|
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,741
|
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.
|
|
|
|
06-10-2025, 12:38 PM
|
#6
|
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 26,460
|
Quote:
Originally Posted by sundialsvcs
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).
|
|
|
|
06-10-2025, 04:19 PM
|
#7
|
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,741
|
Suit yourself, but I never use "autofill." And I do not keep any passwords anywhere within potential reach of my web browser.
|
|
|
|
08-05-2025, 01:11 PM
|
#8
|
|
Member
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736
Original Poster
Rep: 
|
Quote:
Originally Posted by viel
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.
Last edited by viel; 08-05-2025 at 08:32 PM.
|
|
|
|
08-06-2025, 01:22 PM
|
#9
|
|
Member
Registered: Jun 2025
Distribution: Slackware64 Current
Posts: 227
Rep:
|
Just in case you want to do this for scripting, keepassxc has a terminal/command line client, too.
|
|
|
|
08-06-2025, 07:00 PM
|
#10
|
|
Member
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736
Original Poster
Rep: 
|
Quote:
Originally Posted by clueless_dolt
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.
|
|
|
|
08-07-2025, 12:55 AM
|
#11
|
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 26,460
|
Quote:
Originally Posted by viel
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).
|
|
|
|
08-07-2025, 02:11 AM
|
#12
|
|
Member
Registered: Jul 2021
Location: Arcadia
Distribution: LFS, (Slackware-15.0 backup)
Posts: 736
Original Poster
Rep: 
|
Tnx pan, when I get time maybe I will try it.
|
|
|
|
All times are GMT -5. The time now is 06:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|