Inconsistent Locking experience between the iOS extension and the main app

scotty321
scotty321
Community Member
edited September 2016 in iOS

Hi there,

I stumbled upon an alarming bug the other day on my iPhone 6s running iOS 9.3.4 and 1Password 6.4.4. Of course, I can't reproduce the problem at the moment, so this bug report may not do any good since it is not reproducible at the moment.

In 1Password's security settings (Settings > Security), I have these options set:

  • Lock on Exit: Off
  • Auto-Lock: 2 minutes
  • Touch ID: Off

Typically, I unlock the 1Password app to search for something, but I don't manually lock it again. I just move onto doing something else on my iPhone, and after 2 minutes, 1Password will auto-lock itself in the background.

However, the other day, I unlocked 1Password and it never auto-locked itself in the background. Even after 2 days, 1Password was still unlocked in the background!!

These are the steps I took, although I can't reproduce the problem at the moment:
1. I unlocked the iPhone.
2. I launched the 1Password app.
3. I unlocked the 1Password app by typing in my master password.
4. I clicked on the "Categories" button at the bottom.
5. I typed in a word in the "Search" box at the top (and "Search Everything" was selected).
6. 1Password found one matching login.
7. I clicked on the login, and scrolled all the way down to read all of my notes associated with that login.
8. Then I clicked on the back button to take me back to the search results screen.
9. Then I clicked once on the iPhone home button to take me back to the iPhone home screen.
10. I locked my iPhone (i.e. pressed the sleep/wake button on the iPhone).
11. I then proceeded to use my iPhone normally over the next 48 hours. But then (48 hours later), I went to launch 1Password and it was ALREADY UNLOCKED! It didn't ask me for my master password at all! The app was already unlocked -- AND IT WAS ON THE EXACT SAME SCREEN THAT I HAD PREVIOUSLY LEFT IT ON 48 hours earlier! It was still on the search results screen, with my search word STILL TYPED IN at the very top of the screen! It simply never locked itself -- it was just holding itself right where I last left it. For 48 hours.

Unfortunately, I can't reproduce this problem right now. Although maybe that should be "fortunately", because I want the higher security!

Thanks,
Scott


1Password Version: 6.4.4
Extension Version: Not Provided
OS Version: iOS 9.3.4
Sync Type: Dropbox

Comments

  • Megan
    Megan
    1Password Alumni

    Hi Scott ( @scotty321 ),

    Thanks for bringing this to our attention! Unfortunately, you’re right, it’s tricky to troubleshoot something that is not reproducible.

    AND IT WAS ON THE EXACT SAME SCREEN THAT I HAD PREVIOUSLY LEFT IT ON 48 hours earlier! It was still on the search results screen, with my search word STILL TYPED IN at the very top of the screen!

    Please note that this is actually expected behaviour. 1Password will save the app’s state when you exit the app and will open to the place that you previously were. So, there’s nothing to worry about here.

    As to the actual issue at hand, let’s see if we can gather a bit more data. Please go to 1Password’s Settings > Advanced > Diagnostics > Log Settings. Enable Lock and UI Lock. Then, if you notice 1Password failing to lock correctly again, immediately generate a Diagnostics Report and send it in to us.

    Sending Diagnostics Reports (iOS)

    Attach the Diagnostics Report(s) to an email message addressed to support+forum@agilebits.com.

    Please do not post your Diagnostics Report(s) in the forums, but please do include a link to this thread in your email, along with your forum handle so that we can "connect the dots" when we see your Diagnostics Report(s) in our inbox.

    You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here so we can track down the report(s) and ensure that this issue is dealt with quickly. :)

    Once we see the report we should be able to better assist you. Thanks very much!

  • Megan
    Megan
    1Password Alumni

    Hi @scotty321,

    Whoops, I’m sorry the instructions were not more clear. You won’t get a support ID until you send in the Diagnostics Reports. The support ID number simply allows those of us on the forum team to track down the report in our email system and ensure that it is answered promptly. :) Our support team will look over your report and get back to you via email whether you post the ID here or not. :)

  • :+1: :)

    Ben

  • Scott,

    Did you end up sending a diagnostic report and having a conversation via email? I don't see anything recent under the email address you used to register here on the forums. If you did send a report could you please post the support ID? I'd be interested in following up on what has transpired between your last post and now.

    Thanks.

    Ben

  • Ben
    Ben
    edited September 2016

    Hi @scotty321,

    Thanks again for taking the time to write in. I am really sorry to hear that you're experiencing this issue.

    Assuming that you still have the settings mentioned in your initial message (Lock on Exit: Off, Auto-Lock: 2 minutes, Touch ID: Off), here's the expected behaviour:

    • Call the 1Password extension in Safari and unlock using your Master Password.
    • Press the Home Button to leave Safari.
    • Open 1Password (the main app) within 2 minutes, it should be unlocked.

    Are you experiencing the same behaviour behaviour?

    For more information about our shared Lock Service between 1Password and its extension, please take a look at our Improved locking in 1Password 5.5 for iOS blog post. Please make sure you scroll down to the Lock Service: Centralized and better than ever section.

    That said, there is a known bug which displays a "gray" extension when called for the second time if both Touch ID and Lock On Exit are disabled. We are currently trying to figure out the best way to fix it. It is affecting the extension when the Master Password is the unlock method and when Settings > Security >"Lock On Exit" is disabled. For the time being, we could work around it by changing either setting, meaning either use Touch ID or enable "Lock On Exit".

    Please let me know if this works.

    Cheers!

    Ben & Rad

    ref: OPI-3425

  • AGAlumB
    AGAlumB
    1Password Alumni

    @scotty321: Ouch. I'm sorry for the trouble there! It's definitely how 1Password for iOS works here, and is supposed to work, so I wonder if the app is simply damaged on your devices for some reason. Most of all, it sounds like the inconsistency is what threw you off (from how it worked in years long past, though those changes happened over a year ago).

    Additionally, it's possible that changes we've made to the settings this past year may be conflicting with the settings you were using previously and not migrated correctly. Please tell me the text you see under 1Password Settings > Security > Touch ID.

    Simply toggling the security settings to make sure they save properly may do the trick. But ultimately the solution will probably be to backup your data and install a fresh copy of the app on each device.

    Please let me know what you find. I look forward to hearing back from you! :)

  • Thanks Scott. I've added your comments to our internal bug tracker on this issue. I don't think a screenshot from the iPhone will be necessary at this point but we'll be in touch if that would be helpful.

    Thank you again for your detailed descriptions involving this issue. Hopefully it is something we can get to the bottom of sooner rather than later.

    Ben

  • :+1: :)

    Ben

This discussion has been closed.