Skip to content
NuCypher for Kafka. Start building from this module (it fetches the appropriate branch from Kafka repository)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
clients Added supporting different AES transformations and OpenSSL as provider Oct 13, 2017
commons Added supporting different AES transformations and OpenSSL as provider Oct 13, 2017
crypto @ 4dbafd3
examples Fixed listener bug in proxy Sep 25, 2017
gradle/wrapper Initial commit May 15, 2017
kafka @ d8548f5
proxy Added some error handling in proxy Sep 26, 2017
screenshots
tools
.gitignore
.gitmodules
README.md Deleted granular module (moved to commons and clients) May 16, 2017
README_DEMO.md git submodule init is already in initialize_project Jun 12, 2017
build.gradle Initial commit May 15, 2017
build_project.sh
dependencies_libs.gradle Initial commit May 15, 2017
gradle.properties Added supporting different AES transformations and OpenSSL as provider Oct 13, 2017
gradlew
gradlew.bat Initial commit May 15, 2017
initialize_project.sh
settings.gradle Updated version of Kafka, fixed bugs in serializer/deserializer confi… Sep 7, 2017

README.md

Run initialize_project.sh

After git clone run: initialize_project.sh

Project structure

External submodules

nucypher-crypto-oss

kafka-oss (0.10.1-encrypted branch)

Java features for AES 256 bit

http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#importlimits If stronger algorithms are needed (for example, AES with 256-bit keys), the JCE Unlimited Strength Jurisdiction Policy Files must be obtained and installed in the JDK/JRE.

Need to download: Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK/JRE

and install (overwrite) files in $JAVA_HOME/jre/lib/security

Create patch for Kafka

  1. Run
tools/create.patch/create_patch.sh

directory patch will be created with the following structure:

bin/
libs/

bin/kafka-run-class.sh - added NuCypher jar's to Kafka class path
libs/kafka_2.10-1.0-SNAPSHOT.jar - patched core Kafka jar

libs/nucypher/ - core NuCypher jar's
   nucypher-kafka-admin-1.0-SNAPSHOT.jar
   nucypher-kafka-clients-1.0-SNAPSHOT.jar
   nucypher-kafka-commons-1.0-SNAPSHOT.jar

libs/nucypher/lib - 3rd party jar's for NuCypher core jar's

and a tar.gz archive nucypher-patch-kafka_2.10-1.0-SNAPSHOT.tar.gz it will contains also a script to patch Kafka tools/create.patch/apply_patch.sh

  1. Run
tools/create.patch/apply_patch.sh /opt/kafka

Need to specify a path to Kafka directory, for instance: Kafka is located in /opt/kafka so

tools/create.patch/apply_patch.sh /opt/kafka
You can’t perform that action at this time.