storj/satellite/metainfo
Michal Niewrzal d6054214c3 satellite/metainfo: move metadata validation to a proper place
Metadata validation for CommitObject request was placed in a wrong
place. There is a case (old uplink) where encrypted key is bundled
inside encrypted metadata bytes and we need to extract it before we
can validate it. This change moves metadata validation to a place where
we are sure we have encrypted metadata and encrypted metadata encrypted
key ready to be checked.

"Run Versions Test" is covering this case and it was failing without
this change.

Change-Id: Ib709ad901fbb3fa4865a393195b7b3f4c0d87e7a
2022-08-24 10:50:43 +00:00
..
expireddeletion satellite/metabase: copy expires_at to segments while FinishCopyObject 2022-04-27 18:39:54 +00:00
piecedeletion satellite/metainfo/piecedeletion: use nodes cache 2022-07-21 00:43:24 +00:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
attribution.go satellite/metainfo: Use project-level attribution at bucket level 2022-06-07 17:08:50 +00:00
batch_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
batch.go satellite/metainfo: endpoint cleanup 2021-08-26 09:52:38 +00:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go {satellite/metainfo, satellite/accounting}: remove ValidateSegmentLimit config value and check 2022-07-27 15:36:53 +00:00
endpoint_bucket_test.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_bucket.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_object_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint_object.go satellite/metainfo: move metadata validation to a proper place 2022-08-24 10:50:43 +00:00
endpoint_segment_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint_segment.go satellite/metainfo: align satellite StreamID protobuf version with metabase 2022-08-24 10:17:34 +00:00
endpoint_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint.go satellite: in-memory 'top'-like counter for project/partner 2022-08-11 10:21:54 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite: in-memory 'top'-like counter for project/partner 2022-08-11 10:21:54 +00:00
validation.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
version_collector_test.go satellite/metainfo: skip TestUserAgentTransferStats 2022-05-25 11:15:23 +00:00
version_collector.go satellite/metainfo: add IPFS datastore user agent to metrics 2022-05-17 13:09:22 +02:00