Metadata-Version: 2.4
Name: formseal-inbox
Version: 0.1.0
Summary: CLI tool for decrypting formseal ciphertexts
Author: grayguava
License: MIT License
        
        Copyright (c) 2026 Gray Guava
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: keyring>=25.0
Requires-Dist: pynacl>=1.5.0
Dynamic: license-file

<p align="center">
  <img src="fsi.png" alt="formseal-inbox">
</p>

<p align="center">
  <img src="https://img.shields.io/pypi/v/formseal-inbox?style=flat&label=pypi&labelColor=1e293b&color=3776ab">
  <img src="https://img.shields.io/github/actions/workflow/status/grayguava/formseal-inbox/publish.yml">  
  <img src="https://img.shields.io/badge/license-MIT-fc8181?style=flat&labelColor=1e293b">
  <img src="https://img.shields.io/badge/formseal-ecosystem-10b981?style=flat&labelColor=1e293b">
</p>

<p align="center">
  Decrypt formseal ciphertexts locally.
</p>

---

formseal-inbox decrypts form submissions downloaded by formseal-fetch. Nothing is decrypted in transit or on the server — only the holder of the private key can read submissions.

formseal-inbox is not a hosted service or dashboard. It is a CLI decryption utility.

---

## Installation

**Via pipx (recommended)**

```bash
pipx install formseal-inbox
```

**Via pip**

```bash
pip install formseal-inbox
```

---

## Quick start

```bash
fsi connect
fsi decrypt
fsi status
```

---

## How it works

```
Browser (formseal-embed)
       │
       ▼ (encrypted submissions)
 Your server / endpoint
       │
       ▼ (fsf fetch)
 ciphertexts.jsonl ──► Your PC
       │
       ▼ (fsi decrypt)
 decrypted.jsonl
```

Your backend stores opaque ciphertext only. `fsf fetch` downloads it. `fsi decrypt` decrypts it offline with your private key.

---

## Commands

| Command | Description |
|---------|-------------|
| `fsi` | Show about / info |
| `fsi connect` | Configure source, destination, and private key |
| `fsi decrypt` | Decrypt ciphertexts |
| `fsi status` | Show configuration |
| `fsi disconnect` | Clear credentials |
| `fsi disconnect --wipe` | Clear everything including messages |

Run `fsi --help` for all options.

---

## Security

Your private key never leaves your machine. formseal-inbox:

- Stores credentials in your OS keychain (Windows Credential Manager / macOS Keychain / Linux Secret Service)
- Decrypts locally only
- Sends no telemetry, has no analytics
- Skips already-decrypted messages automatically

---

## Documentation

- [SECURITY.md](./.github/SECURITY.md) — Security policy

---

Please star the repo if you find formseal-inbox useful.

---

## License

MIT
