Overview
TAKAKRYPT File Encryption (TFE) encrypts data at rest using AES-256, at the file level, without requiring any change to the applications that use it. It runs as a background agent, so only authorized users can read what it protects.
TFE comes in two variants, depending on where your data lives:
- TFE Local Directory protects a folder on a Linux server. Applications keep opening and saving files in that folder as usual, while TFE encrypts the data on write and decrypts it again on read for authorized parties.
- TFE Object Storage protects a bucket in object storage such as MinIO or Amazon S3, working as an intermediary (proxy): applications send and retrieve files through it, and it handles the encryption before the data ever reaches storage.
Both variants rely on the same central piece: the TAKAKRYPT Gateway. This is the TAKAKRYPT server that holds access rules (policies), and the list of protected folders or buckets, and that issues the encryption keys the agent needs. Note that once a key is issued to an agent, it's cached on that host for local encryption/decryption. See Architecture for how that affects rotation and revocation.
Internally, these two products are tracked as TFE (File) and TFO (Object storage), separate codebases and release cycles, not literally one product with two install modes. This documentation uses "TFE Local Directory" and "TFE Object Storage" throughout because that's clearer for a reader new to the product; if you're cross-referencing internal engineering docs or release notes, look for TFE and TFO there instead.
Why TFE?
- No application changes. Encryption happens at the storage layer, so applications keep reading and writing files the way they always did.
- Centralized protection. Policies, keys, and protected items are all managed from the TAKAKRYPT Gateway instead of being scattered across individual servers.
- Light footprint. TFE is a single background agent, which makes it practical to roll out across many servers.
- Fewer ways in for attackers. Policy-based access at the file or bucket level cuts down the risk of sensitive data leaking, whether the threat is external or internal.
- Helps with compliance. TFE supports the kind of data protection required under Law No. 27/2022 on Personal Data Protection (UU PDP).
TFE is part of the broader TAKAKRYPT platform, extending the same centralized protection TAKAKRYPT already offers for encryption, tokenization, and data masking out to files and object storage.
How It Works
TFE Local Directory
Application <-> Protected folder (plaintext)
companion folder: <folder>.encrypted (ciphertext, on disk)
Each protected folder automatically has a companion folder with the .encrypted suffix, created and named by the agent itself. For example, /var/lib/mysql is what the application opens (normal content), while /var/lib/mysql.encrypted is what is actually stored on disk (encrypted).
TFE Object Storage
Application -> TFE Object Storage -> MinIO / S3
store file : encrypted
retrieve file : opened again
No application code changes here either. You just point the app at the TFE Object Storage address instead of the real object storage address. The backend only ever sees encrypted files.
Components
| Component | TFE Local Directory | TFE Object Storage |
|---|---|---|
| Agent program | takakrypt-fte | takakrypt-fos |
| Runs as | systemd service, root, in the background | systemd service, root, as an intermediary (proxy) |
| What is protected | A folder on the server | A bucket in object storage (MinIO or Amazon S3) |
| TAKAKRYPT Gateway | Central server that holds policies and protected items and issues encryption keys, used by both variants |
Main Differences Between the Two Variants
| Item | TFE Local Directory | TFE Object Storage |
|---|---|---|
| What is protected | A folder on the server | A bucket in object storage |
| How it works | Protects the folder directly | Acts as an intermediary between applications and object storage |
| Access rules | Based on files, users, and programs | Only based on whether the bucket is encrypted or not |
| Requires FUSE | Yes | No |
Registration command (enroll) | Available | Not available, status is monitored from the log |
| Agent Mode in the dashboard | Directory | Object Storage |
TFE Local Directory and TFE Object Storage can be installed together on the same server. Each uses its own Agent ID in the dashboard, although the Access Token and User Key used may be the same.
Key Features
| Feature | Description |
|---|---|
| Background Agent | Automatically secures files at rest, without any user intervention |
| Role-Based Access Control (RBAC) | Access policies can be set by User, Resource, or Process for detailed encryption control |
| Access Sharing | Encrypted files can be shared without exposing the encryption key |
| Audit Log | Tracks every file access and change in detail |
| Platform Compatibility | Available on Linux operating systems |
Technical Specifications
| Item | Specification |
|---|---|
| Version | 1.0.0 |
| Type of service | File encryption for data protection |
| Algorithm | AES-256 |
| Deployment | Cloud and on-premise |
| Cloud platforms | Amazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure |
| Operating system | Linux |
| Object storage support | Amazon Web Services S3, MinIO |
| Key management | Internal key management through the TAKAKRYPT Gateway, with optional integration to an external KMS over KMIP |
| Required application | TAKAKRYPT Data Protection (the TAKAKRYPT Gateway) |
| Port to TAKAKRYPT Gateway | 443 (HTTPS), a single outbound connection used for keys and policy |
| File support | All file types |
"Cloud" deployment means the server running the TFE agent can be a virtual machine on AWS, GCP, or Azure instead of a physical on-premise server. The agent itself is still installed the same way described in Setting Up TFE.
Compliance
| Item | Description |
|---|---|
| UU PDP No. 27/2022 | Designed to support Indonesia's Personal Data Protection Law |
| Audit-ready logging | Detailed logs of file access and changes, ready to use for audits |
| KMIP key standard | External key managers are supported through KMIP. See the Key management row under Technical Specifications |
Common Use Cases
Because the policy applies to every protected path or bucket you define, TFE fits well for:
| Use case | Description |
|---|---|
| File servers | Protect shared volumes transparently for every application that mounts them |
| Backups and archives | Snapshots and dumps stay ciphertext wherever they are copied |
| Application logs | Logs containing sensitive payloads are encrypted the moment they are written |
| Shared directories | Team folders stay readable only to the roles the policy allows |
Frequently Asked Questions
Which file types are supported?
All of them. The agent encrypts at the file level, regardless of format.
What do users have to do?
Nothing. The agent works in the background. Authorized users see normal files, everyone else sees ciphertext.
Who decides who can open a file?
Role-Based Access Control (RBAC): policies can be set by user, resource, or process. See Architecture for how a request is evaluated.
How does the agent reach the TAKAKRYPT Gateway?
Over a single outbound connection on port 443 (HTTPS), used to retrieve policies and encryption keys.
Who This Documentation Is For
This is written for Linux server administrators, storage and application administrators, and operations teams managing servers whose data TFE protects. It covers the prerequisites, the data you'll need from the TAKAKRYPT dashboard, step-by-step installation for both variants, agent registration and approval, configuration, post-installation work (backup, upgrade, agent removal), and troubleshooting.
See Architecture for a conceptual overview of how TFE enforces access to protected data.