-
Notifications
You must be signed in to change notification settings - Fork 20
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
KeysetHandle deprecations #49
Comments
Thanks for the question! In general, we try to be explicit about this in our java doc -- let me know if this isn't the case here. For the getPrimitive call, tink-java/src/main/java/com/google/crypto/tink/KeysetHandle.java Lines 1142 to 1146 in ce33b3d
RegistryConfiguratoin.get(). (This makes explicit that you want to use the configuration of Tink which is specified by register calls, in the future we will add more options).
For the read call,
We also plan to provide refaster templates to do (some of) these refactorings automatically: https://github.com/tink-crypto/tink-java/blob/main/tools/refaster/README.md -- for the refactorings you list here this still needs to be done, however. I will leave this open in order to remind me that I should add these templates. |
Thank you. Given instructions helped. |
After updating to 'com.google.crypto.tink:tink:1.16.0' some features were deprecated. Most notably KeysetHandle read() and getPrimitive() methods. But documentations and examples shows also deprecated style of coding. Where should I migrate to?
Implementation that complains deprecation.
The text was updated successfully, but these errors were encountered: