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

Problem with pinned key? #118

Closed
rtfpessoa opened this issue Jun 1, 2017 · 16 comments
Closed

Problem with pinned key? #118

rtfpessoa opened this issue Jun 1, 2017 · 16 comments

Comments

@rtfpessoa
Copy link

Hi,

Not sure if anyone else already reported this, but I could not find it. I am getting this error and I have no idea what might be the problem.

The server to which I am trying to connect changed but the ip was assigned to a new one. I deleted my know_hosts in my computer. Do I need to delete them on the app? Where can I do it?

Kryptonite ▶ Requesting SSH authentication from phone
Kryptonite ▶ Public key for <IP HERE> does not match pinned key. If the host key has actually changed, remove the pinned key in Kryptonite.
sign_and_send_pubkey: signing failed: agent refused operation
Authentication failed.

How should I proceed?

@rtfpessoa
Copy link
Author

Sorry I already found the know hosts in the settings. For some reason I misread it multiples times.

@kcking
Copy link
Contributor

kcking commented Jun 1, 2017

No problem! Let us know if you think there's a clearer message we could use.

@rtfpessoa
Copy link
Author

I guess it was mostly my fault, but if possible, in the app, when I click in that error send me to the known hosts and also, even better, highlight the one that cause the problem would be amazing.

@kcking
Copy link
Contributor

kcking commented Jun 4, 2017

Agreed, I have created an issue here that you can follow if you like :)
kryptco/krypton-ios#62

@rtfpessoa
Copy link
Author

Nice 👍

@danielwii
Copy link

danielwii commented Aug 23, 2017

I have reset my host and then cannot login anymore.
Kryptonite ▶ Public key for *.*.*.* does not match pinned key. If the host key has actually changed, remove the pinned key in Kryptonite.
Where can I remove the key?

@OGKevin
Copy link

OGKevin commented Aug 23, 2017

@danielwii inside the kr app on your phone

goto setting -> know hosts. there you should be able to remove the pinned key 👍

@danielwii
Copy link

Tks, didn't notice it, it's working now.

@radix
Copy link

radix commented Sep 13, 2018

I don't see "Settings -> known hosts" in the krypton app on my phone any more. Can someone please let me know how I can remove a pinned key?

@kcking
Copy link
Contributor

kcking commented Sep 13, 2018 via email

@daenney
Copy link

daenney commented Sep 17, 2018

I couldn't find this option in the Developer tab at first b/c at least on an iPhone 8 the screen isn't big enough, so it overlaps with some of the other stuff on it. The view also doesn't scroll, which seems to suggest it's some static background that just doesn't fit right?

image from ios

@agrinman
Copy link
Contributor

@daenney sorry about this, bug on our end. Didn't accounted for the zoomed screen settings. We'll fix asap in an upcoming release. Thanks!

@daenney
Copy link

daenney commented Sep 18, 2018

Awesome, thank you!

@ttheune
Copy link

ttheune commented Oct 21, 2018

Don't know if this should be a separate issue or not, but is there anyway to search through the knownkeys? With AWS instances and such, I've literally hundreds to scroll through. Very much needle in a haystack scenario here.

@pryorda
Copy link

pryorda commented Feb 19, 2019

It would be nice if this was set as a tab "hosts," then from there click and hold on each to pin or unpin

@viggy96
Copy link

viggy96 commented Nov 16, 2021

I've noticed I get this problem between using Krypton on WSL and Linux. I can unpin the key in the app then use it on Linux for example. Then when I go to WSL, it complains about the pinned key. Then I can unpin the key can use it in WSL. But then I go back to Linux and it complains there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants