tobiasvl / 1password2pass

Script for importing 1Password passwords to pass
http://www.zx2c4.com/projects/password-store/
GNU General Public License v2.0
6 stars 4 forks source link

Run line-by-line and handle a nil object exception #6

Closed jlfranklin closed 8 years ago

jlfranklin commented 8 years ago

The first commit changes the way the program processes the 1pif file to go line by line instead of pulling it all in at once. It means:

The second commit adds the exception begin/rescue/end handing to add an empty object when no password or username fields are found.

tobiasvl commented 8 years ago

Thanks!

tobiasvl commented 8 years ago

@jlfranklin Feel free to send the patch to the pass mailing list too to get it upstream! Otherwise I can do it.