Skip to content

Add MVP connection-based communication - #89

Open
bovine3dom wants to merge 2 commits into
masterfrom
native_socket
Open

Add MVP connection-based communication#89
bovine3dom wants to merge 2 commits into
masterfrom
native_socket

Conversation

@bovine3dom

Copy link
Copy Markdown
Member
nimble build -Y
./installers/install.sh local

from Tridactyl

:set nativecontrol true

from a terminal

~/.local/share/tridactyl/native_main --request 'tabopen example.org'

my security design so far is that if you have access to the user account you're beyond the security boundary and it's all fair game. unix sockets would have been nice but they're not very cross platform, so going for boring TCP port listening on 127.0.0.1 with a shared secret auth token readable only by the user. as a bonus it means you can hack on it by forwarding that port somewhere and sharing the secret.

- remove challenge/proof, just use bearer token
- switch TCP to JSONL
- filter liveness by PID
- simplify arg parsing

Probably some more cruft to cut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant