jbreams / gonepass

GTK+ 1Password reader
Other
130 stars 12 forks source link

Handle situation where securityLevel is in openContents object #8

Closed tyler closed 8 years ago

tyler commented 8 years ago

There appear to be some times when the securityLevel field in the item JSON is actually inside an openContents object, instead of at the root level. This handles that by trying to pull the openContents object and if the securityLevel at the root is null, find it inside there.

For my personal vault, without this only about 10% of the items were displayed. This made gonepass much more useable.

(Also, thank you for creating this. It's making my life better already. :+1:)

jbreams commented 8 years ago

Thanks for the PR!

andreamoro commented 8 years ago

Haven't done anything mate. Keep using 1Password as it is provided by the company. Of course, I do add / remove items from time to time.