Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

[Question] The metadata key using a "null" salt #1445

Open
kidburglar opened this issue Mar 4, 2020 · 0 comments
Open

[Question] The metadata key using a "null" salt #1445

kidburglar opened this issue Mar 4, 2020 · 0 comments

Comments

@kidburglar
Copy link

Hello,

I was reading the code because I wanted to know how the encryption was working but I remark that the metadata key have only a null salt. The file key use a salt for the key.

https://github.com/mozilla/send/blob/master/app/keychain.js#L21

send/app/ece.js

Line 290 in ca77425

export function encryptStream(

function generateSalt(len) {

I was curious to know if there is a reason behind that?

Thanks for your answer.

Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant