marcwebbie / passpie

:closed_lock_with_key: Multiplatform command-line password manager
http://passpie.readthedocs.org/
MIT License
921 stars 68 forks source link

KeePass importer (using kppy) #54

Closed costypetrisor closed 8 years ago

costypetrisor commented 9 years ago

Trying to fulfill #32. I tested only on Linux

landscape-bot commented 9 years ago

Code Health Repository health decreased by 0.27% when pulling 05ceaaf on costypetrisor:kppy_importer into a1ed4a4 on marcwebbie:master.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling a3c3ed7 on costypetrisor:kppy_importer into a1ed4a4 on marcwebbie:master.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 3784891 on costypetrisor:kppy_importer into a1ed4a4 on marcwebbie:master.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling e3b563e on costypetrisor:kppy_importer into de8509b on marcwebbie:master.

marcwebbie commented 9 years ago

This looks exciting. Are you having troubles running on python 3?

costypetrisor commented 9 years ago

no, importing works fine on Python3. I just forgot to submit that 1 string typo: I was writing in a file object with a str object (f.write('bad_db')), but forgot to add the b'' to the string so it would work on Python3

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 6145daa on costypetrisor:kppy_importer into 4760f99 on marcwebbie:master.

costypetrisor commented 9 years ago

:( looks like PyCrypto has distribution issues on Python3 and Windows. I'll look at this sometime later today.

marcwebbie commented 9 years ago

Hello @costypetrisor ,

What about start importing plain text keepass credentials.

  1. Someone that uses keepass export its credentials to plain text as plain.txt
  2. She runs passpie import plain.txt
  3. She sees her credentials listed: passpie

Thanks for your contribution!

costypetrisor commented 9 years ago

Hi, Allow me a bit of time this weekend to try to hack some things. Maybe I can make it work. Costy

landscape-bot commented 9 years ago

Code Health Repository health decreased by 0.60% when pulling 59330ed on costypetrisor:kppy_importer into c029c7f on marcwebbie:master.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 0c20d9c on costypetrisor:kppy_importer into 6e84de0 on marcwebbie:master.

costypetrisor commented 9 years ago

@marcwebbie Hi,

Can you take another look at the changes :) ? Everything should work now.

Thanks, Costy

marcwebbie commented 9 years ago

Hellow @costypetrisor

It is looking great. I am working on some rewriting to remove some dependencies like I removed pyperclip and gitpython. I've been thinking about getting the importers as external projects.

Something like pytest extensions.

You could maybe get this code into a project called passpie-keepass and update the README pointing to your repository. What do you think?

Thanks for your contributions

costypetrisor commented 9 years ago

Hi @marcwebbie ,

I will do this most probably tomorrow.

Thanks, Costy

krzkrzkrz commented 8 years ago

Any luck on this?

costypetrisor commented 8 years ago

@krzkrzkrz : You could try to install the latest passpie from github and then install https://github.com/costypetrisor/passpie_keepass

Marc Webbie suggested to add support for plugins for passpie(similar to pytest plugins, they work through setuptools entrypoints). This was merged in #65. I'll close this PR because it's no longer needed.

@marcwebbie you suggested in #65 that I should update the README about the plugin support. I will do this in the coming 2-3 days. After that I'll wait for an official passpie release on PyPI and then I'll release passpie_keepass on PyPI too, but requiring the passpie release which supports plugins.

krzkrzkrz commented 8 years ago

@costypetrisor Unfortunately, the documentation for https://passpie-keepass.readthedocs.org/ points to a 404 page. I opened up an issue for that. Do the other plugins (you mentioned) work to import keepass passwords?