kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

[feature] peer to peer communication #293

Open brandonkal opened 4 years ago

brandonkal commented 4 years ago

SQS is painfully slow, adding 2-3 seconds to every ssh and git signing operation. This is especially painful for accessing local remote servers. Both my Android and mac are on the same local network. They should be able to communicate without reaching out to the internet.

Bluetooth is a hassle and unfortunately for me, my macs cannot hold a connection with my Android 8 phone. I've tried all the typical debugging: resetting the Mac's bluetooth module, disabling Hand-off and Airdrop, checking the phone for any battery optimizations, restarting macs and phone. No matter what is done, the Android will not stay connected for longer than a few seconds. Bluetooth is otherwise solid with peripherals and audio devices, so it is something specific to this macOS + Android combination.

So I would like to see peer-to-peer communication. On the local LAN first.

People can use something like ZeroTier or VPN for other situations (i.e. a laptop on a public WiFi network and the phone on mobile). Or it could just fallback to SQS if a direct connection cannot be made. If a flat network with discovery is assumed, this should be relatively simple to implement.

I suspect others may have issues with bluetooth, or simply don't want to rely on Amazon for other reasons. Peer-to-peer communication would solve that and improve the experience.

brandonkal commented 3 years ago

Given that it's been 15 months since this repo saw any work, I'm uninstalling all Krytco tools. Nice concept but too much complexity.

Feel free to close any of my bug reports or feature requests.