Lurker News
What are you working on? What have you been curious about lately?

Comments (1,124) 974 threads

Earlier comments
evanpurkhiser#
I've really been enjoying using Codex as a headless remote agent on my home lab. I'll often pull it up from my phone and jam on some little project when inspiration strikes.

I kept bumping into the question of how to give it access to the things it needs without leaving my private keys and other credentials on the server though.
For SSH (and sudo through pam_ssh_agent_auth), I ended up building agent-auth and Agent Witness. Codex sees a normal SSH_AUTH_SOCK and supplies some context about why it needs a signature. If one of my Macs is available, agent-auth proxies the request to the 1Password SSH agent there. Otherwise it routes the request to Agent Witness on my phone.
Agent Witness runs as a PWA and is essentially a remote ssh-agent. The private keys are wrapped, encrypted, and stored in IndexedDB locally on the phone. The vault can only be unwrapped with a secret derived from a passkey, and all key handling and signing happens locally through the browser's Web Crypto APIs. The unwrapped keys are non-extractable CryptoKey objects (the web crypto APIs are pretty awesome!)
When a signing request comes in, the PWA gets a push notification. It shows me the reason Codex supplied, the command being run, and the key being requested. I authorize it with my passkey, the PWA signs the request, and only the resulting signature goes back to the server. The private key never leaves my phone.
https://github.com/evanpurkhiser/agent-auth https://github.com/evanpurkhiser/agent-witness
I also recently put together psst, which solves the related problem of handing a secret to Codex from 1Password. I give it a 1Password item-sharing link, it opens a local session where it decrypts the 1password item in memory, and Codex can inspect the available fields of the item before explicitly retrieving only the ones it needs. The CLI refuses to write secret values to a terminal, which helps keep them out of argv, shell history, and transcripts.
I’m sure I could work out a better approach where the agent absolutely cannot retrieve the secret since if it really wanted to read the secret, it could of course pipe the value into cat or whatever. The goal is to just make secret access explicit and avoid accidentally spraying credentials into places where they'll be retained. So far it’s been a very nice flow with agent browser.
https://github.com/evanpurkhiser/psst

adityaathalye#
Answering the second question:

I've been curious about...
The machinations of my own mind/psyche/nervous system. For various reasons, I have had to get increasingly curious and stay that way over a years-long haul. This includes the usual suspects:
- "Serious Stuff", lets say. Viz. paying attention to and learning about therapeutic introspection, relationship/social dynamics, clinical psychology, meds as they apply to me.
- BUT also can include "fun stuff"! For example: seeking out and befriending like-oriented kindred spirits (it feels great to be seen / heard by peers), and developing a persistent interest in biology (which I hated in school), and even signing up for research studies! I got accepted into a Phd memory study and it was great to be back on a university campus, a couple of decades since graduating.
Current opinion: I think all mental health work leans N(1).
The art of it appears to be remaining curious and seeking self-understanding without lapsing into tiktok pop-psych, nor a false sense of studied erudition (No; one will almost certainly not become a clinician).
The greater the complexity/depth/intensity of one's condition, the more it calls for subtle, bespoke work. Progress from outside-self intervention has an upper limit (e.g. "taking the prescribed meds"). Active, self-directed self-work (in concert with one's support system, of course), brutal as it, must be done... somehow.
To others in a similar state space; may The Force be with you. Following one's curiosity, even now, will probably not result in the curious cat's fate. Worth the extra (omg so much extra) trouble, IMHO.
_|/
P.S. Anyone wishing to discuss more, feel free to email me (see bio). Please refer to this exact comment.
I've deliberately not shared specifics, including self-educational resources, because this stuff is slow, plodding, deliberate N(1) work, and I've personally found it counterproductive to read/consume the vast majority of N(1) experiences I've found.
(edit: fix typos, reformat for clarity)

Load more comments