Skip to content

cadc-storage-adapter-swift: remove hard-coded assumption of md5 file checksum #387

@pdowler

Description

@pdowler

The model expresses checksums as {algorithm}:{hex value)
cadc-storage-adapter MessageDigestAPI supports md5, sha1, sha224, sha256, and sha512

SwiftStorageAdapter config should allow config of

defaultChecksumAlgorithm={supported algorithm}
enforceSingleChecksumAlgorithm=true|false

The code should never assume md5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions