Page 1 of 1

Password Manager

Posted: 04 Jan 2017, 00:22
by dinosaur
I use UPM as my password manager on Debian and Windows. http://upm.sourceforge.net/

I sync the encrypted file between OS's using some free web hosting (it syncs over http).

There's a ppa for Ubuntu on launchpqd.net that I use as an apt source in Debian. https://launchpad.net/~adriansmith/+archive/ubuntu/upm

I downloaded the deb from launchpad, ran it through deb2xzm and saved the module in modules

As it uses Java, I downloaded java sdk using usm, converted and installed the module. Jdk a bit over the top as I only need runtime.

Still not working, so I looked inside the deb for the dependencies. (I've split the long depends line).

Code: Select all

Package: upm
Version: 1.14-1~ppa3
Architecture: all
Maintainer: Adrian Smth <adrian@17od.com>
Installed-Size: 231
Depends: default-jre | java5-runtime | java6-runtime | java7-runtime,
 jarwrapper (>= 0.5), libbcprov-java, libcommons-codec-java, 
 libcommons-httpclient-java, libcommons-logging-java, libcsv-java
Section: utils
Priority: optional
Homepage: http://upm.sourceforge.net
Description: Universal Password Manager
 Universal Password Manager (UPM) allows you to store usernames, passwords,
 URLs and generic notes in an encrypted database protected by one master
 password.
I can't find them on usm, so it looks like quite a few to get from Debian.

Is there a simpler approach?

Alternatively, is there a good, simple, slackware/porteus-friendly password that I can use?

Re: Password Manager

Posted: 04 Jan 2017, 04:39
by Ed_P
keepassx works for me.

Re: Password Manager

Posted: 05 Jan 2017, 16:01
by dinosaur
Thanks @Ed_P for the suggestion.

I've tried keepassx on Windows and it looks ok. Doesn't handle the syncing like UPM, but I'll have to sort that another way.

Couldn't try it on Debian as it's stuffed right now.

On Porteus, I installed it, and got the keepassx message as below.

I then installed libqt from Debian Testing and tried again.

Giving:

Code: Select all

guest@porteus:~$ ls -la /mnt/sdb2/porteus/modules
total 116504
dr-xr-xr-x 2 root root     4096 Jan  4 15:07 ./
dr-xr-xr-x 7 root root     4096 Jan  2 09:24 ../
-rw------- 1 root root 65540096 Jan  2 09:33 chromium-55.0.2883.75-x86_64-1jay.xzm
-rw------- 1 root root 51683328 Jan  2 14:24 firefox-51.0b10-x86_64-1.xzm
-rw-r--r-- 1 root root   516096 Jan  4 13:29 keepassx-2.0.3-x86_64-1alien.xzm
-rw-r--r-- 1 root root  1552384 Jan  4 15:06 libqtcore4_4.8.7+dfsg-11_amd64.xzm
guest@porteus:~$ keepassx
keepassx: error while loading shared libraries: libQtCore.so.4: cannot open shared object file: No such file or directory
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# updatedb
root@porteus:/home/guest# locate libQt
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4.8
/usr/lib/x86_64-linux-gnu/libQtCLucene.so.4.8.7
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7
root@porteus:/home/guest# 
Looks like there's a problem installing prog from alien and lib from debian.

lib is present but not where expected in Porteus?

Can I just move the lib to get it to work? Or do I have to get prog and lib from same repository?

Re: Password Manager

Posted: 05 Jan 2017, 22:04
by ncmprhnsbl
Can I just move the lib to get it to work?
this can work..(if it does)
Or do I have to get prog and lib from same repository?
this would be the path of least resistance..
although there is often reasonable compatiblity between different distro packages, some things, esp libs, are structured differently,and versioning might be an issue...
one main difference between slackware and debian, for example, is debian often splits packages into -libs and -devel where slackware doesnt...
generally,imo, if you can get it to work without masses of errors or smoke from your hardware, its probably ok..

Re: Password Manager

Posted: 06 Jan 2017, 01:42
by Ed_P
dinosaur wrote:

Code: Select all

guest@porteus:~$ ls -la /mnt/sdb2/porteus/modules

-rw-r--r-- 1 root root   516096 Jan  4 13:29 keepassx-2.0.3-x86_64-1alien.xzm

I use the keepassx-0.4 version without the problem you're experiencing.