GithubHelp home page GithubHelp logo

classicvalues / pace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nationalsecurityagency/pace

0.0 1.0 0.0 3.56 MB

Proactively-secure Accumulo with Cryptographic Enforcement (PACE) adds client-side encryption and signatures to Accumulo.

License: Apache License 2.0

Java 97.70% Python 2.30%

pace's Introduction

The PACE library adds cryptographic protections to Apache Accumulo, with the goal of protecting data from a potentially malicious Accumulo server administrator. These include encrypting data (encryption) and signing data (signature) stored in Accumulo.

Installation

To use PACE, include the core library as a maven dependency:

<dependency>
  <groupId>edu.mit.ll.pace</groupId>
  <artifactId>pace-core</artifactId>
  <version>1.0.0</version>
</dependency>

Documentation

There are three main components to PACE:

  1. Encryption—Ensuring that data can be read by authorized parties.
  2. Signatures—Ensuring that data can only be modified by authorized parties.
  3. Key management—Managing the cryptographic keys necessary for encryption and signatures to function properly.

Currently, developers can choose to either encrypt or sign data. In the future, we plan to allow users to do both simultaneously.

API

The public PACE API is composed of all public types in the following packages:

  • edu.mit.ll.pace
  • edu.mit.ll.pace.encryption
  • edu.mit.ll.pace.signature
  • edu.mit.ll.pace.keymanagement.common

A type is a class, interface, or enum. Anything with public or protected acccess in an API type is in the API. This includes, but is not limited to: methods, members, classes, interfaces, and enums. Package-private types in the above packages are not considered public API.

The PACE project maintains binary compatibility across this API within a major release, as defined in the Java Language Specification 3rd ed. All API changes will follow semver 2.0.

Examples

Example code can be found in the examples/simple project. The examples demonstrate how to generate keys, read and write encrypted/signed data, and migrate existing tables to use PACE. Descriptions of these examples can be found in the examples README.

Building

Accumulo uses Maven to compile, test, and package its source.

In addition to the standard Maven lifecycle, the following commands are supported:

  • apilyzer:analyze—Analyze the public PACE API, ensuring that it is well structured.
  • cobertura:cobertura–Generates test coverage report in the site directory.
  • javadoc:javadoc–Generates JavaDoc for the PACE project.
  • mvn exec:exec@plot-performance**—Generate plots for the performance measurements.

Future Work

  • Key Management—While the example code demonstrates how to manually maintain cryptographic keys, it is not automated, nor does it scale well. In the future, we plan to add a key management client and server that will simplify the process of key management.

Troubleshooting

If you get an InvalidKeyException: Illegal key size or default parameters message, you most likely need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. They can be found on Oracle's website.

Export Control

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The following provides more details on the included cryptographic software:

PACE uses the built-in Java cryptography libraries in its encryption implementation. See Oracle's export-regulations doc for more details on Java's cryptography features. Apache Accumulo also uses the Bouncy Castle library for some cryptographic technology as well. See the Bouncy Castle FAQ for more details on Bouncy Castle's cryptography features.

Distribution Statement

DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited.

This material is based upon work supported by the Department of Defense under Air Force Contract No. FA8721-05-C-0002 and/or FA8702-15-D-0001. Any opinions, findings, conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the Department of Defense.

© 2017 Massachusetts Institute of Technology.

The software/firmware is provided to you on an As-Is basis

Delivered to the U.S. Government with Unlimited Rights, as defined in DFARS Part 252.227-7013 or 7014 (Feb 2014). Notwithstanding any copyright notice, U.S. Government rights in this work are defined by DFARS 252.227-7013 or DFARS 252.227-7014 as detailed above.

License

Copyright 2017 MIT Lincoln Laboratory

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

pace's People

Contributors

ll-ruoti avatar

Watchers

 avatar

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.