You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Mobile: Support building for web (#10650)
This commit is contained in:
@@ -349,7 +349,12 @@ export default class Synchronizer {
|
||||
const password = getMasterPassword(false);
|
||||
if (!password) return localInfo;
|
||||
|
||||
localInfo.ppk = await generateKeyPair(this.encryptionService(), password);
|
||||
try {
|
||||
localInfo.ppk = await generateKeyPair(this.encryptionService(), password);
|
||||
} catch (error) {
|
||||
// TODO: Remove after RSA encryption is supported on all platforms.
|
||||
logger.error('Failed to generate RSA key pair', error);
|
||||
}
|
||||
return localInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user