maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   KeePassX for Maemo 5 Nokia N900 (https://talk.maemo.org/showthread.php?t=39378)

inidrog 2010-01-05 21:21

KeePassX for Maemo 5 Nokia N900
 
3 Attachment(s)
Hey, i rescently found KeePassX 0.4.1 under Extras-devel.

I`m used to this aplication for pc from here http://keepass.info

I have looked for more info on development bugs and such, but cant find anything other than this:
https://garage.maemo.org/projects/keepassx

I find the aplication very good and stable 9.9/10, but there is one problem.

a: Default open path before any DB is used.
c: Cant browse to mmc before you have saved DB to mmc
b: I cant find a way to get KeePassX to remember and open last file used.

This is my first post at talk.maemo

I really hope this app is not allready forgotten.

labra 2010-01-06 14:53

Re: KeePassX for Maemo 5 Nokia N900
 
I really love this app too, and there are these few things that make this really a extras-devel app still. Wonder if there is much development going on around this?

https://garage.maemo.org/projects/keepassx/
http://maemo.org/packages/view/keepassx/

feydrutha 2010-01-25 17:00

Re: KeePassX for Maemo 5 Nokia N900
 
I use keepassX on my linux PC.. would be great to share the password safes with my cell phone as well..

inidrog 2010-01-25 17:25

Re: KeePassX for Maemo 5 Nokia N900
 
I have a "feeling" that this is just great application pushed through some porting-to-freemantle stuff (that i have no idea how works) the end result was not 100% and the guy: Timothy Redaelli have no idea how to take this further, so he just keeps quiet. Why I say this is because i have seen it in my life so many times (dosent mean that it is the case here). I really hope some other competent developer takes up on this very good application, where Timothy Redaelli left without notice.

http://translate.googleusercontent.c...OuzssV1qze5ycQ

http://gitorious.org/keepassx-maemo

arajantie 2010-01-25 17:36

Re: KeePassX for Maemo 5 Nokia N900
 
You can give the database filename as the command line argument. For example, if you want it to open the file /home/user/MyDocs/Database.kdb automatically, you can do that by changing the Exec line in /usr/share/applications/hildon/keepassx.desktop to
Code:

Exec=keepassx /home/user/MyDocs/Database.kdb

soeiro 2010-01-25 17:53

Re: KeePassX for Maemo 5 Nokia N900
 
There are lots and lots of features in Keepassx. The one feature that is most important to me would be just being able to open a database that was updated on the Desktop. The second one would be to be able to update the database itself on the N900 device.

If password safe could open the same desktop file it would be enough for me...

Anyway, is there anyone thre willing to lend the original porter a developing hand?

bigbrovar 2010-01-25 18:29

Re: KeePassX for Maemo 5 Nokia N900
 
I one thing I hate about apps like this is the little effort at Hiddonization what is what doing at all is what doing well. They are lots of apps like that which have little in the way of finger friendliness. Maemo5 has some really fly UI which enhance the looks and finger friendliness of apps. Devs should try to do much to take advantage of this UI features. Just my 2 cent

inidrog 2010-01-25 18:39

Re: KeePassX for Maemo 5 Nokia N900
 
@ bigbrovar

Do not leave this tread, i know you can do it :)

You know ppl these days use paypal to support what they really like ...

rm42 2010-01-25 18:53

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by bigbrovar (Post 494067)
I one thing I hate about apps like this is the little effort at Hiddonization what is what doing at all is what doing well. They are lots of apps like that which have little in the way of finger friendliness. Maemo5 has some really fly UI which enhance the looks and finger friendliness of apps. Devs should try to do much to take advantage of this UI features. Just my 2 cent

If they were charging you for their apps you would have a point.

inidrog 2010-01-25 18:58

Re: KeePassX for Maemo 5 Nokia N900
 
what? you don`t think any developer wants 50$, from me :)

bigbrovar 2010-01-25 20:32

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by inidrog (Post 494080)
@ bigbrovar

Do not leave this tread, i know you can do it :)

You know ppl these days use paypal to support what they really like ...

By all means I feel we should support developers who put in time to work on an app and put it out for free. But just like paid software I will support with my $ any project that I think is well done. The motivation for many developers is passion, How can I make this really cool, How can I push it. At least make it standard so it fit in and integrate well with the platform. I always use Thomas Perl of the Gpodder fame as a classic example of a developer who gets it right. He and many others like him would get my $ any day :)

