Desktop,Mobile,Cli: Support accepting shares with a new key format (#12829)

This commit is contained in:
Henry Heino
2025-09-08 23:56:40 +01:00
committed by GitHub
parent f77a20f5d5
commit fdde04ee85
38 changed files with 1166 additions and 408 deletions
+8
View File
@@ -9,3 +9,11 @@
Once the key exchange is done, each user has their own copy of NOTEBOOK_KEY encrypted with their own master password. Public/Private Keys are only used to transfer NOTEBOOK_KEY.
Whenever any item within the notebook is encrypted, it is done with NOTEBOOK_KEY.
# Migrations
Enabling migration to a new public key algorithm can be done by:
1. Registering a new public key algorithm. This involves:
1. Adding a new item to the `PublicKeyAlgorithm` `enum` and
2. Updating the `PublicKeyCryptoProvider` for each platform.
2. Adding the new `PublicKeyAlgorithm` enum item to the `ppkMigrations` array in `ppk.ts`.