-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Failed to load freshly created passkey, nothing found #767
Comments
@strongbox-mark If you need more details about this issue feel free to contact me, I'll try to do my best 😅 |
Hi @pylapp - can you reproduce this issue with a freshly create new local device database? |
First things first: thank you a lot for your quick answer 🤩 Then as suggested I created a new database stored on my device (and not in a file). After having deleted the previous passkey, I defined a new one in this new local in-device database. It works like a charm! What do you suggest? |
Yeah, that's very strange. I haven't actually used the camera for creating Passkeys before! I usually use the built in integration, but it's funny that it works on new database, indicating something weird with your existing database. Could you send your debug info to [email protected]? Can you create a Passkey using Strongbox on macOS? i.e. not using the QR Code/Camera. Does that work with your existing database? |
Interesting, I tried another way and it failed. On an iPhone, if I use a freshly new database based on a file it works. But the thirds case I just tried failed exactly like the initial issue: if the passwords database is synced to iCloud, it fails and cannot get the passkey with the related party needed. Maybe the case where the database is synced in iCloud is the buggy case 🤨 @strongbox-mark If you explain how I can get the debug logs feel free to explain me and I'll share it by email like suggested. |
@strongbox-mark I digged deeper and here are some conclusions of mine:
So it seems to be quite... random. Or only working once and never after. Didn't see any diff betweens entries (except of course details of the passkey). 100% success with local device file. |
Hi @pylapp - I think what's happening here is that you are creating the Passkey successfully on your iPhone but then trying to use that passkey on macOS. The problem is is that the Passkey has not synced via iCloud yet, so you need to check that the changes have come across to your mac via iCloud. You can check this by checking the Modified timestamp on macOS (you can see this also in your iCloud Strongbox folder on your Mac). Check it matches the timestamp on your iPhone on Strongbox home screen. Unfortunately iCloud is terrible for Sync and we can't recommend it. Do you have access to any other cloud drive? e.g. OneDrive, Dropbox, Google Drive? The larger your file the worse iCloud is, so sometimes a brand new small database syncs fine but an older larger existing file doesn't. We don't have control over the sync with iCloud unfortunately. Another thing to note is that actually you can create a passkey on your Mac, but you need to make sure that Strongbox is enabled under: System Settings > Passwords > Password Options > Use Passwords and Passkeys and turn off "iCloud Keychain". Then you won't need to use an iPhone and QR Code and sync back to Mac. Then you should be offered to create in Strongbox although there is still and issue with Chrome and Firefox whereby they still use the term "iCloud Keychain" when they really should use the term "System Passkey Provider" or similar. Google is actually supposedly fixing this soon. |
Sorry I didn't understand 😅 |
Oh, I'm sorry I didn't get that you were doing everything on your iPhone, ok... Interesting. It does seem like it's got to be something to do with iCloud, since as you say, Local Device based databases seem to work. I'd like another data point. Do you have access to OneDrive, Dropbox or Google Drive? I wonder if we create a database there and try that does it work? You can tap + > Create New Database > [OneDrive|Dropbox|Google Drive] and select a folder to add a database there. It's very strange, this should just work, but it seems like the AutoFill QuickType database which is an Apple system database that holds info like: "Strongbox can provide Passkey X for Relying Party Y" is somehow out of sync or not updated properly. Also, you can send Debug info from the Settings screen, tap "Contact Support" and it'll generate an email for you, or on the About screen there's a copy button. |
Ok thank you for all these details and the speed of your answers. |
TestsDatabase on Google Drive
Existing database and updating an entry
I just sent you and email with the debug details as required. |
Preliminaries
I have ensured that:
Versions
On iOS (please complete the following information):
Strongbox Version
Describe the bug
It seems a freshly created passkey cannot be found in my database ; the relying party is defined in the database but the web app calling the key and triggering the key finding did not succeed in getting the key at that relying party.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The passkey at the given relying party must be used to complete the signing process.
Screenshots & Recordings
Not possible to make on the fly screenshots because it closes the sheet saying the key cannot be found.
Additional context
If needed I can try to provide more details about this bug and my setup (first time using a passkey). True with another web browser.
The text was updated successfully, but these errors were encountered: