foundationdb/fdbserver/workloads
Ata E Husain Bohra a38318a6ac
Update 'salt' details for EncryptHeader AuthToken details (#6881)
* Update 'salt' details for EncryptHeader AuthToken details

Description

Major changes:
1. Add 'salt' to BlobCipherEncryptHeader::cipherHeaderDetails.
2. During decryption it is possible that BlobKeyCacheId doesn't
    contain required baseCipherDetails. Add API to KeyCache to
    allowing re-populating of CipherDetails with a given 'salt'
3. Update BaseCipherKeyIdCache indexing using {BaseCipherKeyId, salt}
    tuple. FDB processes leverage BlobCipherKeyCache to implement
    in-memory caching of cipherKeys, given EncryptKeyProxy supplies
    BaseCipher details, each encryption participant service would
    generate its derived key by using different 'salt'. Further,
    it is possible to cache multiple {baseCipherKeyId, salt} tuples;
    for instance: CP encrypted mutations being deciphered by
    StorageServer etc.

Testing

1. Update EncyrptionOps simulation test to simulate KeyCache miss
2. Update BlobCipher unit tests to validate above mentioned changes
2022-04-18 22:01:56 -07:00
..
ApiCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ApiWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ApiWorkload.h Merge branch 'main-4a085fc84' into vv 2022-03-30 22:28:06 -07:00
AsyncFile.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFile.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFileCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFileRead.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AsyncFileWrite.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AtomicOps.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AtomicOpsApiCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
AtomicRestore.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
AtomicSwitchover.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackgroundSelectors.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupAndParallelRestoreCorrectness.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupCorrectness.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupToBlob.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
BackupToDBAbort.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupToDBCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BackupToDBUpgrade.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BlobGranuleCorrectnessWorkload.actor.cpp Added basic blob granule consistency check 2022-04-04 11:38:42 -05:00
BlobGranuleVerifier.actor.cpp Blob integration (#6808) 2022-04-08 14:15:25 -07:00
BlobStoreWorkload.h Update copyright header dates 2022-03-21 13:36:23 -07:00
BulkLoad.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
BulkSetup.actor.h Update copyright header dates 2022-03-21 13:36:23 -07:00
Cache.actor.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
ChangeConfig.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ChangeFeeds.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClearSingleRange.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientTransactionProfileCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ClientWorkload.actor.cpp Address review comments 2022-04-11 09:17:10 -06:00
ClogSingleConnection.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
CommitBugCheck.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ConfigIncrement.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ConfigureDatabase.actor.cpp fix configure workload typo 2022-04-08 11:40:03 -07:00
ConflictRange.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ConsistencyCheck.actor.cpp Introduce BlobCipher interface and cipher caching interface (#6391) 2022-03-24 07:31:49 -07:00
CpuProfiler.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Cycle.actor.cpp Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
DDBalance.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DDMetrics.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DDMetricsExclude.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DataDistributionMetrics.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DataLossRecovery.actor.cpp When clearing the database between tests, check that clearing the tenant left the entire normal key-space empty. Update the configuration of some tests. Disable a special key-space test that is invoking broken behavior. 2022-04-14 11:39:02 -07:00
DifferentClustersSameRV.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DiskDurability.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DiskDurabilityTest.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
DiskFailureInjection.actor.cpp Remove getMinReplicasRemaining PromiseStream. 2022-04-07 23:23:23 -07:00
DummyWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
EncryptKeyProxyTest.actor.cpp EncryptKeyProxy server APIs for simulation runs. (#6727) 2022-04-11 09:08:42 -07:00
EncryptionOps.actor.cpp Update 'salt' details for EncryptHeader AuthToken details (#6881) 2022-04-18 22:01:56 -07:00
ExternalWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
FastTriggeredWatches.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
FileSystem.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Fuzz.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
FuzzApiCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
GetMappedRange.actor.cpp GetMappedRange support serializable & check RYW & continuation (#6181) 2022-03-10 10:05:44 -08:00
GetRangeStream.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
HealthMetricsApi.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
HighContentionPrefixAllocatorWorkload.actor.cpp Fix formatting 2022-01-31 14:43:04 -08:00
Increment.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
IncrementalBackup.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
IndexScan.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Inventory.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
KVStoreTest.actor.cpp rename ssd-rocksdb-experimental as ssd-rocksdb-v1. 2022-03-29 10:53:38 -07:00
KillRegion.actor.cpp Move resolutionBalancing() back to master 2022-03-23 09:57:31 -07:00
LocalRatekeeper.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
LockDatabase.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
LockDatabaseFrequently.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
LogMetrics.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
LowLatency.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MachineAttrition.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Mako.actor.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
MemoryKeyValueStore.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MemoryKeyValueStore.h Update copyright header dates 2022-03-21 13:36:23 -07:00
MemoryLifetime.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MetricLogging.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MiniCycle.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
MutationLogReaderCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ParallelRestore.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Performance.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
PhysicalShardMove.actor.cpp When clearing the database between tests, check that clearing the tenant left the entire normal key-space empty. Update the configuration of some tests. Disable a special key-space test that is invoking broken behavior. 2022-04-14 11:39:02 -07:00
Ping.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
PopulateTPCC.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
PrivateEndpoints.actor.cpp Don't test requests that don't initialize properly (#6880) 2022-04-18 10:44:56 -07:00
ProtocolVersion.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
PubSubMultiples.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
QueuePush.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RYWDisable.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RYWPerformance.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RandomClogging.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RandomMoveKeys.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RandomSelector.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ReadAfterWrite.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ReadHotDetection.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ReadWrite.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RemoveServersSafely.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
ReportConflictingKeys.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RestoreBackup.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
RestoreFromBlob.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
Rollback.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
RyowCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
SaveAndKill.actor.cpp Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-07 13:29:27 -06:00
SelectorCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Serializability.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Sideband.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
SidebandSingle.actor.cpp Fix two more cases of error(e, true) 2022-03-04 12:44:52 -08:00
SimpleAtomicAdd.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
SlowTaskWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
SnapTest.actor.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
SpecialKeySpaceCorrectness.actor.cpp When clearing the database between tests, check that clearing the tenant left the entire normal key-space empty. Update the configuration of some tests. Disable a special key-space test that is invoking broken behavior. 2022-04-14 11:39:02 -07:00
StatusWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Storefront.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
StreamingRangeRead.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
StreamingRead.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
SubmitBackup.actor.cpp Add proxy option to backup and restore params. 2022-03-28 17:10:49 -07:00
SuspendProcesses.actor.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
TPCC.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TPCCWorkload.h Update copyright header dates 2022-03-21 13:36:23 -07:00
TagThrottleApi.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TargetedKill.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TaskBucketCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TenantManagement.actor.cpp The tenant deletion test now deletes multiple tenants concurrently rather than serially. Fix some variable shadowing in the delete test. 2022-04-15 13:17:19 -07:00
ThreadSafety.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Throttling.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Throughput.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TimeKeeperCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
TriggerRecovery.actor.cpp Add missing copyright headers 2022-03-16 11:25:02 -07:00
UDPWorkload.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
UnitPerf.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
UnitTests.actor.cpp Merge remote-tracking branch 'upstream/main' into tenant-token-sign 2022-04-13 19:55:37 +02:00
Unreadable.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
VersionStamp.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
WatchAndWait.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
Watches.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
WatchesSameKeyCorrectness.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
WorkerErrors.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
WriteBandwidth.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
WriteDuringRead.actor.cpp Fix formatting issues. 2022-04-14 12:03:39 -07:00
WriteTagThrottling.actor.cpp Update copyright header dates 2022-03-21 13:36:23 -07:00
workloads.actor.h Merge remote-tracking branch 'origin/main' into features/private-request-streams 2022-04-10 14:12:37 -06:00