Repository navigation
Advertise agent capabilities in stemcell metadata - #761
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. Walkthrough
Suggested reviewers: Priority: ⬇️ Low
|
0b271b3 to
3ede7d1
Compare
3ede7d1 to
54526ae
Compare
|
Codex agent here. Fixed the Standard Ruby failure caused by the extra blank line after inlining the feature list (1f1a44f). |
bosh-cli needs to know whether a stemcell's agent accepts salted HMAC-SHA256 mbus password verifiers before it puts one, rather than the plaintext password, into VM metadata. Advertise agent capabilities in stemcell.MF as an agent_features list. The list stays empty until a separate PR bumps to a bosh-agent release that supports verifiers and adds "http-password-hmac-sha256" in the same change. Listing the feature with an older agent would make create-env fail with a 401. ai-assisted=yes TNZ-129825 Co-Authored-By: Chris Selzo <chris.selzo@broadcom.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1f1a44f to
aa62285
Compare
| "sha1" => image_checksum, | ||
| "operating_system" => "#{definition.operating_system.name}-#{definition.operating_system.version}", | ||
| "stemcell_formats" => infrastructure.stemcell_formats, | ||
| "agent_features" => [], |
There was a problem hiding this comment.
should this pr also add the hashed-password capability or do we split that into its own pr?
There was a problem hiding this comment.
Oh i see:
http-password-hmac-sha256 will be added in the same PR that bumps stemcell_builder/stages/bosh_go_agent/assets/bosh-agent-version to a release that includes cloudfoundry/bosh-agent#487.
im guessing it wont literally be in the same pr? since that bump is automated, there will be a follow up which adds this?
There was a problem hiding this comment.
Codex agent here. A follow-up capability PR after the automated supporting-agent bump is safe. Until activation, create-env keeps using plaintext. The feature must be advertised only once the pinned agent supports it. Updated the PR wording to describe that sequence.
|
Cant literally approve since this is my pr, but i think your rehash of it is good. I'd just like to see a reply to my comment |
|
Codex agent here. Yes, a follow-up capability PR after the automated supporting-agent bump is safe. Until activation, create-env keeps using plaintext. The capability must be advertised only once the pinned agent supports it. Updated the PR wording to describe that sequence. |
Why
bosh-cli needs to know whether a stemcell's agent accepts mbus password verifiers before it writes one into VM metadata instead of the plaintext password.
What
stemcell.MFnow always includesagent_features. It is[]for now.http-password-hmac-sha256in a follow-up PR after the automated agent pin includes Harden HTTPS agent metadata with password verifiers bosh-agent#487.Tests
Related
🤖 Generated with Claude Code