After adding that key to GitHub, CommandBox got further, but GitHub rejected it with:
ERROR: You're using an RSA key with SHA-1, which is no longer allowed.
Please use a newer client or a different key type.
So my question is: does CommandBox 6.3.3 currently support modern GitHub SSH authentication for private repos, such as RSA SHA-2 signatures? Or is the recommended approach now to use HTTPS with a GitHub PAT and _netrc?
We support whatever the jGit library supports, which has always seemed a little behind. I would recommend moving to private packages stored with ForgeBox S3 storage if you need an alternative. I’m not familiar with any recent changes in GitHub’s requirements-- I don’t personally use any private Github packages with CommandBox myself.
I will eventually use Forgebox, but since this module is a greenfield app currently in development, I thought using Github to test would be easier, at least for now.
I got it working by creating a Github personal access token: Profile photo → Settings → Developer settings → Personal access tokens → Tokens (classic)
Then as the Commandbox docs instruct, I created a new file: C:\Users\{windows_username}\_netrc