ubicloud/rhizome/host/spec
Hadi Moshayedi 4c6f74738b Make StorageKeyEncryption.read_encrypted_dek backward compatible.
Previously, wrapped DEKs written to `data_encryption_key.json` were
encoded using `Base64.encode64`, which inserted a newline every 60
characters and always appended a trailing newline. Later, this was
changed to `Base64.strict_encode64`, which produces a single
uninterrupted string.

While `Base64.decode64` can handle both formats,
`Base64.strict_decode64` fails if newlines are present.

Since `StorageKeyEncryption.read_encrypted_dek` is called when starting
old VMs after a server reboot, it must remain backward compatible.

This change updates `StorageKeyEncryption.read_encrypted_dek` to use
`Base64.decode64`.
2025-08-21 16:02:20 -07:00
..
boot_image_spec.rb Make sha256 sum calculation faster. 2024-05-17 15:21:56 -07:00
cert_server_setup_spec.rb Fix race with cert server leaving vm stuck in prep 2025-05-12 09:01:21 +02:00
cloud_hypervisor_spec.rb Allow Prog::Vm::Nexus.assemble to choose cloud-hypervisor version 2025-05-06 11:16:04 -07:00
slice_setup_spec.rb Add rspec tests for SliceSetup. 2025-01-10 19:21:41 -08:00
spdk_rpc_spec.rb Enable setting IO rate limits in Rhizome's storage volume 2024-11-20 13:26:27 -08:00
spdk_setup_spec.rb Make SpdkSetup.prep idempotent in Ubuntu 24.04. 2025-06-23 11:31:46 -07:00
storage_key_encryption_spec.rb Make StorageKeyEncryption.read_encrypted_dek backward compatible. 2025-08-21 16:02:20 -07:00
storage_key_tool_spec.rb Add rhizome multi-device storage abstractions 2024-01-24 09:19:33 -08:00
storage_volume_spec.rb Fix persistent_device_id for NVMe disks 2025-07-16 10:26:54 -07:00
vm_path_spec.rb Update rubocop-rspec to 2.26.0 and fix new style checks 2024-01-05 09:23:40 +03:00
vm_setup_spec.rb Allow Prog::Vm::Nexus.assemble to choose cloud-hypervisor version 2025-05-06 11:16:04 -07:00