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

Using GCM decrypting the file content fails for files >32kB on Android API level pre 29 (version 9.0) #35

Closed
SailReal opened this issue Mar 8, 2023 · 0 comments · Fixed by #36

Comments

@SailReal
Copy link
Member

SailReal commented Mar 8, 2023

Similar to #24 and see cryptomator/android#479

We need to increase the buffer size here as well (ByteBuffer.allocate(PAYLOAD_SIZE + GCM_TAG_SIZE))

ByteBuffer cleartextChunk = ByteBuffer.allocate(PAYLOAD_SIZE);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant