Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Asking permission non-stop #71

Open
zackify opened this issue Jun 27, 2017 · 6 comments
Open

Asking permission non-stop #71

zackify opened this issue Jun 27, 2017 · 6 comments
Labels
Milestone

Comments

@zackify
Copy link

zackify commented Jun 27, 2017

I have my device set to never ask and to not ask on unknown hosts. Yet as of yesterday it has been prompting approval on every ssh connection.

@zackify
Copy link
Author

zackify commented Jun 27, 2017

Deleted the device, repaired, and fixed the problem. Looks like there's a bug though. Wonder if anyone else has ran into this.

@agrinman
Copy link
Contributor

agrinman commented Jun 27, 2017

What notification text did you see -- was it "Kryptonite Request"?

Thanks for reporting this!

@agrinman agrinman added the bug label Jun 27, 2017
@zackify
Copy link
Author

zackify commented Jun 27, 2017

Yes it was. So I would tell it allow once. Or three hours. It would then work. And the device would be set to one of those options. Choosing "never" didn't seem to take any effect. Would keep requesting each time if I had that set. Wish I could have shown a better way to reproduce.

@agrinman
Copy link
Contributor

agrinman commented Jun 27, 2017

Yes, this is a known issue (with a potentially unknown cause).Kryptonite Request should never actually appear. It appears when the iOS NotificationServiceExtension breaks while processing a "mutable" remote notification containing the encrypted request payload. This enables Kryptonite to decrypt a login request and either auto-approve per the set policies or convert it to a request for the user to approve even when the app is not running in the background. If the NotificationServiceExtension breaks, it defaults to having no detailed message and ignoring device policies, asking the user to approve directly. Unfortunately, it looks like the NotificationServiceExtension has some weird/unreliable behavior how it's implemented. Restarting the app or phone might even fix these issues.

Are you running iOS 11 beta by any chance?

@zackify
Copy link
Author

zackify commented Jun 27, 2017

That's too bad. Nope. iOS 10.3.2

@agrinman
Copy link
Contributor

Ok thanks, sorry about this! Please let me know if this starts happening again and if restarting the app fixes it at all.

@agrinman agrinman added this to the 2.2.1 milestone Oct 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants