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

Jackson writeValue to stream causes "GCM cipher cannot be reused for encryption" #190

Closed
valb3r opened this issue Apr 14, 2020 · 0 comments · Fixed by #344
Closed

Jackson writeValue to stream causes "GCM cipher cannot be reused for encryption" #190

valb3r opened this issue Apr 14, 2020 · 0 comments · Fixed by #344
Assignees
Labels
bug Something isn't working

Comments

@valb3r
Copy link
Contributor

valb3r commented Apr 14, 2020

"GCM cipher cannot be reused for encryption"
is thrown when trying to use

os = privateService.write(...)
ObjectMapper mapper = new ObjectMapper();
mapper.writeValue(os, new HashMap<>())

Yields "GCM cipher cannot be reused for encryption" exception.
Writing bytes works perfectly ok

@valb3r valb3r added the bug Something isn't working label Apr 14, 2020
@AssahBismarkabah AssahBismarkabah self-assigned this Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
2 participants