mikhmv 2010-01-26 00:37

Re: KeePassX for Maemo 5 Nokia N900
 
This application was directly ported without any optimization. Some menu is not readable. It is hard to use without stylus......

inidrog 2010-01-26 00:46

Re: KeePassX for Maemo 5 Nokia N900
 
Stylus only is ok, bugs and stuff not working is kinda not :)

robbie 2010-01-26 07:09

Re: KeePassX for Maemo 5 Nokia N900
 
I tried to create a new gui for KeepassX but it's pretty hard. The Qt creator support for fremantle is pretty limited. Without that, it's no doable for me to create a good interface. See some of my frustrations here:

http://talk.maemo.org/showthread.php?t=34879

and here:

http://talk.maemo.org/showthread.php?t=36457

Nokia should release a new Qt creator!

inidrog 2010-06-08 10:59

Re: KeePassX for Maemo 5 Nokia N900
 
bump (a shot in the dark)

KeepassX on PR 1.2 - Search function and Changing fonts
http://talk.maemo.org/showthread.php?t=55139

pySafe - for personal information security
http://talk.maemo.org/showthread.php?t=40108

robbie 2010-06-08 11:38

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by inidrog (Post 705175)
pySafe - for personal information security
http://talk.maemo.org/showthread.php?t=40108

I created a convertor for exporting the keepass items to pySafe:

http://talk.maemo.org/showpost.php?p...&postcount=162

tijn2maemo 2010-07-01 15:25

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by arajantie (Post 493972)
You can give the database filename as the command line argument. For example, if you want it to open the file /home/user/MyDocs/Database.kdb automatically, you can do that by changing the Exec line in /usr/share/applications/hildon/keepassx.desktop to
Code:

Exec=keepassx /home/user/MyDocs/Database.kdb

I tried to edit (with Midnight Commander) as described, but it won't let met save/overwrite the file. How to?

Thx in advance.

kureyon 2010-07-01 16:52

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by tijn2maemo (Post 737253)
I tried to edit (with Midnight Commander) as described, but it won't let met save/overwrite the file. How to?

You need to be root to modify that file, open up an X Terminal then type:

Code:

sudo gainroot
mc


soeiro 2010-07-01 18:21

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by robbie (Post 705224)
I created a convertor for exporting the keepass items to pySafe:

http://talk.maemo.org/showpost.php?p...&postcount=162

@Robbie:

Is there a desktop version of pySafe?

I really would like to be able to open and edit the database on both the N900 and the Linux Desktop. All other features are just extra (but welcome), for me...

Thanks

robbie 2010-07-08 10:57

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by soeiro (Post 737587)
@Robbie:
Is there a desktop version of pySafe?

I'm not sure. I only created the exporter for windows. There is another password app that uses same database on desktop and n900. It's called PasswordSafe.

ymartin59 2010-12-25 21:59

Re: KeePassX for Maemo 5 Nokia N900
 
I have been able to setup keepassx (remove some columns, entry detail view) to improve usability. I guess editing .config/keepassx/keepassx.ini is another way to tune the application for mobile usage. The "first letter" search helps but we can expect more. The "last file" bug is terrible and I cannot select a group without trigger drag-and-drop !

As I cannot be satisfied by a regular export to PasswordSafe, I have decided to get the git sources, and add "ifdef" statements to restructure menu entries and group selection when compiling for Maemo (Q_OS_MAEMO ?)

robbie 2010-12-26 09:48

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 904261)
As I cannot be satisfied by a regular export to PasswordSafe, I have decided to get the git sources, and add "ifdef" statements to restructure menu entries and group selection when compiling for Maemo (Q_OS_MAEMO ?)

I don't have the answer to your question but i hope that you manage to create a usable version for the N900.

My guess is that if you ask the question in the developers section, somebody knows the answer.

ymartin59 2011-01-02 21:49

Re: KeePassX for Maemo 5 Nokia N900
 
I have investigated the "last file" open failure. No idea who and why but this is a small but really annoying mistake.

To fix it, edit /usr/share/applications/hildon/keepassx.desktop
and remove "%f" argument on the line "Exec=keepassx". Over.

