You are not logged in.
Hey guys,
I want to announce KeePassC, a password manager compatible to KeePass v.1.x. and KeePassX that comes with a curses-interface (I'm sure that I'm not the only person who's waited for such a program). It's written in Python 3 and uses my module kppy.
For those who doesn't know: KeePassX is a password manager that encrypts the whole database with AES.
Homepage: http://raymontag.github.com/keepassc/
AUR: https://aur.archlinux.org/packages.php?ID=62396
It has some bugs for sure, I would welcome reports
Last edited by lykaner (2013-04-06 10:21:29)
Offline
FIrst bug report
1. I can't see my ~/Dropbox/.keepass directory. Need to see hidden directories.
2. Can't use the backspace key while making a new entry (I'm inside tmux, by the way, if that makes any difference)
Request:
1. vim-like j/k/h/l navigation and the ability to just type a path instead of navigating to it. An interface like the 'ranger' filemanager would be very easy to navigate.
2. Maybe have a little bar that shows the common commands that can be toggled on and off...or just left on while learning new keys
3. Open the default browser for the given URL
4. Allow copy username to clipboard as well.
I'll watch this and see where it goes
Thanks!
Scott
Offline
sounds amazing
aur package installs but i get this error on launch:
Traceback (most recent call last):
File "/usr/bin/keepassc", line 1479, in <module>
app = App()
File "/usr/bin/keepassc", line 83, in __init__
self.loginname = getlogin()
OSError: [Errno 2] No such file or directory
% .-(~)----------------------------------------------------------------------------------------------------------------------------------------------------------------(zeltak@zx200)-
`-->
best
z
Offline
@zeltak: I've answered your comment on aur.archlinux.org.
@firecat53: Thx for your comments, I'll work on this proposals this evening
Offline
btw any reason not to support the keepass v2 files (which is now supported in keepassx 2.0)?
would be much more convenient
best and thx for your work!
Z
Offline
btw any reason not to support the keepass v2 files (which is now supported in keepassx 2.0)?
That's on my TODO for kppy (and KeePassC which uses kppy)
Offline
I've fixed all submitted bugs and added the requests from firecat53 but the key bar (I'll add this but I've not enough time right now. But you can get help with F1 ).
Offline
More bug reports --
1. When keepassc is first opened, neither F1 or h open the help menu...does work later on, though
2. There's no way to back out of the file entry, file browser or password dialogs to get back to the main menu.
3. If you ^C to exit from one of those items in #2, it doesn't exit gracefully and the terminal display gets corrupted.
Feature request:
1. Add support for two-factor authentication like keepassx (Keyfiles).
2. Tab completion for filename path entry
Thanks! Hope you don't mind the input! Nice work...
Scott
Offline
More bug reports --
1. When keepassc is first opened, neither F1 or h open the help menu...does work later on, though
2. There's no way to back out of the file entry, file browser or password dialogs to get back to the main menu.
3. If you ^C to exit from one of those items in #2, it doesn't exit gracefully and the terminal display gets corrupted.
1. That's the correct behaviour because everything that could be done is displayed but maybe I should mention that in the main menu.
2. That's on my TODO.
3. Just hadn't thought of that, will add this-
Feature request:
1. Add support for two-factor authentication like keepassx (Keyfiles).
2. Tab completion for filename path entry
1. That's at on the top of my TODO but first I've to read this out of KeePassX source.
2. Tab completion works but only in the second layer of the filesystem (e.g. /home/ly->TAB->/home/lykaner but /ho->TAB->doesn't work); weird, will fix that.
Thanks! Hope you don't mind the input! Nice work...
Doesn't matter, I want to create a good program and need your help for that
lykaner
Offline
I too would like this feature
1. Add support for two-factor authentication like keepassx (Keyfiles).
Offline
The ability to either record the location of the last used database or specify the location of the database on the command line would be extremely helpful.
Offline
Finally had the time to react on your messages. Watch www.nongnu.org/keepassc for a change log. The new version is already in AUR.
There's still the lack of support for keyfiles and of the ability of backout to main menu everytime but in most cases it works.
Offline
Just installed keepassc from AUR on a fresh arch install.
Traceback (most recent call last):
File "/usr/bin/keepassc", line 1767, in <module>
app = App()
File "/usr/bin/keepassc", line 65, in __init__
curs_set(0)
_curses.error: curs_set() returned ERR
Offline
Just installed keepassc from AUR on a fresh arch install.
Traceback (most recent call last): File "/usr/bin/keepassc", line 1767, in <module> app = App() File "/usr/bin/keepassc", line 65, in __init__ curs_set(0) _curses.error: curs_set() returned ERR
Could you post which terminal you use, please?
lykaner
Offline
I'm using urxvt, (rxvt-unicode from the community repo)
Offline
Just want to let you know that I implemented keyfile-authentication. I will update KeePassC in the following days. Also, I'll fix gardar's problem. It seems that urxvt doesn't support invisible cursors.
Offline
This is cool. Thank you.
One comment: I use a yubikey for my master password (it works fine), when I enter that, it would be helpful to see some visual feedback, ie., asterisks, as it prints to the screen - assuming that this is not a security hole.
Just a thought.
Offline
Hey guys,
new version is out and uploaded to AUR. View http://www.nongnu.org/keepassc for the changelog. I've implemented most of your requests, e.g. keyfiles and parsing databases through the commandline.
@gardar: Your problem should be fixed even though I was not able to reproduce it.
@jasonwryan: It would't be a big security hole but I think it's better if other people don't know the length of your password. But great to know that it works even with a yubikey
lykaner
Offline
Hey guys,
new version is out and uploaded to AUR. View http://www.nongnu.org/keepassc for the changelog. I've implemented most of your requests, e.g. keyfiles and parsing databases through the commandline.
Nice! Thanks.
@jasonwryan: It would't be a big security hole but I think it's better if other people don't know the length of your password. But great to know that it works even with a yubikey
Fair enough; altough in my case, if a shoulder surfer saw the 30+ asterisks zip across the screen, that may be considered hardening...
# edit: spoke too soon...
keepassc: 1.3-1 and python-kppy: 1.3-1
jason@Veles:/home/jason/Dropbox/Documents/keepers.kdb
Password: Traceback (most recent call last):
File "/usr/bin/keepassc", line 1933, in <module>
wrapper(app.main_loop())
File "/usr/bin/keepassc", line 495, in main_loop
if self.open_db() is False:
File "/usr/bin/keepassc", line 562, in open_db
if self.open_file() is False:
File "/usr/bin/keepassc", line 968, in open_file
self.db = KPDB(self.cur_dir, password, keyfile, False)
File "/usr/lib/python3.2/site-packages/kppy.py", line 474, in __init__
self.load()
File "/usr/lib/python3.2/site-packages/kppy.py", line 565, in load
masterkey = self._get_passwordkey()
File "/usr/lib/python3.2/site-packages/kppy.py", line 1224, in _get_passwordkey
sha.update(self.password)
File "/usr/lib/python3.2/site-packages/Crypto/Hash/hashalgo.py", line 69, in update
return self._hash.update(data)
TypeError: Unicode-objects must be encoded before hashing
# edit 2: python-kppy 1.3.1-1 fixed it - thanks!
Offline
Another couple of observations.
'h' doesn't show the password, it just switches back to the parent column
it would be cool to be able to search for an entry with / then foo, as in vim
another, much more far-fetched request, a way to set a db as default
Now all I need to do is convince my family to move to ekiga and I can dump qt
Thanks lykaner - great app.
Offline
Looking good still! A few more minor issues:
1. In the help menu, it shows 'h' for show password -- should be 'H'
2. In the help menu, it says press any key, but the only key that will exit help is 'Enter'
3. Still need better readline support for editing entries. Can't see the cursor or use any navigation keys but 'Backspace'. (urxvt)
4. If I hit 'S' by accident to save to alternate path, there's no option to back out of that without saving
5. If I hit 'E' to edit the expiration date and then just hit 'Enter' without changing anything, keepassc crashes
.....
File "/usr/bin/keepassc", line 291, in get_exp_date y = int(edit)
ValueError: invalid literal for int() with base 10: ''
6. When it does crash, I have to 'reset' the terminal to get my cursor back (urxvt)
7. How do you navigate back to a parent group from inside a subgroup? I seem to be stuck there
8. When you are navigating to find a keyfile, editing a password or editing the database password, it'd be nice to have a little Note at the top reminding you which item you are looking for or editing (I hit 'P' and didn't realize I was editing the database password at first instead of the item password...)
9. Feature request....not sure if it's possible. Say I've got a headless server. Is it possible to use the copy-paste features of tmux/screen (or some other non-X mechanism) to be able to use keepassc entirely on the headless server?
10. I second the feature request for '/' searches!
11. When using the file browser, it'd be neat to be able to use 'gg', 'G' and name search '/' (like in Ranger) to navigate more quickly through the filesystem. Although tab completion does work great, by the way!
Thanks a bunch! Great program!
Scott
Edit: Would you prefer bugs/feature requests here or Github or elsewhere?
Last edited by firecat53 (2012-09-22 01:20:42)
Offline
hya again.
i just switched to keepasx 2.0 (and the new 2.0 database), any news on the 2.0 database support
thx
Z
Offline
Hey guys, last update is long ago but I've worked on KeePassC in my free time and released a new update!
Many of the things you brought up are added.
Changelog:
Show groups and entries alphabetically sorted
Man page
Option to show entries on commandline
Search utility (type 'f')
Showing a * if the file has changed
Use of a generalized and commandable menu
Clear the clipboard only if the content of clipboard
was copied from the db and not from other programs
Fixed several bugs
@firecat53: I prefer both but I watch more on github than on this forum. But I will implement many of the things you brought up in your list!
Offline
Hey guys,
development is still on and some updates are available:
* I implemented a password generator (depends optional on pwgen)
* Finally it's possible to return to the previous screen if you're in a dialog (solves firecat's issue 4)
* Issue 5 and 6 are solved, too
* xsel and pwgen are marked as optional dependencies and the program will not crash if they're not available
Actually, the updates are only available via github and the new keepassc-git-package in AUR. A 'normal' package will follow when the other requests are implemented.
@firecat: Use backspace to return to the parent group. And frankly, I don't know what you mean with headless server. Access via SSH and then copy password from there?
Edit: Or do you mean without X/Wayland etc.? For this you've the 'H'-key to copy the password with your mouse as I don't know other possibilities
Last edited by lykaner (2013-01-17 13:48:38)
Offline
thx lykaner
irs really great to hear that development is going on, i use keepassC daily!
i was wondering if there is any ETA for keepass 2.X support? i use that on my android device and windowz machine at work at would be super cool to use it with keepassC
best
Z
Offline