Live data from Hacker News

Show HN: Kryptonite – a new home for your SSH private key

krypt.co

91–100 of 227 posts

Re: Show HN: Kryptonite – a new home for your SSH private key

#91

Hey HN! We've built a way to generate an SSH key on your phone and use it from your computer such that the private key never leaves the phone. We were inspired by the threat model of USB HSMs like the Yubikey and set out to build a free, public source, and easier to use BYOD alternative. Looking forward to your questions!

Any chance of a UWP/Windows Phone app in the future?

Re: Show HN: Kryptonite – a new home for your SSH private key

#92

Earlier quoted context omitted.

>>> The phone's kernel, in addition to being more important attack surface than the Linux kernel (because of the jailbreak market, among other things), is auto-updated. Most android phones are not updatable at all since manufacturers don't publish any update. That, alone, should be enough to put phones among the most vulnerable devices on the planet.

Not to mention the vast majority of android devices have vulnerable wifi firmware, that will never be updated. Somehow fans of phone security think there is nothing strange about replacing a phone every 12 months to keep receiving updates...

What's really happening is that fans of phone security want to say "iPhone" rather than "phone", but when they do that on HN, Linux-on-the-desktop Android supporters come out of the woodwork to yell at them, and it's a winnable argument on a thread that is only about whether iPhones are more secure than Android phones, but not on broader threads where it's just an enormous distraction.

As you can see from this thread, some people are bored and just want the distraction and will go out of their way to revive the slapfight.

Despite having friends working hard to deliver a secure Android phone for Google, my advice to generalists is the same as yours: avoid Android.

Re: Show HN: Kryptonite – a new home for your SSH private key

#93
post #66

Earlier quoted context omitted.

What specifically do you consider a gigantic pain in the ass about using SSH keys on a Yubikey? Also, how is keeping the private key ensconced in a (presumably) secure HSM a 'bit of security theatre'? Genuinely interested, here.

The agent process is tricky to set up and persnickety, especially if you use the token for anything else besides SSH. At one point, before I tableflipped and switched back to software keys, I had to switch agent processes any time I used my Y4 to sign into a VPN. The theater is that you're protecting a key but not the account the key protects . Yes, you'll never lose the actual RSA key bits to an attacker. But that'l…

I switched my SSH keys on my Yubikey from using the OpenPGP applet and all the funkiness of gpg-agent over to using X.509 certificates with the PIV applet.

Added bonus is that not only does it work with SSH, but you can use those certificates for TLS mutual authentication in web browsers. Works out of the box on Mac/Windows.

Re: Show HN: Kryptonite – a new home for your SSH private key

#95
Looks interesting. However, it seems to maybe assume you're using bash? Using the fish-shell it seems to have simply broken ssh and git operations with incorrect syntax. I had to run `kr uninstall` to get things back to normal (it fails when it's running fish or if I drop into bash so it's somehow looking at my default shell.)

I submitted a ticket on the repo.

Re: Show HN: Kryptonite – a new home for your SSH private key

#96

Looks interesting. However, it seems to maybe assume you're using bash? Using the fish-shell it seems to have simply broken ssh and git operations with incorrect syntax. I had to run `kr uninstall` to get things back to normal (it fails when it's running fish or if I drop into bash so it's somehow looking at my default shell.) I submitted a ticket on the repo.

Thanks, will fix this asap. We have tested on bash, zsh, and fish on macOS but it seems we missed an edge case. I'll follow up with your ticket.

Re: Show HN: Kryptonite – a new home for your SSH private key

#97

So the new way to secure your private keys is in a location you DON'T control and validation by text message? It's May 1st not April 1st.

I think you may have misunderstood our architecture. SMS doesn't play any role in Kryptonite and all communication between the phone and computer is encrypted and authenticated. Check out a full explanation of the architecture here: https://blog.krypt.co/the-kryptonite-architecture-a385e7aaa3...

Re: Show HN: Kryptonite – a new home for your SSH private key

#98
post #54
post #47

I haven't reviewed the implementation, but this is a really good idea. I want one.

I will likely end up using this in personal capacity, and would also appreciate if the UX of using Google Authenticator were more similar to this, rather than requiring me to screenscrape my phone with my eyeball and then type information into another device (or, more painfully, another window on the same phone). The easiest way to do that probably results in a callback to Big Daddy G every time I access anything sen…

With Apple's devices, you can copy-paste your 2nd factor token between devices, which makes things much more convenient. Although cloud copy-paste is still significantly slower than tapping "Allow" in a notification, it's lower friction than manually typing those numbers.

Although the security of cloud copy-paste I haven't investigated...

Re: Show HN: Kryptonite – a new home for your SSH private key

#99
post #88

Earlier quoted context omitted.

>>> The phone's kernel, in addition to being more important attack surface than the Linux kernel (because of the jailbreak market, among other things), is auto-updated. Most android phones are not updatable at all since manufacturers don't publish any update. That, alone, should be enough to put phones among the most vulnerable devices on the planet.

It puts those Android phones among the more vulnerable devices. Don't use those Android phones. I recommend iPhones to anyone concerned about security, but you can substitute the Google phone of your choice; I don't want the argument today.

Thomas, I'm sure I'm speaking on behalf of many on HN - your ability to tirelessly battle through incorrect information on HN revolving around security related posts is commendable and always appreciated. As they say, patience is a virtue.
Post reply on HN