Giter Club home page Giter Club logo

Comments (3)

clintfred avatar clintfred commented on July 1, 2024 1

We don't support direct serialization (serde) of top-level recrypt types like keys or encrypted values, although there's no reason that couldn't be added. The underlying types have ways of serializing -- called bytes() or to_bytes()

See https://github.com/IronCoreLabs/ironoxide/blob/7b10593f90885c69333f13717d52d46f1d641810/src/internal/rest.rs#L537 for an example of using the underlying type's serialization.

from recrypt-rs.

drbh avatar drbh commented on July 1, 2024

Also extending my question, how can I serialize the the keys pairs like initial_priv_key, target_pub_key and the
signing_keypair so I don't generate new ones on each run?

from recrypt-rs.

clintfred avatar clintfred commented on July 1, 2024

We would consider a PR for this, but it's not a priority at this point. The higher-level SDKs (ironoxide, ironweb) provide ways of serializing keys and encrypted data.

from recrypt-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.