Skip to content

Conversation

@yogwoggf
Copy link
Collaborator

@yogwoggf yogwoggf commented Nov 4, 2025

Resolves #49

Changes

  • Adds a unique, random 64-bit nonce to the EnvHandle
  • Concatenates nonce to each Autorun chunk to identify protos (used only to detour jit.attach properly, which is crucial)
  • Exposes function, Autorun.isProtoAuthorized. to determine if a proto is authorized by checking its chunkname and seeing if the nonce matches.
  • Exposes jit library to Autorun scripts (no util yet)
  • Adds docs and the missing docs for function auth
  • Adds a .editorconfig to make docs easier to edit for other IDEs than Zed or whatever you use

@yogwoggf yogwoggf self-assigned this Nov 4, 2025
@yogwoggf yogwoggf requested a review from vurvdev November 4, 2025 21:08
@yogwoggf yogwoggf marked this pull request as ready for review November 4, 2025 21:08
@yogwoggf
Copy link
Collaborator Author

yogwoggf commented Nov 5, 2025

Lgtm

@yogwoggf yogwoggf merged commit 34ee87a into master Nov 5, 2025
2 checks passed
@yogwoggf yogwoggf deleted the 49-proto-auth branch November 5, 2025 03:52
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.

Proto authorization

2 participants