Open overheadhunter opened 1 month ago
[!IMPORTANT]
Review skipped
Draft detected.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR adds fundamental support for UVF-based vaults. During vault creation either format is selected. There is no migration of format 8 based vaults planned. Vault access tokens either contain a format 8 Masterkey OR a UVF member key (which is an A256KW key for the
vault.uvf
file).Notable changes:
uvf.ts
andvaultv8.ts
, leaving common crypto incrypto.ts
jwe.ts
capable of handling compact as well as json serialization with support forECDH-ES
(legacy, decrypt only),ECDH-ES+A256KW
,PBES2+A256KW
andA256KW
, allowing encryption for multiple recipientsvault.uvf
file as well as the public part of a recovery key pairTODO