Hello,
Thank you for creating the cryptex crate and making it open source!
I see that src/keyring/windows.rs on line 128 calls CryptProtectData before calling CredWriteW.
Since CredWriteW will anyway use the user's password to encrypt the data, why encrypt it with CryptProtectData first? Just curious about the purpose.
Thanks,
Sanjay
Hello,
Thank you for creating the cryptex crate and making it open source!
I see that src/keyring/windows.rs on line 128 calls
CryptProtectDatabefore callingCredWriteW.Since
CredWriteWwill anyway use the user's password to encrypt the data, why encrypt it withCryptProtectDatafirst? Just curious about the purpose.Thanks,
Sanjay