I'm now member of the project in garage. My usability improvements should be available soon at least in extra-devel.

ymartin59 2011-01-04 22:19

Re: KeePassX for Maemo 5 Nokia N900
 
Hello,

Here is a first release of KeePassX with some improvements as describe here
http://ymartin59.free.fr/wordpress/i...-improvements/

Direct package download at http://ymartin59.free.fr/wordpress/w...aemo_armel.deb

Please try and do not hesitate to comment or propose improvements.
I know there is still work to do. When satisfied, I will publish in extras-devel.

ME2g 2011-01-18 18:13

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 910050)
I have investigated the "last file" open failure. No idea who and why but this is a small but really annoying mistake.
[...]

I do not have the sources at hand but most of the time from my experience the opening of last opened files fails because the file is not in the place where it used to be.
If it is C/C++ then *fopen() returns NULL and in many codes that I have seen this NULL is not checked therefore crashing the application when used with fread() or similar.
But as I said: I do not have the code at hand and I do not know if it is C/C++ code.

ymartin59 2011-01-18 21:21

Re: KeePassX for Maemo 5 Nokia N900
 
Thank you for your experience feedback.

In that specific case, code is OK and works well when invoked from command line.

The bug comes from a mistake in desktop file (the app shortcut) which invoke "keepassx %f" and of course %f is not found !

ME2g 2011-01-19 18:00

Re: KeePassX for Maemo 5 Nokia N900
 
1 Attachment(s)
Quote:

Originally Posted by ymartin59 (Post 923329)
Thank you for your experience feedback.

In that specific case, code is OK and works well when invoked from command line.

The bug comes from a mistake in desktop file (the app shortcut) which invoke "keepassx %f" and of course %f is not found !

I guess "%f" is not handed over to argvs properly or it is not checked there.

I want to test the application and downloaded the version that you announced recently.
I also downloaded the Linux version from
http://www.keepassx.org/

In my opinion it is the best way to implement this functionality.
I tested the Linux version: it compiles
fine even with an older distribution. The GUI is intuitive.

Then I took a look at the Maemo5 version.
The GUI seems to be "squeezed together".
;-)
See attached snapshot.

I am not a Qt programmer but I did some interface stuff in X11 and Motif.
So I guess there is some option or way to make the dialog scrollable and avoid putting it all into the size of the screen.

Maybe this helps:
http://talk.maemo.org/showthread.php?t=58102
or this one:
http://library.maemodocs.nokia.com/f...crollarea.html
?

ymartin59 2011-01-19 19:02

Re: KeePassX for Maemo 5 Nokia N900
 
Definitely screens are worse than in French or English.
You're right, a scrollable viewport may help but I really think the GUI must be fully re-write for small screen - a simple port is not enough. In my version, I have only worked on menu entries...
Qt is simple, if you have some time for Keepassx on Maemo, do not hesitate to create an account in garage, get project with git and add some debian patches over the mainstream code !

ME2g 2011-01-20 22:22

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 924021)
Definitely screens are worse than in French or English.
You're right, a scrollable viewport may help but I really think the GUI must be fully re-write for small screen - a simple port is not enough. In my version, I have only worked on menu entries...
Qt is simple, if you have some time for Keepassx on Maemo, do not hesitate to create an account in garage, get project with git and add some debian patches over the mainstream code !

Hmm, how can I tell my German N900 to display the English version (temporarily)?

And yes: I have a garage account now but I am not sure if I will find time for coding. I surely want to test it.

I also found this on the KeePassX website:
"On the road to KeePassX 2
Posted by by Felix Geyer on 22. September 2010
[...]
The goal for now is to gain feature parity with KeePassX 0.4.3 but I also have some ideas for new features (think of it as a long term roadmap):
[...]
User interface that works well with small displays like the N900.
[...]"

Therefore I "linked together" the two forums:
http://www.keepassx.org/forum/viewtopic.php?f=4&t=2337
;-)

ymartin59 2011-01-21 12:10

Re: KeePassX for Maemo 5 Nokia N900
 
For alternate langage:
in terminal
export LANG=en_US
keepassx

Have you test the package at
http://ymartin59.free.fr/wordpress/i...-improvements/ ?

ME2g 2011-01-22 16:11

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 925323)
For alternate langage:
in terminal
export LANG=en_US
keepassx

