Adopt base64-encoding prior to vault Nigori key derivation
Similarly to how it's done for keystore keys, the patch now adopts a base64-encoding of the encryption keys, prior to the Nigori key derivation (PBKDF2). The main motivation is that the underlying crypto libraries don't deal well with non-utf8 passphrases/passwords, or they diverge across implementations (Java vs C++). The rest of the code, prior to key derivation, continues to use binary keys. Bug: 1000146 Change-Id: Icaa88f285938f09e5fb8b72c9e11b8f90ab41840 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950536 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Maksim Moskvitin <mmoskvitin@google.com> Cr-Commit-Position: refs/heads/master@{#721532}
Showing
Please register or sign in to comment