Repository navigation
Authorize Azure with Entra ID only, and extend Azure, S3 and SigV4 coverage. - #14
Merged
Merged
Conversation
Drops the Azure Shared Key and HMAC vectors; a copy source token must be Bearer, and SAS is out of scope. Adds Append Block From URL, Put Page From URL and copies from another storage account, named by the new source_account_url call field. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
delete-many-version is refused for a caller without blobs/deleteBlobVersion/action; delete-many-current-version is refused to any caller. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Replaces the lone canonical-request vector with 12 SigV4 vectors, each confirmed against S3. s3.sign takes a list-valued header and payload_hash, and may report its canonical_request. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds checksum mode on S3 reads, Azure range checksums, Set Blob Metadata and Set Blob Properties, ListMultipartUploads and ListDirectoryBuckets; a failed checksum is the new error kind checksum_mismatch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
That commit, on borink-org/object-storage#43, speaks this branch's protocol and passes its vectors. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Azure cases now authorize with Microsoft Entra ID only. The suite does not aim to test a SAS or Shared Key, and the README says so.
x-ms-copy-source-authorizationis optional, but only asBearer <token>. Any other value fails, and so does a query on the source URL.azure.append_block_from_urlandazure.upload_pages_from_url(flat account only, since HNS has no page blobs).source_account_url, for every From URL operation. Within one tenant Azure reads the source as the caller, so the source token stays optional.copy-other-account: an asynchronous Copy Blob from another account, which Azure answers 401CannotVerifyCopySourcewith Entra ID.delete-many-versionanddelete-many-current-versionnow say which refusal depends on the caller's role.SigV4 signing:
UNSIGNED-PAYLOAD, aws-chunked with a trailer, and a session token.canonical_requestwhere a signer reports one.s3.signtakes a header as a list of values, and apayload_hash.Checksums on reads, blob properties and listings:
checksum_mode, for a stored CRC32 and the default CRC64NVME. A range that does not cover the whole object gets no checksum.range_checksum, and its 4 MiB limit. A client may refuse a range one byte over.checksum_mismatch, in constructed cases.azure.set_metadataandazure.set_properties, each replacing all it sets. Set Blob Properties clears the content properties it does not name.s3.list_uploads(ListMultipartUploads) on S3 and S3 Express. On a directory bucket,key-markertakes an earlier page's opaqueNextKeyMarker.s3.list_directory_bucketsinmanagement.json.All new and changed cases were verified live on both Azure account kinds, S3 and S3 Express. The example borink adapter reports the new Azure cases unsupported until borink-org/object-storage maps them.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com