feat: add gitdan-crates-access, a deploy-key action for the private crates repo
The job token cannot read daniel/gitdan-crates, so CI authenticates with a read-only deploy key. The action writes it 0600 outside the workspace, pins the forge's host key (RSA, the only type offered, confirmed against the trusted known_hosts record and a fresh keyscan), exports GIT_SSH_COMMAND, proves access with ls-remote, and fails on a Cargo.lock with two commits of the crates repo. The selftest is wired into selftest.sh. Existing actions and scripts are untouched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MfBCVNDv3y5gm2djeZSAk4
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[gitdan.com]:22022 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDH9sQaH4m5PQ+oNVrRUrsT0muOm0nb3wHSpg3Ps72apDYyJqF6ljdxq1EbUQPfzk3GHSqGKPCNrNfWkOSTphmXyq7+IqlknAPU7cuPxAUi7u0QY6nUM19GrgE79k7rhCHHdPIHpAropgrg9ezmhjV/57rUsTLuxv/thLaxza0zjbYIIyKf6FDMI+PZiQ/vJAAQOCIPvK0XJ2gmNuG3w+pbFsi6AlrcfT72Vpde0CppYBH1fyGGNrnH7muBD1t1BkX3gtfK9+gPAr4IC1Liyi/rT1CLiJNTRW1C9R/aYXFwfi9djd7Fe1o5ez6bQ5f/avyQmXNrtLcYR2Wz2jhA3P2aRtSHO+UgHH5hSLetVVzSRToiVvhAqdT/AWUJGOkQoDpd9MMyyAxgIiht5mL2+Tv3jtgkv+9KwV8DjZwBQIL0bHhUnL7HJTNwWZxqp/rgXC7rnQ1dCuq47W+LH1fTDkYbsiB3NZhLvJ1tBgzBdiKtZ+FYiIXCAbpetwTi+hnyBuanQ3DIkGPRCGGU3ZIvRs4Z8Qf+rQY6POjAFl8zUDCdxbNUE4M0phHHErUDzcgd/AifAC17Nr4jwdU0u2p2NUHrvqrHLRWvw0o+Oo+tOdWRkBbe//KIHf4UQ4vLXdpjv9K2thKgUEIMdILAyBtavDD2j3MDAXYUDQx5KmntRe29JQ==
|
||||
Reference in New Issue
Block a user