Skip to main content

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.

note

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​

ComponentTFE Local DirectoryTFE Object Storage
Agent programtakakrypt-ftetakakrypt-fos
Runs assystemd service, root, in the backgroundsystemd service, root, as an intermediary (proxy)
What is protectedA folder on the serverA bucket in object storage (MinIO or Amazon S3)
TAKAKRYPT GatewayCentral server that holds policies and protected items and issues encryption keys, used by both variants

Main Differences Between the Two Variants​

ItemTFE Local DirectoryTFE Object Storage
What is protectedA folder on the serverA bucket in object storage
How it worksProtects the folder directlyActs as an intermediary between applications and object storage
Access rulesBased on files, users, and programsOnly based on whether the bucket is encrypted or not
Requires FUSEYesNo
Registration command (enroll)AvailableNot available, status is monitored from the log
Agent Mode in the dashboardDirectoryObject 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​

FeatureDescription
Background AgentAutomatically 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 SharingEncrypted files can be shared without exposing the encryption key
Audit LogTracks every file access and change in detail
Platform CompatibilityAvailable on Linux operating systems

Technical Specifications​

ItemSpecification
Version1.0.0
Type of serviceFile encryption for data protection
AlgorithmAES-256
DeploymentCloud and on-premise
Cloud platformsAmazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure
Operating systemLinux
Object storage supportAmazon Web Services S3, MinIO
Key managementInternal key management through the TAKAKRYPT Gateway, with optional integration to an external KMS over KMIP
Required applicationTAKAKRYPT Data Protection (the TAKAKRYPT Gateway)
Port to TAKAKRYPT Gateway443 (HTTPS), a single outbound connection used for keys and policy
File supportAll file types
note

"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​

ItemDescription
UU PDP No. 27/2022Designed to support Indonesia's Personal Data Protection Law
Audit-ready loggingDetailed logs of file access and changes, ready to use for audits
KMIP key standardExternal 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 caseDescription
File serversProtect shared volumes transparently for every application that mounts them
Backups and archivesSnapshots and dumps stay ciphertext wherever they are copied
Application logsLogs containing sensitive payloads are encrypted the moment they are written
Shared directoriesTeam 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.

note

See Architecture for a conceptual overview of how TFE enforces access to protected data.