Skip to content

Upgrading dev.whyoleg.cryptography:cryptography-provider-apple 0.2 to 0.3

Breaking0.2.0 → 0.3.1Breaking3New11Changed2Fixed2Other2

BreakingUpgrade verdict

3 breaking changes.

  • Code using the old InsecureAlgorithm annotation must switch to DelicateCryptographyApi.
  • RSA key generation now takes the public exponent as a BigInt instead of the previous type.
  • RSA key format types changed from an enum to a sealed class, so binaries must be recompiled.
3 items need code or config changes

Adds dev.whyoleg.cryptography:cryptography-serialization-asn1 0.3.1, dev.whyoleg.cryptography:cryptography-serialization-asn1-modules 0.3.1, dev.whyoleg.cryptography:cryptography-serialization-pem 0.3.1, org.jetbrains.kotlin:kotlin-stdlib 1.9.22.

Drops org.jetbrains.kotlin:kotlin-stdlib-common.

Installs 11 packages in all (was 3).

Breaking3
Replaces InsecureAlgorithm annotation with DelicateCryptographyApi, an API breaking change.
InsecureAlgorithmDelicateCryptographyApi
publicExponent parameter in RSA keyPairGenerator is now of type BigInt, an API and ABI breaking change.
publicExponentkeyPairGeneratorBigInt
RSA key formats are now implemented via sealed class instead of enum, an ABI breaking change.