mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
switch to default oaep padding
This commit is contained in:
parent
a885e16049
commit
cbda59e547
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ namespace Bit.Android.Services
|
|||
public KeyStoreBackedStorageService(ISettings settings)
|
||||
{
|
||||
_oldAndroid = Build.VERSION.SdkInt < BuildVersionCodes.M;
|
||||
_rsaMode = _oldAndroid ? "RSA/ECB/PKCS1Padding" : "RSA/ECB/OAEPWithSHA-256AndMGF1Padding";
|
||||
_rsaMode = _oldAndroid ? "RSA/ECB/PKCS1Padding" : "RSA/ECB/OAEPPadding";
|
||||
|
||||
_oldKeyStorageService = new KeyStoreStorageService(new char[] { });
|
||||
_settings = settings;
|
||||
|
|
Loading…
Reference in a new issue