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

Import with --clean failed #57

Closed
christian-weiss opened this issue Nov 24, 2018 · 1 comment
Closed

Import with --clean failed #57

christian-weiss opened this issue Nov 24, 2018 · 1 comment

Comments

@christian-weiss
Copy link

Command line statement:
pass import --clean --extra keepass zusammengefasst3.xml

Error

Traceback (most recent call last):
  File "/usr/lib/password-store/import/import.py", line 778, in <module>
    main(sys.argv)
  File "/usr/lib/password-store/import/import.py", line 733, in main
    importer.satanize(arg.clean)
  File "/usr/lib/password-store/import/import.py", line 271, in satanize
    entry['title'] = self._clean_cmdline(entry['title'])
KeyError: 'title'

On Ubuntu with most up-to-date git version.

By the way: Dealing with data is sometimes like fighting with the devil (satan), but please still try to do "sanity checks" instead of "satanizing" data. ;-) (see python function "satanize")

@roddhjav
Copy link
Owner

Historically I had the assumption a password title cannot be empty. In the scope of pass, its make sense. This is now fixed.

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