Thanks.
I tried this.
But all the text is still German.
env | grep LANG
shows that the setting is correct.


Quote:

Originally Posted by ymartin59 (Post 925323)

This is the version that I have on my N900.

ymartin59 2011-01-22 20:42

Re: KeePassX for Maemo 5 Nokia N900
 
OK with my version menus are usable...

Sorry for the mistake, the variable to set is LC_ALL.

ymartin59 2011-01-23 22:23

Re: KeePassX for Maemo 5 Nokia N900
 
Hello,

Thank you for the really useful references about Qt.

So after few hours of learning Qt and also Git, I have been able to insert a scrollable viewports for main dialogs: edit-entry, password generation and settings.
User experience is still odd but it works without a full GUI redesign, a job for which I do not have enough time.

My patches are available in project's git at maemo garage.

The compiled package is available at
https://garage.maemo.org/frs/?group_id=1171

I have not found information about extras publish process yet. If someone knows, please post a reference.

robbie 2011-01-24 09:42

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 926986)
So after few hours of learning Qt and also Git, I have been able to insert a scrollable viewports for main dialogs: edit-entry, password generation and settings.
User experience is still odd but it works

Wow! This actually is quite usable. The scrollabe viewpoint is a good solution. Thanks!

ME2g 2011-01-24 18:26

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 926986)
Hello,

Thank you for the really useful references about Qt.

So after few hours of learning Qt and also Git, I have been able to insert a scrollable viewports for main dialogs: edit-entry, password generation and settings.
User experience is still odd but it works without a full GUI redesign, a job for which I do not have enough time.

My patches are available in project's git at maemo garage.

The compiled package is available at
https://garage.maemo.org/frs/?group_id=1171

I have not found information about extras publish process yet. If someone knows, please post a reference.

I downloaded this version and it is much more usable than the previous one!
Only the "Kommentar:" part ("Comment:") is still too small.
and does not look much different from the one in
http://talk.maemo.org/attachment.php...6&d=1295458972

I tried LC_ALL=en_US and the GUI comes up in English,
but "Comment:" is still too small to be edited with keyboard.
But I can use it with onscreen keyboard as workaround.
:-)

KeePassX is getting usable on the N900!

Reedit: maybe the space for "Comment:" is calculated based on other elements in the dialog and therefore this is calculated to small on a small screen?

After a short check I'd take a look at this one:
http://library.maemodocs.nokia.com/f...iclayouts.html

dbrodie 2011-01-24 19:13

Re: KeePassX for Maemo 5 Nokia N900
 
Wow! Thanks a lot!!
I would like to suggest using a StackedLayout(/Widget) for the actual data,
you can see an example here.

So when the program starts up you get the category list, you select a category and then you go 'down' the stack into the entries list, and when you select that you go 'down' the stack to the actual info.

This will also allow splitting up the menus between each stack to have only the relevant entires. (For example, creating a new group, only in the group list, creating a new entry only in the entry list, copying the password only the info page, etc...)

Thanks again for your work!

Radishface 2011-02-01 22:02

Re: KeePassX for Maemo 5 Nokia N900
 
Bumped for justice.

ymartin59 2011-02-12 17:52

Re: KeePassX for Maemo 5 Nokia N900
 
StackWindows require lot of changes in keepassx original code for event handling and callbacks... now my code coredumps and I just gave up.
After a while, I will join keepassx v2 team so that n900 port works well.

ME2g 2011-03-11 18:30

Re: KeePassX for Maemo 5 Nokia N900
 
Quote:

Originally Posted by ymartin59 (Post 944198)
StackWindows require lot of changes in keepassx original code for event handling and callbacks... now my code coredumps and I just gave up.
After a while, I will join keepassx v2 team so that n900 port works well.

:-/

Can't you go back to a previous version of your code?
I guess you are using some version control...

ymartin59 2011-03-13 17:06

Re: KeePassX for Maemo 5 Nokia N900
 
Of course... but the status remains: "patching" original KeepassX code is not a pragmatic way to implement stack windows because event callbacks need object references that are not already available.
My opinion is that a complete UI re-write is required/more effective - and I am not a good enough C++/Qt developer to do it during my few spare-time hours.


All times are GMT. The time now is 16:23.

vBulletin® Version 3.8.8