Use URL save variant for b64 conversion
This commit is contained in:
parent
8b119ee647
commit
e5756e7a78
|
@ -213,7 +213,8 @@ class Configuration {
|
||||||
Sodium.base642bin(getEncryptedToken()),
|
Sodium.base642bin(getEncryptedToken()),
|
||||||
Sodium.base642bin(attributes.publicKey),
|
Sodium.base642bin(attributes.publicKey),
|
||||||
secretKey);
|
secretKey);
|
||||||
await setToken(Sodium.bin2base64(token));
|
await setToken(
|
||||||
|
Sodium.bin2base64(token, variant: Sodium.base64VariantUrlsafe));
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<KeyAttributes> createNewRecoveryKey() async {
|
Future<KeyAttributes> createNewRecoveryKey() async {
|
||||||
|
|
Loading…
Reference in a new issue