Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features #2

Open
10 of 25 tasks
Evidlo opened this issue Feb 4, 2018 · 2 comments
Open
10 of 25 tasks

New features #2

Evidlo opened this issue Feb 4, 2018 · 2 comments

Comments

@Evidlo
Copy link
Owner

Evidlo commented Feb 4, 2018

  • tests
  • add mv/rename for command renaming
  • non-interactive add
  • allow custom fields for add command
  • libkeepass is slow. cache all XML in ~/.cache/passhole_cache argon2 KDF is much faster than AES KDF, once support is added in libkeepass
  • add edit for minor changes to existing entries
  • add grep command
  • alias ls to list, rm to remove
  • [ ] auto create separate gpg-key? maybe use a background thread to cache password like keepmenu?
  • add -f, --force option to rm to force deletion of nonempty groups
  • add --username argument to type (and ls?) to show username in parenthesis after the path
  • [ ] rewrite using Click (not possible, see issue)
    • [ ] investigate Click color output features
  • info command to dump database info (encryption, kdf method, version, size, etc.)
  • dump command to dump database xml
  • store databases in background thread
  • entry/group autocompletion (requires background thread)
  • auto type sequences
  • attachments
  • add un-hide password -u to show command
  • add password to config, add --password
  • get rpyc branch working with pykeepass tests
  • password regeneration, move old password to history
  • display password history
  • git support? initialized databases might be created inside a repo and prompt for adding remote server
  • regenerating passwords
  • database backup copy after successful opening
  • set command for canging database settings
@Evidlo Evidlo changed the title mv and edit commands. command aliases New features May 22, 2018
@whwright
Copy link

Would you like help with any of these?

@Evidlo
Copy link
Owner Author

Evidlo commented Nov 25, 2018

Sure!

Two issues that I think are most important:

  1. Adding tests. The current code is not really testable because there are print statements and input() and sys.exit() scattered throughout. This might not be a big deal so long as the print statements are replaced with log. See here, here, and here.
  2. Background thread. By keeping the database open in a background thread for N minutes, we get a huge speed boost because passhole doesn't have to reopen the database for every operation. We also don't have to rely on gpg/gpgme as a dependency anymore. This brings up some issues though:
    • We need to reload the database in the background thread if an external change is detected. Probably not too hard.
    • What goes in the background thread and how do we communicate with the foreground?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants