by ethanholt1 on 5/1/24, 6:26 PM with 407 comments
by rvnx on 5/1/24, 6:52 PM
https://www.clockwork.com/insights/ssh-agent-hijacking/ (SSH Agent Hijacking)
by miki123211 on 5/1/24, 8:13 PM
Processing credit card data has a high compliance burden if you're unwilling to use a secure widget made by an already-authorized provider like Stripe. That's for a good reason, most web and mobile apps are designed such that their backend servers never see your full credit card number and CVV. You can't do this over SSH.
I also wonder whether you could even do this if you had to handle PSD2 2-factor authentication (AKA 3d Secure), which is a requirement for all EU-based companies. This is usually implemented by displaying an embed from your bank inside an iframe. The embed usually asks you to authenticate in your banking app or enter a code that you get via SMS.
You can take the easy way out of course and make the payment form a web page and direct the user to it with an URL and/or a Unicode-art rendition of a QR code.
by PaulDavisThe1st on 5/1/24, 7:50 PM
[ EDIT: worried to the point that we actually implemented a telnet version of the store in parallel with the http/html one for a few months before abandoning it ]
by thdxr on 5/1/24, 7:28 PM
we'll be back in a few weeks with proper inventory and fulfillment
we'll also be opensourcing the project and i can answer any questions people have about this
by thisisauserid on 5/1/24, 6:59 PM
by Shakahs on 5/1/24, 6:55 PM
by 9front on 5/1/24, 11:50 PM
┌──────────┬────────┬─────────┬───────┬────────────────────┐
│ terminal │ s shop │ a about │ f faq │ c checkout $ 0 [0] │
└──────────┴────────┴─────────┴───────┴────────────────────┘
nil blend coffee
whole bean | medium roast | 12oz
$25
Dive into the rich taste of Nil, our delicious semi-sweet
coffee with notes of chocolate, peanut butter, and a hint
of fig. Born in the lush expanses of Fazenda Rainha, a
280-hectare coffee kingdom nestled in Brazil's Vale da
Grama. This isn't just any land; it's a legendary
volcanic valley, perfectly poised on the mystical borders
between São Paulo State and Minas Gerais. On the edge of
the Mogiana realm, Fazenda Rainha reigns supreme, a true
coffee royalty crafting your next unforgettable cup.
sold out!
────────────────────────────────────────────────────────────
+ add item - remove item c checkout ctrl+c exit
by tonymet on 5/1/24, 6:46 PM
Something like hypercard implemented with 80x24 ncurses UI
by pimlottc on 5/1/24, 7:18 PM
> ssh terminal.shop
Oops, I thought I was supposed to enter it directly into the prompt on the webpage. The styling makes it look like an interactive console, I figured they included an embedded javascript SSH client for users who might not have one.
by latexr on 5/2/24, 12:32 PM
> this one waits exactly 17 seconds (!), then opens a telnet session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has a TCP socket up and running) and sends something like `sys brew`. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
by raggi on 5/1/24, 11:14 PM
I wrote up a little demo and explainer at
https://mitm.terminal.shop.rag.pub
ssh mitm.terminal.shop.rag.pub
by Repulsion9513 on 5/1/24, 7:27 PM
by tithe on 5/1/24, 6:28 PM
Can I pipe that order through to a payment processor and delivery method? Script my meals for the week?
by lambdaxyzw on 5/2/24, 9:21 AM
Strong disagree. The encryption is the easy part, the hard part is the symmetric key exchange. And PKI used by browsers is much more robust for this usecase then TOFU model of ssh. Of course the proper way to fix this is checking the ssh key fingerprint, but almost nobody does this.
by orblivion on 5/1/24, 7:10 PM
(I know this is considered an atrocity by some, but I happen to not really care enough about my terminal color to change the default)
by low_tech_punk on 5/1/24, 10:25 PM
by sva_ on 5/1/24, 6:45 PM
by wrs on 5/1/24, 6:42 PM
My constructive feedback is that the text contrast is so low (in iTerm2 anyway) I can barely read anything. I thought only web pages had that problem, but I guess sufficiently sophisticated TUI apps have designer color problems too! What's next, incredibly tiny terminal fonts? (jk, designers...sort of)
by manicennui on 5/1/24, 8:32 PM
It is SMS based. Each week they offer a different bean from a different roaster, and you reply with the number of bags you want. I've discovered a number of great roasters this way.
by lxe on 5/1/24, 6:36 PM
by exabrial on 5/1/24, 7:29 PM
That's a bit different than the key listed
by 1970-01-01 on 5/1/24, 6:52 PM
"Before Google, Sergey Brin tried (and failed) to let us order pizza by fax"
by rrr_oh_man on 5/1/24, 8:48 PM
by TaylorAlexander on 5/1/24, 6:39 PM
by geuis on 5/1/24, 10:06 PM
ssh -a -i /dev/null -o StrictHostKeyChecking=no watch.ascii.theater
by Dig1t on 5/1/24, 6:36 PM
by aftbit on 5/1/24, 6:58 PM
by nerdjon on 5/1/24, 6:39 PM
But I do kinda like the idea of something as... niche as this popping up in a highly tech area and then offering the ability to buy and get your coffee without ever seeing someone.
Like you just walk into a room with a rotating door (like one you might see at a doctors office for samples) or something like that.
Feels very... introvert and would be kinda fun.
by toddmorey on 5/1/24, 6:47 PM
https://podcasts.apple.com/us/podcast/how-about-tomorrow/id1...
by 9front on 5/1/24, 11:46 PM
will Nil make me a better developer?
legally we cannot guarantee that it will, but...
is it true your coffee contains the sweat of @theprimeagen?
we can neither confirm nor deny these rumors.
is it true your coffee contains the tears of @thdxr?
yes, this is true.
by mebazaa on 5/1/24, 6:37 PM
by aprilnya on 5/1/24, 11:53 PM
> is ordering via ssh secure? you bet it is. arguably more secure than your browser. ssh incorporates encryption and authentication via a process called public key cryptography. if that doesn’t sound secure we don’t know what does.
Doesn’t TLS use public key cryptography too?
by yegle on 5/1/24, 7:02 PM
> ssh terminal.shop "register foo $pubkey"
> ssh foo@terminal.shop "set shipping address to $addr, credit card info $info, email address $email"
> ssh foo@terminal.shop "order one 12oz light roast"
by dancemethis on 5/1/24, 10:42 PM
by hk1337 on 5/1/24, 7:11 PM
EDIT Pizza Party is what I am thinking about.
by melodyogonna on 5/1/24, 7:12 PM
by arianvanp on 5/1/24, 8:06 PM
by raytopia on 5/1/24, 7:18 PM
As an aside kind of funny to see this pop up. I was just talking about if anyone was doing ordering through a cli a while ago: https://news.ycombinator.com/context?id=39817617
by zachlatta on 5/1/24, 9:26 PM
$ ssh sshtron.zachlatta.com
by worker_thread on 5/1/24, 9:19 PM
by mynameisnoone on 5/2/24, 6:59 AM
by archgoon on 5/1/24, 6:54 PM
by langcss on 5/2/24, 2:43 AM
by pahool on 5/1/24, 6:46 PM
by cbhl on 5/1/24, 7:29 PM
The "enter your email for restock updates" part of the screen showed up as white-on-white on my light-mode-by-default Gnome Terminal on my first try and so I was slightly confused; sshing from `uxterm` worked fine though.
by low_tech_punk on 5/1/24, 7:59 PM
by doawoo on 5/1/24, 10:14 PM
Did you go and source it from farms? Is this sourced from another company? Whose blend? Do you provide the roast date on the bag?
by pmarreck on 5/1/24, 8:00 PM
The massive simplification this provides over rendering HTML/CSS should be attractive to startups.
Now I wish we had a CLI/TUI for things like Amazon...
by poopsmithe on 5/1/24, 8:55 PM
I was curious to see if I could connect using mosh. I could, but I wasn't able to use the hotkeys to browse the different screens like I was when I connected via ssh.
by kobieps on 5/1/24, 7:09 PM
by dingosity on 5/1/24, 10:30 PM
scp foo.txt terminal.shop:.
I was worried for a second they hadn't thought of that.by normsbee on 5/1/24, 6:57 PM
by semessier on 5/1/24, 6:43 PM
by wuj on 5/2/24, 9:05 PM
by matt3210 on 5/1/24, 11:28 PM
> wip: terminal (initial commit)
by whimsicalism on 5/1/24, 6:48 PM
by bascope24 on 5/2/24, 6:05 AM
by mhh__ on 5/1/24, 8:30 PM
by k8svet on 5/1/24, 7:38 PM
by ayman_saleh on 5/1/24, 7:49 PM
Not sure how the stripe payments intake work but very cool!
by willcipriano on 5/1/24, 7:09 PM
by nunez on 5/1/24, 10:36 PM
by yalok on 5/1/24, 8:11 PM
by amelius on 5/2/24, 6:46 AM
by bee_rider on 5/1/24, 7:52 PM
by skilled on 5/1/24, 6:39 PM
by cat_plus_plus on 5/1/24, 6:51 PM
by einpoklum on 5/2/24, 9:30 AM
by gnabgib on 5/1/24, 6:31 PM
by latentsea on 5/2/24, 12:28 AM
by colesantiago on 5/1/24, 6:40 PM
by cozzyd on 5/1/24, 6:55 PM
by atleastoptimal on 5/2/24, 8:32 AM
by glonq on 5/1/24, 7:30 PM
by kolinko on 5/1/24, 6:53 PM
by botsone on 5/2/24, 9:37 AM
by fagrobot on 5/2/24, 2:41 AM
by qxfys on 5/2/24, 7:30 AM
by I_o_IllI__o_I on 5/1/24, 11:15 PM
by nescioquid on 5/1/24, 6:38 PM
by huhuhu111 on 5/1/24, 11:15 PM
by dwhly on 5/2/24, 2:58 PM