Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pdowler opened this issue Jan 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pdowler
Copy link
Member

pdowler commented Jan 14, 2022

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.

@pdowler pdowler added the enhancement New feature or request label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant