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

Allow options for generating CheckSum while uploading object using Storage category (i.e. CRC-32, SHA-256, etc.) #11776

Closed
2 tasks
muvashi opened this issue Aug 10, 2023 · 4 comments
Assignees
Labels
feature-request Request a new feature Storage Related to Storage components/category

Comments

@muvashi
Copy link

muvashi commented Aug 10, 2023

Is this related to a new or existing framework?

Angular, React, React Native, Vue, Web Components, Next.js

Is this related to a new or existing API?

Storage

Is this related to another service?

No response

Describe the feature you'd like to request

When using S3 PubObjectCommand API, we can specify the CheckSumAlgorithm which generate the checksum in S3 that can be used later.

However, there is no option to generate the checksum via Amplify storage API call.

Describe the solution you'd like

Option to pass ChecksumAlgorithm while using Storage.put() API call.

Describe alternatives you've considered

.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@muvashi muvashi added the pending-triage Issue is pending triage label Aug 10, 2023
@nadetastic nadetastic added the feature-request Request a new feature label Aug 10, 2023
@cwomack cwomack added Storage Related to Storage components/category and removed pending-triage Issue is pending triage labels Aug 10, 2023
@cwomack cwomack self-assigned this Aug 10, 2023
@wiewiur667
Copy link

wiewiur667 commented Aug 14, 2023

Thanks for quick action on that ticket.

Do you know how long it might take? I need to put something in our system.

@cwomack
Copy link
Member

cwomack commented Aug 14, 2023

Hello, @wiewiur667 👋 and thank you for opening this issue. I've marked it as a feature request at this time because we do not currently support passing ChecksumAlgorithm while calling the Storage.put() API. I'll review this with the team internally and provide updates on any progress as it's made.

@tlmader
Copy link

tlmader commented Nov 6, 2023

@cwomack Any news from the team on this? I'm currently using Storage.put in our React Native app for image upload, and sometimes corrupted images make it through. The ability to pass a pre-calculated checksum is something we'd love to try.

@cwomack cwomack changed the title Generate CheckSum while uploading object using Storage category Allow options for generating CheckSum while uploading object using Storage category (i.e. CRC-32, SHA-256, etc.) Aug 7, 2024
@cwomack
Copy link
Member

cwomack commented Dec 12, 2024

@muvashi and @tlmader, we just released the Storage Browser connected component within the Amplify UI library that will support crc32 checksum. Also, the uploadData API in v6 of Amplify will support checksumAlgorithm: 'crc-32' as an option (not documented, but we'll get that updated).

Can you let us know if the two of these updates are sufficient for your use cases? Thanks.

@cwomack cwomack added the pending-community-response Issue is pending a response from the author or community. label Dec 12, 2024
@cwomack cwomack closed this as completed Dec 17, 2024
@github-actions github-actions bot removed the pending-community-response Issue is pending a response from the author or community. label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature Storage Related to Storage components/category
Projects
None yet
Development

No branches or pull requests

5 participants