Problem
9 of 14 fuzz targets in rust/fuzz/ fail to compile against cachekit-core 0.1.1. The API has evolved (e.g., encrypt_aes_gcm renamed to encrypt_with_keys, StorageEnvelope field changes) but the fuzz targets were never updated.
Broken targets
| Target |
Error |
encryption_roundtrip |
no method named encrypt_aes_gcm |
encryption_nonce_reuse |
no method named encrypt_aes_gcm |
encryption_truncated_ciphertext |
no method named decrypt_aes_gcm |
encryption_aad_injection |
no method named encrypt_aes_gcm |
encryption_large_payload |
no method named encrypt_aes_gcm |
integration_layered_security |
no method named encrypt_aes_gcm + trait bounds |
byte_storage_corrupted_envelope |
StorageEnvelope field access changes |
byte_storage_integer_overflow |
StorageEnvelope field access changes |
byte_storage_empty_data |
StorageEnvelope field access changes |
byte_storage_checksum_collision |
StorageEnvelope field access changes |
Working targets (4)
byte_storage_compress
byte_storage_decompress
byte_storage_format_injection
encryption_key_derivation
Additional fix needed
rust/fuzz/Cargo.toml previously depended on the non-existent package cachekit-storage. Fixed in PR #113 to depend on cachekit-core directly (the fuzz targets use cachekit-core's internal module paths).
Scope
Update all 9 broken fuzz targets to match cachekit-core 0.1.1's current API. No new targets needed.
Problem
9 of 14 fuzz targets in
rust/fuzz/fail to compile against cachekit-core 0.1.1. The API has evolved (e.g.,encrypt_aes_gcmrenamed toencrypt_with_keys,StorageEnvelopefield changes) but the fuzz targets were never updated.Broken targets
encryption_roundtripno method named encrypt_aes_gcmencryption_nonce_reuseno method named encrypt_aes_gcmencryption_truncated_ciphertextno method named decrypt_aes_gcmencryption_aad_injectionno method named encrypt_aes_gcmencryption_large_payloadno method named encrypt_aes_gcmintegration_layered_securityno method named encrypt_aes_gcm+ trait boundsbyte_storage_corrupted_envelopeStorageEnvelopefield access changesbyte_storage_integer_overflowStorageEnvelopefield access changesbyte_storage_empty_dataStorageEnvelopefield access changesbyte_storage_checksum_collisionStorageEnvelopefield access changesWorking targets (4)
byte_storage_compressbyte_storage_decompressbyte_storage_format_injectionencryption_key_derivationAdditional fix needed
rust/fuzz/Cargo.tomlpreviously depended on the non-existent packagecachekit-storage. Fixed in PR #113 to depend oncachekit-coredirectly (the fuzz targets use cachekit-core's internal module paths).Scope
Update all 9 broken fuzz targets to match cachekit-core 0.1.1's current API. No new targets needed.