Datasafe is a robust library tailored for developers and enterprises, offering encrypted and versioned data storage. It enhances the security of data-sensitive applications, making it ideal for mission-critical usage.
- Enhanced Security: Each user gets unique key encryption keys, reducing the risk of widespread data breaches.
- Full Confidentiality: Offers full or partial file path encryption.
- Ransomware Protection: Versioned storage safeguards against ransomware attacks.
- Secure File Exchange: Features asynchronous inboxes for safe user-to-user file transfers.
- Zero Trust Environments: Ideal as a data encryption layer in critical data processing backends.
Datasafe uses AES-GCM (and Chacha-Poly for large files) for encryption, with CMS-envelopes (RFC 5652) for encrypted content wrapping. The library's flexible design allows seamless integration and customization. For more details, refer to our Security Whitepaper.
- Configurability: Dagger2 for dependency injection and modular design.
- Storage Compatibility: Tested with Amazon S3, Minio, CEPH, and local filesystems.
- User Privacy: Encrypts both the document and its path in each user's private space.
- Versioning Support: Provides application layer versioning for systems lacking native versioning support.
Without tests:
mvn clean install -DskipTests=true
Full Build:
mvn clean install
Include Datasafe in your Maven project:
<!-- Datasafe Business Module -->
<dependency>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-business</artifactId>
<version>{datasafe.version}</version>
</dependency>
<!-- S3 Storage Provider -->
<dependency>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-storage-impl-s3</artifactId>
<version>{datasafe.version}</version>
</dependency>
<!-- Filesystem Storage Provider for Tests-->
<dependency>
<groupId>de.adorsys</groupId>
<artifactId>datasafe-storage-impl-fs</artifactId>
<version>{datasafe.version}</version>
<scope>test</scope>
</dependency>
- Performance Analysis: Tested on AWS, Datasafe achieves up to 50 MiB/s write and 80 MiB/s read throughput with Amazon S3. See full report.
- Quick Demo: Explore Datasafe's capabilities through our quick demo.
- Deployment Models: Followings are among others possible deployment models.
- How It Works: Get a look at detailed integration information.
- Project Homepage: Visit adorsys.github.io/datasafe for more information.
- JavaDoc: Access our detailed JavaDoc here.
- Contributor License: See Developer Certificate of Origin (DCO) Enforcement
- Coding Guidelines: CodingRules
- Branching and Committing Practices: Branching Guide
- Deployment Process: Maven Central Deployment
- Feature Requests and Comments: Open a Discussion Ticket
Datasafe is available under two licenses:
- Open-Source Projects: AGPL v3 License
- Commercial License: Proprietary license available. Contact [email protected] for details.