Closed Atlantic777 closed 8 years ago
Hello @Atlantic777
Some Passpie updates happened while this pull request was open. We now have a default CSV importer that we can map to columns in an CSV file.
For example for a CSV like this passwords.csv
:
"Group","Title","Username","Password","URL","Notes"
"Root","Some Title","john.doe","secret","example.com","Some comments"
"Root","Another title","foo.bar","p4ssword","example.org",""
We can import the credentials with:
passpie import --cols ",,login,password,name,comment" passwords.csv
Importers tests: https://github.com/marcwebbie/passpie/tree/master/tests/test_importers More info on the docs: http://passpie.readthedocs.org/en/latest/getting_started.html#importing-credentials
Thanks for your contribution
I will assume that this is solved with importing csv credentials: http://passpie.readthedocs.org/en/latest/getting_started.html#importing-credentials
Thanks for your contribution @Atlantic777
Pwsafe is a CLI password manager similar to passpie but a bit older. It was unmaintained for some time and I decided to migrate to the passpie. Hope this importer helps someone else, too.
I am aware that this PR doesn't include tests for added code. I need some assistance with that. It would be nice if someone could help me write needed tests or just walk me through test infrastructure for this project.
Thanks!