Commit Graph

4 Commits

Author SHA1 Message Date
Chris Farhood 964cc0de00 fix: use user-provided JWT generation logic
Replaced my bash implementation with the user's provided snippet.
Key differences that fix the bad credentials issue on macOS:
1. Uses openssl enc -base64 -A instead of openssl base64
2. Uses jq -r -c . to strictly format the JSON header/payload
3. Explicitly wraps the RSA signature binary in b64enc.
2026-03-25 22:19:02 -04:00
Chris Farhood dedb35953b refactor: rewrite JWT generation from python to bash
Replaced generate_jwt.py with generate_jwt.sh using only openssl and
coreutils. Updated SKILL.md to remove the python fallback section and
use grep/cut for JSON parsing instead of python3.
2026-03-25 21:46:02 -04:00
Chris Farhood f425b5191e fix: rewrite openssl signing to use file path directly
The previous implementation had a stdin conflict -- it passed the PEM
key on stdin but also needed to pass the unsigned data on stdin. Now
that we take a file path, openssl reads the key from the file and gets
the data to sign from stdin.

Also removed the dead-code tempfile fallback and unused hashlib import.
2026-03-25 21:34:11 -04:00
Chris Farhood 1b7356c61d feat: add github-app-token skill 2026-03-25 21:29:22 -04:00