Giter Site home page Giter Site logo

Encryption micro-service about contrib HOT 5 CLOSED

irods avatar irods commented on June 18, 2024
Encryption micro-service

from contrib.

Comments (5)

jasoncoposky avatar jasoncoposky commented on June 18, 2024

@rwmoore Is it safe to assume the file will always fit in memory?

from contrib.

rwmoore avatar rwmoore commented on June 18, 2024

What is the current size limit for a buffer? For now, I am willing to assume the file fits in the buffer. If necessary I can do partial I/O, fill the buffer multiple times, and encrypt each buffer separately. I would then write to a new file.

from contrib.

jasoncoposky avatar jasoncoposky commented on June 18, 2024

my understanding is that this microservice will encrypt a file at rest on a UNIX file system given a fully qualified physical path, a pass phrase and an algorithm. the way you phrased your last reply it sounds like you expect the microservice to return an encrypted buffer given a buffer?

we also can not update the size until all replicas are encrypted, which implies that the update to the size of the data object need be called from the rule after all replicas are encrypted.

from contrib.

rwmoore avatar rwmoore commented on June 18, 2024

The goal is to encrypt a single file at a time. The file is on a Unix file system in an iRODS vault.

It sounds like your approach is:

  • find the physical path name on the vault
  • Apply a remote execution command to do the encryption
  • Update the file size in the metadata catalog

This is fine.

Reagan

from contrib.

jasoncoposky avatar jasoncoposky commented on June 18, 2024

The microservice will encrypt the file and write it to a new physical path which will be provided to the calling rule as an out-variable, allowing the rule to decide how to proceed.

from contrib.

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.