Upgrading dev.whyoleg.cryptography:cryptography-provider-cryptokit 0.5 to 0.6
Breaking0.5.0 → 0.6.0Breaking8Deprecated1New15Changed6Fixed2Other5
BreakingUpgrade verdict
7 breaking changes.
In plain terms
- The key generator type moved to a new package.
- The PEM label property has a new name.
- Simplifies the AlgorithmIdentifier hierarchy by removing KeyAlgorithmIdentifier in the ASN.1 module.
- Code that used the old key encoding interfaces must switch to the new ones.
Must act Top 4 of 8 that need code or config changes
Installs 15 packages in all (was 13).
What you must change
Breaking7
Renames dev.whyoleg.cryptography.materials.key.KeyGenerator to dev.whyoleg.cryptography.operations.KeyGenerator.
KeyGeneratorRenames PemLabel.representation to PemLabel.value in the cryptography-serialization-pem module.
PemLabel.representationPemLabel.valueSimplifies the AlgorithmIdentifier hierarchy by removing KeyAlgorithmIdentifier in the ASN.1 module.
AlgorithmIdentifierKeyAlgorithmIdentifierRefactors key-related abstractions, replacing EncodableKey, KeyDecoder, and KeyFormat with Encodable, Decoder, and EncodingFormat.
EncodableKeyKeyDecoderKeyFormatEncodableDecoderEncodingFormatMakes EC.PrivateKey and RSA.PrivateKey generic over their public key type.
EC.PrivateKeyRSA.PrivateKeyExtracts AES.IvCipher, AES.IvAuthenticatedCipher, and related IV cipher interfaces from AES into dev.whyoleg.cryptography.operations.
AES.IvCipherAES.IvAuthenticatedCipherIvCipherIvAuthenticatedCipherIvEncryptorIvDecryptorRefactors AlgorithmIdentifierSerializer for better extensibility and optional parameters support.
AlgorithmIdentifierSerializerDeprecations to plan for
Deprecated1
Deprecates the dev.whyoleg.cryptography.materials.key.Key interface without replacement.
dev.whyoleg.cryptography.materials.key.Key