Skip to content

Support modern encryption #1194

@sylvain101010

Description

@sylvain101010

What version of Go are you using (go version)?

$ go version
go1.13.5

What version of Badger are you using?

2.0.1

Does this issue reproduce with the latest master?

yes

What do you expect to see?

Hi, we are evaluating to migrate from embedded SQLCipher to Badger. As I understand Badger can enable AES encryption using Options.EncrpytionKey.

Is it envisaged to add modern encryption algorithms as an option, like XChaCha20Poly1305?

According to cryptographers (https://latacora.singles/2018/04/03/cryptographic-right-answers.html) it's far better than AES for multiple reasons, the number one being it's simplicity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementSomething could be better.status/acceptedWe accept to investigate or work on it.status/needs-attentionThis issue needs more eyes on it, more investigation might be required before accepting/rejecting it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions