Touch ID app unlocking

hazmat
hazmat
Community Member

Is there an issue in 4.6-b24 or do I have a setting incorrect? I unlocked the app with Touch ID once or twice, but more often or not it just asks me for my master password. This is the first I'm running it in iOS 8 since I just updated to the GM yesterday from iOS 7.

Thanks.

Comments

  • Hi @hazmat,

    Can you provide a screenshot of your Security Settings in 1Password, so I can see what you've configured it to?

    Do you happen to have Xcode installed and if yes, can you look at the console the next time you see this and see if there are any errors?

  • hazmat
    hazmat
    Community Member

    Thanks, Mike. Here's the screenshot. I have Xcode, but not sure how I'm seeing the console output there from iOS.

  • Hi @hazmat,

    Open Xcode, go to the Windows menu > Devices and select the device on top left. On the bottom left (next to the left sidebar), there's a arrow button, click on it to expand the console and you'll see the console.


    One more thing, do you have Use iOS keychain enabled in Settings > Advanced of 1Password?

  • hazmat
    hazmat
    Community Member

    Thanks, Mike. I don't have my iPhone in the DEVICES section at the top left, just my Mac. And yes, Use iOS keychain is enabled.

    It's seeming random now to me. I tried opening and closing from various tabs, and was seeing only in Favorites that it wasn't asking for Touch ID after reopening. Now it's all working with Touch ID.

  • hazmat
    hazmat
    Community Member

    Update: I installed today's beta and the first few times I opened 1P it prompted me for Touch ID, but after that, it asks for the master password. Plus, when I tapped on the link to install from the email, I tried to use the 1P extension from Safari to log into HockeyApp and it asked for my master password as well.

  • hazmat
    hazmat
    Community Member

    Ok, I'm a moron about Xcode. I didn't have it plugged in via USB. :) Here are errors that I found:

    1PasswordBeta[1244] : assertion failed: 12A365: libxpc.dylib + 71820 [4BC9CA3D-4DEE-314C-ADBF-53BDCEEFE45C]: 0x7d

    1PasswordBeta[1244] : SecOSStatusWith error:[-25299] The operation couldn’t be completed. (OSStatus error -25299 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -25299 - duplicate item O,genp,DDC3D9CA,L,akpu,8RS32JY83C.com.agilebits.beta.onepassword-ios,0,acct,svce,v_Data,20140915183540.405621Z,EF211E53))

  • joetomasone
    joetomasone
    Community Member

    I've had a similar problem as well. TouchID is enabled, but I am asked for the master password. If I toggled it off and back on again, it would work for a time.

    I just installed today's beta, and when I ran it, I was asked for the Master Password. I went to the Security page, verified that it was enabled (took a screen shot) and was looking at the console when it locked (2 minute lock time) and asked for Touch ID. It asked for it a few times, then went back to asking for the master password about 10-15 minutes later (after the app was closed for a time).

    Console output:

    
    Sep 15 14:37:27 Joes-iPhone lsuseractivityd[1494] : Returned from back to client to ask it to save activity DAB1949A-4873-4230-8B6F-790F39BD090C, updatedInfo=LSUserActivityInfo:{ type = UserActivity; uuid = DAB1949A-4873-4230-8B6F-790F39BD090C; title = "Download Page - 1Password Public Beta – HockeyApp"; activityType = "NSUserActivityTypeBrowsingWeb"; date = "(null)"; userInfo = $62706c6973743030d40102030405062627582476657273696f6e58246f626a65.. 608 ..0000000000000201000000000000002a000000000000000000000000000001ec; url = " webPageURL=https://rink.hockeyapp.net/download/73d5b6e9a984448aabbf9dc6a944206d?loading=false&secret=" } (LSUserActivityClientProcess.m #741)
    Sep 15 14:37:36 Joes-iPhone lsuseractivityd[1494] : -- Advertising new item or updating user-idle time in previous advertisement, NSUserActivityTypeBrowsingWeb/DAB1949A-4873-4230-8B6F-790F39BD090C/"Download Page - 1Password Public Beta – HockeyApp" (CornerActionManager.m #1322)
    Sep 15 14:37:45 Joes-iPhone lsuseractivityd[1494] : -- Advertising new item or updating user-idle time in previous advertisement, NSUserActivityTypeBrowsingWeb/DAB1949A-4873-4230-8B6F-790F39BD090C/"Download Page - 1Password Public Beta – HockeyApp" (CornerActionManager.m #1322)
    Sep 15 14:38:43 Joes-iPhone lsuseractivityd[1494] : -- Advertising new item or updating user-idle time in previous advertisement, NSUserActivityTypeBrowsingWeb/DAB1949A-4873-4230-8B6F-790F39BD090C/"Download Page - 1Password Public Beta – HockeyApp" (CornerActionManager.m #1322)
    Sep 15 14:38:51 Joes-iPhone lsuseractivityd[1494] : -- Advertising new item or updating user-idle time in previous advertisement, NSUserActivityTypeBrowsingWeb/DAB1949A-4873-4230-8B6F-790F39BD090C/"Download Page - 1Password Public Beta – HockeyApp" (CornerActionManager.m #1322)
    Sep 15 14:38:55 Joes-iPhone pkd[1662] : UNINSTALLED:com.agilebits.beta.onepassword-ios.extension com.agilebits.beta.onepassword-ios.extension(1.0) 8B5E6881-E2EA-4A51-B09D-C8E2208F072A /private/var/mobile/Containers/Bundle/Application/346247DD-3FF8-473A-A92E-94B20C0B5422/1PasswordBeta.app/PlugIns/1Password Extension PublicBeta.appex
    Sep 15 14:39:04 Joes-iPhone pkd[1662] : INSTALLED:com.agilebits.beta.onepassword-ios.extension com.agilebits.beta.onepassword-ios.extension(4.6.BETA-25) <__NSConcreteUUID 0x14c546880> 7C462C47-6DE9-49B1-A6E0-9C1DE3E74C39 /private/var/mobile/Containers/Bundle/Application/8BD21AF6-7E4E-4837-BD57-CCF8B04AAC7F/1PasswordBeta.app/PlugIns/1Password Extension PublicBeta.appex
    Sep 15 14:39:54 Joes-iPhone lsuseractivityd[1494] : PICKING: - - "-",  as the current item-to-advertise (current=DAB1949A-4873-4230-8B6F-790F39BD090C NSUserActivityTypeBrowsingWeb Download Page - 1Password Public Beta – HockeyApp, 546d06db45d9c3). (CornerActionManager.m #734)
    Sep 15 14:39:57 Joes-iPhone 1PasswordBeta[2410] : assertion failed: 12A365: libxpc.dylib + 71820 [4BC9CA3D-4DEE-314C-ADBF-53BDCEEFE45C]: 0x7d
    Sep 15 14:39:58 Joes-iPhone 1PasswordBeta[2410] : You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
    Sep 15 14:39:58 Joes-iPhone securityd[78] :  securityd_xpc_dictionary_handler 1PasswordBeta[2410] add The operation couldn’t be completed. (OSStatus error -25299 - duplicate item O,genp,DDC3D9CA,L,akpu,8RS32JY83C.com.agilebits.beta.onepassword-ios,0,acct,svce,v_Data,20140915183958.325724Z,8A17B4F1)
    Sep 15 14:39:58 Joes-iPhone 1PasswordBeta[2410] :  SecOSStatusWith error:[-25299] The operation couldn’t be completed. (OSStatus error -25299 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -25299 - duplicate item O,genp,DDC3D9CA,L,akpu,8RS32JY83C.com.agilebits.beta.onepassword-ios,0,acct,svce,v_Data,20140915183958.325724Z,8A17B4F1))
    Sep 15 14:39:58 Joes-iPhone 1PasswordBeta[2410] : [KEYCHAIN-DIAGNOSTICS] Keychain already has the welcome message for extension
    Sep 15 14:39:59 Joes-iPhone 1PasswordBeta[2410] : 406025 [APP:0x1784615c0:] E createDummyFileInBetaContainer | Failed to create ubiquity container. Please enable iCloud and relaunch 1Password
    Sep 15 14:40:02 Joes-iPhone 1PasswordBeta[2410] : [WARNING] DropboxSDK: error making request to /1/metadata/dropbox/1Password/1Password.agilekeychain/a/default/files - (404) Path '/1Password/1Password.agilekeychain/a/default/files' not found
    Sep 15 14:40:02 Joes-iPhone 1PasswordBeta[2410] : 406025 [DROPBOX:0x170679900:] E loadMetadataAtPath:completion: | Failed to load metadata at path </1Password/1Password.agilekeychain/a/default/files>: Error Domain=dropbox.com Code=404 "The operation couldn’t be completed. (dropbox.com error 404.)" UserInfo=0x170679a80 {path=/1Password/1Password.agilekeychain/a/default/files, error=Path '/1Password/1Password.agilekeychain/a/default/files' not found}
    
    

    I should note, having looked at the console output, that Dropbox syncing was working properly.

  • joetomasone
    joetomasone
    Community Member

    Just happened again - after some time subsequent to the last usage of 1Password, I ran it again and was asked for the master password.

    Sep 15 21:25:44 Joes-iPhone iap2d[2486] : process com.agilebits.beta.onepassword-ios is now running the foreground
    Sep 15 21:25:44 Joes-iPhone locationd[55] : Gesture EnabledForTopCLient: 1, EnabledInDaemonSettings: 0
    Sep 15 21:25:44 Joes-iPhone 1PasswordBeta[2417] : Received memory warning.
    Sep 15 21:25:44 Joes-iPhone 1PasswordBeta[2417] : 406025 [DATABASE:0x170079ac0:] M didReceiveMemoryWarning: | Will clear 0 items from database cache
    Sep 15 21:25:45 Joes-iPhone iaptransportd[63] : CIapPortAppleIDBus: Auth timer timeout completed on pAIDBPort:0x1375161e0, portID:01 downstream port
    Sep 15 21:25:45 Joes-iPhone locationd[55] : Gesture EnabledForTopCLient: 1, EnabledInDaemonSettings: 0
    Sep 15 21:25:47 Joes-iPhone 1PasswordBeta[2417] : [WARNING] DropboxSDK: error making request to /1/metadata/dropbox/1Password/1Password.agilekeychain/a/default/files - (404) Path '/1Password/1Password.agilekeychain/a/default/files' not found
    Sep 15 21:25:47 Joes-iPhone 1PasswordBeta[2417] : 406025 [DROPBOX:0x1720712c0:] E loadMetadataAtPath:completion: | Failed to load metadata at path </1Password/1Password.agilekeychain/a/default/files>: Error Domain=dropbox.com Code=404 "The operation couldn’t be completed. (dropbox.com error 404.)" UserInfo=0x17867b380 {path=/1Password/1Password.agilekeychain/a/default/files, error=Path '/1Password/1Password.agilekeychain/a/default/files' not found}
    

    I guess there's some sort of issue with Dropbox?

  • joetomasone
    joetomasone
    Community Member

    Logged in with master password and saw this:

    Sep 15 21:30:12 Joes-iPhone 1PasswordBeta[2417] : 406025 [SYNC:0x172069100:] M changePasswordInProfile:afterUnlockingSyncSourceWithPassword: | Syncing profiles match. Detected password change in ~/library/replicas/dropbox_3489245/~1password~1password.agilekeychain, will use new password
    

    Then I exited, ran it again, and got the TouchID prompt:

    Sep 15 21:30:43 Joes-iPhone locationd[55] : Gesture EnabledForTopCLient: 1, EnabledInDaemonSettings: 0
    Sep 15 21:30:43 Joes-iPhone iap2d[2486] : process com.agilebits.beta.onepassword-ios is now switching to other state
    Sep 15 21:30:43 Joes-iPhone UserEventAgent[17] : id=com.agilebits.beta.onepassword-ios pid=2417, state=32
    Sep 15 21:30:43 Joes-iPhone CoreAuthUI[2414] : -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on ; layer = > without matching -beginDisablingInterfaceAutorotation. Ignoring.
    Sep 15 21:30:48 Joes-iPhone kernel[0] : 330905.178001 wlan0.A[38171] AppleBCMWLANCore::dumpWmeCounters():  per AC tx counters: 1381177 367550 333436 16152, rx counters: 4637963 22 0 2049 
    Sep 15 21:30:48 Joes-iPhone kernel[0] : 330905.178033 wlan0.A[38172] AppleBCMWLANCore::dumpWmeCounters():                AWDL: Tx 1431 0 0 0      Rx: 46 0 0 0 
    Sep 15 21:30:51 Joes-iPhone locationd[55] : Gesture EnabledForTopCLient: 1, EnabledInDaemonSettings: 0
    Sep 15 21:31:10 Joes-iPhone 1PasswordBeta[2417] : [WARNING] DropboxSDK: error making request to /1/metadata/dropbox/1Password/1Password.agilekeychain/a/default/files - (404) Path '/1Password/1Password.agilekeychain/a/default/files' not found
    Sep 15 21:31:10 Joes-iPhone 1PasswordBeta[2417] : 406025 [DROPBOX:0x172069440:] E loadMetadataAtPath:completion: | Failed to load metadata at path </1Password/1Password.agilekeychain/a/default/files>: Error Domain=dropbox.com Code=404 "The operation couldn’t be completed. (dropbox.com error 404.)" UserInfo=0x1726638c0 {path=/1Password/1Password.agilekeychain/a/default/files, error=Path '/1Password/1Password.agilekeychain/a/default/files' not found}
    Sep 15 21:31:33 Joes-iPhone locationd[55] : Gesture EnabledForTopCLient: 1, EnabledInDaemonSettings: 0
    Sep 15 21:31:49 Joes-iPhone iap2d[2486] : process com.microsoft.lync2013.iphone is now running in the background
    Sep 15 21:31:51 Joes-iPhone 1PasswordBeta[2417] : [WARNING] DropboxSDK: error making request to /1/metadata/dropbox/1Password/1Password.agilekeychain/a/default/files - (404) Path '/1Password/1Password.agilekeychain/a/default/files' not found
    Sep 15 21:31:52 Joes-iPhone 1PasswordBeta[2417] : 406025 [DROPBOX:0x17a8733c0:] E loadMetadataAtPath:completion: | Failed to load metadata at path </1Password/1Password.agilekeychain/a/default/files>: Error Domain=dropbox.com Code=404 "The operation couldn’t be completed. (dropbox.com error 404.)" UserInfo=0x17226e9c0 {path=/1Password/1Password.agilekeychain/a/default/files, error=Path '/1Password/1Password.agilekeychain/a/default/files' not found}
    
  • Hi guys,

    Huge thanks for the logs! They've provided valuable information for us and we're looking into it as we speak.

    Just to be sync up on the settings here, do you guys have background refresh enabled for 1Password? If yes, can you turn it off, and see if 1Password is more stable. If it is not better, does Xcode show the same errors as the ones you've posted here?

  • hazmat
    hazmat
    Community Member

    First time I went into 1Password today it asked for the master password. Every time since it's allowed Touch ID. This was all before disabling the background updating. I see no rhyme or reason for when it asks or not.

  • joetomasone
    joetomasone
    Community Member

    Ditto. Will advise.

  • MikeT
    edited September 2014

    Hi guys,

    Did you by any chance cancel TouchID once before or if it didn't recognize the print? If TouchID was switched to use the passcode or cancelled by accident, it's intentional for iOS to not show the prompt for it until you unlock once with the master password to authorize TouchID again.

    Please do keep us informed of any changes here. We're trying to track down these issues as we want to fix them ASAP.

  • hazmat
    hazmat
    Community Member

    No, I never touched the Touch ID setting. But other than the one time today, Touch ID has worked. I did turn off background refresh.

  • Hi @hazmat,

    Just to be clear, I'm not referring to the TouchID setting in 1Password. What I meant is the TouchID prompt itself, it has the cancel option on the list and if you tap that, it will disable TouchID until you authorize with MP once more.

    We found a few bugs related to TouchID being cancelled by the system, like if the TouchID was showing while the device goes to sleep. That also disables TouchID until authorized by MP.

    It should get better soon as we keep getting more information from more users.

  • hazmat
    hazmat
    Community Member

    Oh, I see. No, I am almost positive that I've never canceled the Touch ID prompt in 1P. It's possible, however, that I've put the phone to sleep during that prompt, but I doubt it.

  • Hi guys,

    We've found a few more edge cases, like unlocking the extension in Safari doesn't reset the overall auto-lock timer and that'll be fixed soon.

    It appears there are edge cases that we need to accommodate in order to improve TouchID's performance. Can you guys give me a general idea of what you're doing before TouchID stops working (you can tell me via private message here or email to support+forum@agilebits.com), and we'll test it to see what's causing the issue.

    Thanks!

  • hazmat
    hazmat
    Community Member

    Hey, Mike. No failures today. Only one time was when I restarted. Is it supposed to ask for your master password on first launch after restart?

  • MikeT
    edited September 2014

    Hi @hazmat,

    Yes, that's normal. You'll notice the same thing happens to your device, it'll ask for the passcode each time you reboot or don't use TouchID within 48 hours.

  • hazmat
    hazmat
    Community Member

    Yeah, I figured it was the same case as iOS itself, requiring the passcode for the first time after a reboot. I'll keep in it, but so far so good today.

  • That's great news!

    Based on what we've seen a few times, it appears that some of the issues may be related to iOS 8 itself rather than something in our code. So, I'd imagine as more users use more of the TouchID apps, Apple might get more information from the developers including us and fix this in a future iOS update.

  • hazmat
    hazmat
    Community Member

    I got it to happen again. No idea why, but it kept on asking for the master password until I unlocked it, then Touch ID again after that.

  • Hi @hazmat,

    I suspect you didn't see anything in Xcode or you couldn't get to it in time?

    We're going to start logging these failures in the diagnostic report in the next update, that should tell us where the issue is.

  • hazmat
    hazmat
    Community Member

    Yeah, sorry, I wasn't in a position where I could plug it into the Mac.

  • No worries. I'd figured as much as I got myself in that situation a few times.

This discussion has been closed.