-
Notifications
You must be signed in to change notification settings - Fork 253
chore(deps): update dependency com.google.crypto.tink:tink to v1.18.0 #1652
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
base: main
Are you sure you want to change the base?
chore(deps): update dependency com.google.crypto.tink:tink to v1.18.0 #1652
Conversation
/gcbrun |
@huangjiahua Could you take a look at the CI issues regarding Aead? |
Looks like Tink is upgrading to protobuf 4.28 in the new version:
This is the PR that they upgraded protobuf: tink-crypto/tink-java#44. It seems that their reasoning is protobuf 4.28 has restored binary compatibility with classes generated using 3.x. Does this mean we can exclude the protobuf version for Tink? |
b8189ab
to
a67a2e8
Compare
/gcbrun |
a67a2e8
to
06d4fe4
Compare
/gcbrun |
06d4fe4
to
e3c5810
Compare
/gcbrun |
e3c5810
to
6c42022
Compare
/gcbrun |
6c42022
to
92b0f33
Compare
/gcbrun |
This PR contains the following updates:
1.15.0
->1.18.0
Release Notes
tink-crypto/tink-java (com.google.crypto.tink:tink)
v1.18.0
: Tink Java v1.18.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and
misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.18.0
The complete list of changes since 1.17.0 can be found here.
Dropped support
Tink Android no longer supports API level 21 and 22. From Tink 1.18.0, the
minimum API level is 23.
Removed
Registry.wrap
. This API cannot have been used by users: thePrimitiveSet
needed for it was already moved to internal in Tink 1.13.0.New Features
Use Conscrypt's implementation of
Ed25519
when available.Improved performance of AES-GCM-SIV.
Tink now provides a flag
GlobalTinkFlags.validateKeysetsOnParsing()
. Ifset to true, Tink will run certain validations on a keyset before it creates
a
KeysetHandle
. We plan to flip the default of this flag to true in Tink2.0.
Bug fixes
AeadConfig.register()
now always registers AES-GCM-SIV. If it's notsupported by the registered JCE Providers, it will fail when the primitive
is created.
The Aead implementation returned by
com.google.crypto.tink.integration.android.AndroidKeystore.getAead()
created invalid ciphertexts on Android API version 28 and older when
the input was larger than 128kB. Now, it throws an exception instead.
JwtHmacKey
,LegacyKmsAeadKey
, andLegacyKmsEnvelopeAeadKey
are nowfinal. These cannot be properly subclassed as this would break
equalsKey
.Obscure behaviour changes
available. Previously, this used to work with some Configurations succeeding
and the primitive then failed when encrypt or decrypt was called.
Future work
To see what we're working towards, check our
project roadmap.
Getting started
To get started using Tink, see
the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive
:v1.17.0
: Tink Java v1.17.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.17.0
What's new
The complete list of changes since 1.16.0 can be found here.
New APIs
This release does not add new functionality.
Bugfixes
Tink Java 1.17.0 fixes the following bugs:
allocateDirect
to get a buffer which is only cleaned up asynchronously. This could lead to excessive memory consumption. Thanks to behrooz-stripe@ for reporting and fixing the issue!Future work
To see what we're working towards, check our
project roadmap.
Getting started
To get started using Tink, see
the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive
:v1.16.0
: Tink Java v1.16.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.16.0
What's new
The complete list of changes since 1.15.0 can be found here.
AndroidKeystore
, which is now the preferred way to interact with the Android Keystore.X25519
when available. On Android, it is available since API version 31. This makes HPKE both faster and uses less memory.@AccessesPartialKey
to be applied to fields and local variables, as well as methods and classes.X-AES-GCM
, which is an AEAD algorithm with extended nonce. It usesAES-CMAC
for key derivation andAES-GCM
for encryption. It is a generalization of the specification in https://c2sp.org/XAES-256-GCM.ConfigurationV0
) that are backwards compatible with behavior before configs were introduced.Future work
To see what we're working towards, check our project roadmap.
Getting started
To get started using Tink, see the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive
:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.