Abstraction layer for symmetric data encryption, primarily designed for database column encryption.
Find a file
2024-02-15 18:37:59 +01:00
src Add the get_latest_ikm method to the IKM 2024-02-15 18:37:59 +01:00
.gitignore First commit 2024-02-14 18:16:45 +01:00
Cargo.toml Add the encryption and ikm-management features 2024-02-15 12:37:14 +01:00
README.md Update the FAQ 2024-02-14 23:11:26 +01:00
rustfmt.toml First commit 2024-02-14 18:16:45 +01:00

Coffio

License MIT OR Apache 2.0

Abstraction layer for symmetric data encryption, primarily designed for database column encryption.

Disclaimer

⚠️ DANGER: DRAGONS A(H)EAD! 🐲

This crate is experimental and has never been audited by an independent security professional. You should therefore NOT use it in production.

Although this crate aim to reduce the risk of misuse, it is still possible to use it in such a way that the cryptography it uses does not provides all the security guaranties you need. Ask your cryptographer if this crate is relevant to your use case and if you are using it correctly.

Frequently Asked Questions

Should I use this crate?

No, absolutely not. It doesn't even work yet.

Why should I use this crate instead of a symmetric encryption function?

Cryptography is hard. Even if you have some knowledge about this topic and pay attention not no mess up, you will eventually mess-up anyway.

Seriously, this crate is designed to prevent some of the most common pitfalls. If you don't see why you need this crate, you probably don't see those pitfalls and you will fall into it.

Why is the context so important?

When correctly used, it prevents from a confused deputy attack. Chose wisely.

Why has this crate not been audited by a security professional?

Such an audit cost a lot of money. If you really care about this crate being audited, you may help financing it.

Where does the name coffio comes from?

It is a french slang for a safe or a strongbox. See coffio on the french Wiktionary.