Coder Social home page Coder Social logo

Comments (4)

hug-dev avatar hug-dev commented on June 5, 2024

I agree! We need to classify which inputs are confidential (all of them by default?), document it and clear memory after use, very similarly to parallaxsecond/parsec#122

Would be nice to find a solution that is applicable to all structures we think need scrubbing.

from parsec-client-rust.

ionut-arm avatar ionut-arm commented on June 5, 2024

I've been looking at secrecy and zeroize and I think they're both very useful but for different use cases.

We can use secrecy for things that are strictly secret, like the app authentication values (this probably applies more to the interface crate, at the moment). The direct authentication string is probably not secret - but maybe we should mark it as such anyway?

I'm not sure if all inputs are confidential - e.g. key attributes or names? We could make them all clean up afterwards (probably not a high cost). For some of them we need to implement our own wrappers just to impose stricter type controls (e.g. a type for signatures).

from parsec-client-rust.

hug-dev avatar hug-dev commented on June 5, 2024

Some types of the interface are already under Zeroize or Secret, this is to check the client's types.

from parsec-client-rust.

hug-dev avatar hug-dev commented on June 5, 2024

This was dealt with #32

from parsec-client-rust.

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.