Skip to content

Conversation

@archandatta
Copy link
Contributor

@archandatta archandatta commented Jan 6, 2026

Note

Introduces end-to-end tooling to prepare the Cloudflare web-bot-auth extension for Kernel use.

  • New extensions build-web-bot-auth command with flags: --to, --url, --key, --upload, --name
  • Implements build flow: download GitHub archive, extract, inject host URLs into templates, convert Ed25519 JWK to PEM, run npm install/build, bundle, and copy artifacts (.crx, update.xml, built files, policy directory, private_key.pem with .gitignore)
  • Uses readable extension path names (e.g., extensions/<name>/update.xml) instead of Chrome ID in generated URLs
  • Adds pkg/extensions/webbotauth.go (core logic) and tests for download/extract
  • Adds utility functions in pkg/util: file ops (CopyFile, CopyDir, ModifyFile) and crypto (JWKToPEM, PKCS#8 marshal)
  • Wires command into cmd/extensions.go alongside existing list/download/upload commands

Written by Cursor Bugbot for commit 73a9f65. This will update automatically on new commits. Configure here.

@archandatta archandatta marked this pull request as ready for review January 7, 2026 16:08
@archandatta archandatta requested a review from rgarcia January 7, 2026 17:46
@archandatta archandatta force-pushed the archand/add-support/web-bot-auth branch from 01fb400 to 6380ccd Compare January 9, 2026 18:20
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.

2 participants