georgebrock/1pass

Receiving TypeError: Cannot read property 'securityLevel' of undefined for some passwords

ubersol opened this issue · 0 comments

Hello,

Apologies if this has been discussed before, but I did not see it.

In some passwords, not all of them, I get this error below:

/usr/local/lib/node_modules/1pass/lib/contents.js:98
      return this.detail().openContents.securityLevel || 'SL5';
                                       ^
TypeError: Cannot read property 'securityLevel' of undefined
    at Item.Contents.Item.Item.securityLevel (/usr/local/lib/node_modules/1pass/lib/contents.js:98:40)
    at Database.search (/usr/local/lib/node_modules/1pass/lib/database.js:47:32)
    at /usr/local/lib/node_modules/1pass/lib/app.js:60:32
    at /usr/local/lib/node_modules/1pass/lib/app.js:106:20
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/1pass/lib/password_server.js:28:20)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at handleMessage (child_process.js:318:10)
    at Pipe.channel.onread (child_process.js:345:11)

whereas some others work. Not sure if this is an issue on myside or something I am doing wrong. For example:

[drende@lem ~]$ 1pass gmail
1. Gmail (Login)  https://www.google.com/accounts/ServiceLoginAuth
  Email: <user_name>
  Passwd: <password>
  PersistentCookie: 
  signIn: Sign in

Any help would be greatly appreciated !