Hi, On my workstation and my laptop I'm using KeePassXC to store login credentials for my websites. The database is stored in my OwnCloud share, so it's synchronized between my two computers. Ideally I'd like to have something similar for my servers, but command-line driven. I know these tools exist but I haven't tested them yet. What I have in mind is a command-line password manager that stores the database in an encrypted database - like KeePassXC - and then I could eventually store this file in a private Gitlab repo to centralize it and access it from all my servers. Can you recommend any particular command line password manager ? Any recommendations / caveats for this kind of setup ? Cheers from the locked down South of France, Niki -- Microlinux - Solutions informatiques durables 7, place de l'?glise - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : info at microlinux.fr T?l. : 04 66 63 10 32 Mob. : 06 51 80 12 12
Sebastien FĂ©minier
2020-Nov-23 09:52 UTC
[CentOS] Password manager for the command line ?
Hi Niki , I use "pass" to manage my password , it's based on gnuPG , you can find more info on the web site => https://www.passwordstore.org/ . For sync you can use Git . Seb. Le Mon, Nov 23, 2020 at 09:24:18AM +0100, Nicolas Kovacs a ?crit :> Hi, > > On my workstation and my laptop I'm using KeePassXC to store login credentials > for my websites. The database is stored in my OwnCloud share, so it's > synchronized between my two computers. > > Ideally I'd like to have something similar for my servers, but command-line > driven. I know these tools exist but I haven't tested them yet. What I have in > mind is a command-line password manager that stores the database in an > encrypted database - like KeePassXC - and then I could eventually store this > file in a private Gitlab repo to centralize it and access it from all my servers. > > Can you recommend any particular command line password manager ? > > Any recommendations / caveats for this kind of setup ? > > Cheers from the locked down South of France, > > Niki > > -- > Microlinux - Solutions informatiques durables > 7, place de l'?glise - 30730 Montpezat > Site : https://www.microlinux.fr > Blog : https://blog.microlinux.fr > Mail : info at microlinux.fr > T?l. : 04 66 63 10 32 > Mob. : 06 51 80 12 12 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On 23/11/20 10:52 pm, Sebastien F?minier via CentOS wrote:> Hi Niki , > > I use "pass" to manage my password , it's based on gnuPG , you can find > more info on the web site => https://www.passwordstore.org/ . > For sync you can use Git . > > Seb.+1 -works well and can be used via ssh link as well if set up properly.> > Le Mon, Nov 23, 2020 at 09:24:18AM +0100, Nicolas Kovacs a ?crit : >> Hi, >> >> On my workstation and my laptop I'm using KeePassXC to store login credentials >> for my websites. The database is stored in my OwnCloud share, so it's >> synchronized between my two computers. >> >> Ideally I'd like to have something similar for my servers, but command-line >> driven. I know these tools exist but I haven't tested them yet. What I have in >> mind is a command-line password manager that stores the database in an >> encrypted database - like KeePassXC - and then I could eventually store this >> file in a private Gitlab repo to centralize it and access it from all my servers. >> >> Can you recommend any particular command line password manager ? >> >> Any recommendations / caveats for this kind of setup ? >> >> Cheers from the locked down South of France, >> >> Niki >> >> -- >> Microlinux - Solutions informatiques durables >> 7, place de l'?glise - 30730 Montpezat >> Site : https://www.microlinux.fr >> Blog : https://blog.microlinux.fr >> Mail : info at microlinux.fr >> T?l. : 04 66 63 10 32 >> Mob. : 06 51 80 12 12 >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Am 23.11.20 um 09:24 schrieb Nicolas Kovacs:> Can you recommend any particular command line password manager ?Self hosted Bitwarden: -> https://bitwarden.com/help/article/cli/ -> https://bitwarden.com/help/hosting/ -> https://bitwarden.com/open-source/
There is also a command line interface for keepass - if you wouldn't mind perl dependency. https://sourceforge.net/projects/kpcli/ -- Marek Blaha <mblaha at redhat.com> Red Hat Czech s.r.o. Software Engineer On Mon, Nov 23, 2020 at 9:24 AM Nicolas Kovacs <info at microlinux.fr> wrote:> > Hi, > > On my workstation and my laptop I'm using KeePassXC to store login credentials > for my websites. The database is stored in my OwnCloud share, so it's > synchronized between my two computers. > > Ideally I'd like to have something similar for my servers, but command-line > driven. I know these tools exist but I haven't tested them yet. What I have in > mind is a command-line password manager that stores the database in an > encrypted database - like KeePassXC - and then I could eventually store this > file in a private Gitlab repo to centralize it and access it from all my servers. > > Can you recommend any particular command line password manager ? > > Any recommendations / caveats for this kind of setup ? > > Cheers from the locked down South of France, > > Niki > > -- > Microlinux - Solutions informatiques durables > 7, place de l'?glise - 30730 Montpezat > Site : https://www.microlinux.fr > Blog : https://blog.microlinux.fr > Mail : info at microlinux.fr > T?l. : 04 66 63 10 32 > Mob. : 06 51 80 12 12 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On 23/11/2020 11:42, Marek Blaha wrote:> There is also a command line interface for keepass - if you wouldn't > mind perl dependency. > > https://sourceforge.net/projects/kpcli/ > > -- > Marek Blaha <mblaha at redhat.com> > > Red Hat Czech s.r.o. > Software Engineer >I've not personally used the CLI, but there is a command line interface for KeePassXC too, see here for usage: http://manpages.ubuntu.com/manpages/bionic/man1/keepassxc-cli.1.html Hope that helps.> On Mon, Nov 23, 2020 at 9:24 AM Nicolas Kovacs <info at microlinux.fr> wrote: >> >> Hi, >> >> On my workstation and my laptop I'm using KeePassXC to store login credentials >> for my websites. The database is stored in my OwnCloud share, so it's >> synchronized between my two computers. >> >> Ideally I'd like to have something similar for my servers, but command-line >> driven. I know these tools exist but I haven't tested them yet. What I have in >> mind is a command-line password manager that stores the database in an >> encrypted database - like KeePassXC - and then I could eventually store this >> file in a private Gitlab repo to centralize it and access it from all my servers. >> >> Can you recommend any particular command line password manager ? >> >> Any recommendations / caveats for this kind of setup ? >> >> Cheers from the locked down South of France, >> >> Niki >>
On 11/23/20 1:24 AM, Nicolas Kovacs wrote:> Hi, > > On my workstation and my laptop I'm using KeePassXC to store login credentials > for my websites. The database is stored in my OwnCloud share, so it's > synchronized between my two computers. > > Ideally I'd like to have something similar for my servers, but command-line > driven. I know these tools exist but I haven't tested them yet. What I have in > mind is a command-line password manager that stores the database in an > encrypted database - like KeePassXC - and then I could eventually store this > file in a private Gitlab repo to centralize it and access it from all my servers. > > Can you recommend any particular command line password manager ? > > Any recommendations / caveats for this kind of setup ? >I've been using "yapet" for quite awhile:? https://yapet.guengel.ch/ It's already packaged in EPEL. The password store is in a single file so it's easy to copy between servers.? It's a curses interface vs. CLI, though... -Greg