Repository navigation
dstack OS v0.5.16
Maintenance release for the 0.5 line. A KMS key rotation changes every key GetKey derives, and the 0.5 guest agent had no way to reach the key from before it. This release adds key epoch selection to GetKey, the guest side of #1630 in dstack 0.6.6, so an app can still derive its old key and migrate off it. It ships in the meta-dstack v0.5.16 guest OS image. There are no new 0.5 component releases.
We recommend upgrading to dstack 0.6.6. The 0.5 line receives fixes only.
Guest changes
GetKeykey epochs:GetKeyArgstakes optionalroot_epochandapp_epoch, andGetKeyResponsereports the epochs the key was derived from. Unset means the current epochs, as before. An older epoch's app root key is fetched from the KMS once and kept in memory.Tappd.DeriveK256KeysharesGetKeyArgsand honours the selectors too (#1631).
Requirements
- Selecting an older epoch needs a KMS that serves it: dstack-kms 0.6.5 or later whose root keys were rotated, with an auth backend whose policy for that epoch still allows the instance. Asking for an epoch newer than the current one fails.
- Without the selectors nothing changes. A 0.5.16 guest derives exactly the keys 0.5.15 did.
- Check the epochs in the response. A 0.5.15 or older guest ignores the selectors and returns the current key. The v0 clients of the 0.6.0 SDKs send the selectors and refuse a response that does not report the requested epochs.