Giter Club home page Giter Club logo

mrcrypt's People

Contributors

austinmoore- avatar mattsb42-aws avatar michaelajr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mrcrypt's Issues

update mrcrypt to use aws-encryption-cli for the majority of its logic

I know that we have previously discussed the possibility of mrcrypt migrating to use the AWS Encryption SDK for Python internally. However, now that we have released the AWS Encryption SDK CLI, I think that the best route to achieve this is to build on top of the CLI rather than the SDK directly.

The AWS Encryption SDK CLI provides all of the functionality of mrcrypt (with two exceptions that I discuss below), just with a different interface. So, what I think would make the most sense is to keep the mrcrypt parser and add a layer that translates the parsed arguments to arguments for the AWS Encryption SDK CLI.

I have a PoC put together on my fork that implements this. Before going any deeper, does this look like a direction that you would be interested in taking mrcrypt?

There are two places where the AWS Encryption SDK CLI (by design) does not match mrcrypt's feature set:

  1. uncompressed ECDSA public keys
  2. output file permissions

In the PoC, I address the uncompressed ECDSA public key problem with a custom cryptographic materials manager.

When we were looking at the question of what permissions to use for output files, we came to the conclusion that the AWS Encryption SDK CLI should not make any specific statements about the permissions, and instead simply honor the umask (on POSIX) or the parent directory permissions (on Windows). However, if you want to retain mrcrypt's behavior of setting specific permissions on the output files, this could be implemented by collecting the output metadata from the AWS Encryption SDK CLI, parsing it to determine what files were created, and changing the permissions on those files.

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.