Skip to content

Improves/security#132

Open
hundredark wants to merge 7 commits into
mainfrom
improves/security
Open

Improves/security#132
hundredark wants to merge 7 commits into
mainfrom
improves/security

Conversation

@hundredark
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread common/aes.go
}
nonce := b[:aead.NonceSize()]
cipher := aead.Seal(nil, nonce, b[aead.NonceSize():], nil)
// The nonce must be unique for all time, for a given key
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our code relies on these deterministic nonce for now?

Comment thread common/aes.go
panic(err)
}
return append(nonce, d...)
return d
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this break the code if the decrypted data changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants