0x48piraj / 0x48piraj/wrong8007

Tamper-resilient storage & keying

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature security
主要言語
C
スター
20
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

**Description**
Implement a secure, modular storage layer that focuses on **resilience against tampering or post-compromise forensics**. This is not about detecting tamper events, but ensuring that once a trigger fires, **data becomes cryptographically irrecoverable**.

This storage layer should tie into existing trigger mechanisms to wipe RAM-resident keys, making data unreadable even with physical access working alongside tamper detection layers (see #2) for full lifecycle defense.

**Components**

* Ephemeral keying for encrypted storage

* RAM-resident encryption keys (non-persistent)
* Keys wiped on trigger (e.g., keyboard phrase, USB event, network packet)
* Integration with dm-crypt / LUKS volumes

* One-time pad (OTP) or XOR-based multi-layer key splits

* Distribute decryption key into multiple parts
* Require all pieces for full recovery
* Optional: store parts across different locations (e.g., device + remote peer)

**Goals**

* Use standard Linux mechanisms (e.g., dm-crypt, LUKS) where possible
* Abstract encryption/key-wiping logic behind an internal API
* Ensure key material never touches disk or swap
* Optionally: allow key splitting via simple XOR or Shamir's Secret Sharing

**Optional extensions**

* TPM-backed key storage with time-based unlock windows
* Remote key escrow with secure request protocol
* Support for volatile in-memory filesystems (e.g., `tmpfs` + encrypted overlay)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この issue は、既存のトリガーメカニズム(issue #2 を参照)や dm-crypt/LUKS などの Linux カーネルモジュールとの統合について説明しています。まず、リポジトリ内のカーネルモジュールのソースコードを調べて、トリガーシステムを理解することから始めてください。既存のストレージや暗号化コードを探します。目標は、トリガー発動時に RAM に残っているキーを消去し、データを回復不能にする安全なストレージ層を設計することです。「完了」とは、トリガーに連動し、標準的な Linux の暗号化メカニズムを使用するモジュール式 API を意味します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c, linux
領域
backend, operating-systems, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。