Skip to content

Feature Request : Encrypt / Decrypt #53

Description

@daamien

Hi,

My name's Damien Clochard, I am working for DALIBO, a french PostgreSQL company and we are currently
building a new PostgreSQL extension named "The Cryptic Elephant" that aims to implement Transparent
Column Encryption (TCE).

The project is currently released in alpha under the PostgreSQL License:
https://gitlab.com/dalibo/the_cryptic_elephant

The extension is written in Rust. We plan to manage keys using an external KMS using the KMIP protocol.

We have identified your project as a great candidate to implement communication between our
extension and the various KMS of the market.

However as far as we can tell, your crate does not implement some features that would be super useful
for us. Namely would need to encrypt/decrypt messages using 2 functions that would look like this:

pub fn decrypt(
    key_unique_identifier: &str,
    nonce: Option<Vec<u8>>,
    ciphertext: Vec<u8>,
) -> Result<Vec<u8>>

pub fn encrypt(
    key_unique_identifier: &str,
    nonce: Option<Vec<u8>>,
    plaintext: Vec<u8>,
) ->  Result<Vec<u8>>

Before going further into technical details, we have a handful of questions:

  • Can you confirm that this project is actively maintained ?
  • Is this something you plan to do in the near future ?
  • Do you accept external contributions ?
  • More generally, how can we help moving forward this feature ?

We're open to discuss about this in depth with you in any manner you prefer.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions