onlykey.github.io icon indicating copy to clipboard operation
onlykey.github.io copied to clipboard

Safari mobile webcrypt error user "NotAllowedError" when decrypting

Open scottroot opened this issue 3 years ago • 2 comments

Iphone 11, ios 14.8. New onlykey. OTG adapter. I'm able to use all the regular features of the onlykey, however when I try to decrypt a file or message in webcrypt I get an error.

Steps to recreate issue:

  • Encrypt message or file without signing on webcrypt, enter my keybase username, onlykey not attached
  • Download / copy encrypted file/message
  • Click decrypt menu option at top of page
  • Upload/paste encryped, enter my keybase username
  • Plug in my onlykey and unlock, wait til turns green
  • Press Decrypt
  • Onlykey light changes color... then message to press challenge code
  • Press key(s) on onlykey... then light turns green again
  • Wait. then receive error
  • "Error NotAllowedError This request has been cancelled by the user."

I've tried it with stored key button challenge mode on, and off, but same result. Onlykey works fine with webcrypt when done on computer.

I have to store a lot of sensitive data while on the go, so this was a big feature for me, so I'm hoping that there is something I am just doing wrong that you can tell me.

scottroot avatar Jan 11 '22 17:01 scottroot

Safari recently introduced a feature where FIDO2 messages require user interaction in the browser for each message. This breaks webcrypt on iOS devices as webcrypt sends multiple messages. We have a way to make this work which will be included in future release of webcrypt.

onlykey avatar Jan 12 '22 13:01 onlykey

https://github.com/onlykey/onlykey.github.io/pull/34

bmatusiak avatar Jan 15 '22 08:01 bmatusiak