diff --git a/CHANGES.md b/CHANGES.md index dd1dd9adc..7d361382e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +## Changes in 0.27.2 (2023-09-12) + +🐛 Bugfixes + +- Fix | QR code verification failing due to incorrect encoding padding ([#1816](https://github.com/vector-im/element-ios/issues/1816)) + + ## Changes in 0.27.1 (2023-08-29) ✨ Features diff --git a/MatrixSDK.podspec b/MatrixSDK.podspec index ba946ca0b..971a267ec 100644 --- a/MatrixSDK.podspec +++ b/MatrixSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MatrixSDK" - s.version = "0.27.1" + s.version = "0.27.2" s.summary = "The iOS SDK to build apps compatible with Matrix (https://www.matrix.org)" s.description = <<-DESC diff --git a/MatrixSDK/Crypto/Verification/Transactions/QRCode/MXQRCodeTransactionV2.swift b/MatrixSDK/Crypto/Verification/Transactions/QRCode/MXQRCodeTransactionV2.swift index 5974c4435..183c75504 100644 --- a/MatrixSDK/Crypto/Verification/Transactions/QRCode/MXQRCodeTransactionV2.swift +++ b/MatrixSDK/Crypto/Verification/Transactions/QRCode/MXQRCodeTransactionV2.swift @@ -103,7 +103,7 @@ class MXQRCodeTransactionV2: NSObject, MXQRCodeTransaction { log.debug("->") let data = MXQRCodeDataCoder().encode(otherQRCodeData) - let string = MXBase64Tools.base64(from: data) + let string = MXBase64Tools.unpaddedBase64(from: data) guard let result = request.scanQrCode(data: string) else { log.failure("Failed scanning QR code") return diff --git a/MatrixSDK/MatrixSDKVersion.m b/MatrixSDK/MatrixSDKVersion.m index d9c7e3a76..56bbdf50e 100644 --- a/MatrixSDK/MatrixSDKVersion.m +++ b/MatrixSDK/MatrixSDKVersion.m @@ -16,4 +16,4 @@ #import -NSString *const MatrixSDKVersion = @"0.27.1"; +NSString *const MatrixSDKVersion = @"0.27.2";