An open API service indexing awesome lists of open source software.

https://github.com/jay7x/agedd

AGE Decryption Daemon
https://github.com/jay7x/agedd

Last synced: 1 day ago
JSON representation

AGE Decryption Daemon

Awesome Lists containing this project

README

          

# agedd - AGE Decryption Daemon

AGE decryption daemon that exposes decryption functionality over Unix socket.

## Features

- Decryption daemon with Unix socket interface
- Streaming support for large files
- Hot reload of encryption identities
- Client command for easy integration

## Installation

### Releases

Download a release asset that matches your preference better.

### Go install

```bash
go install github.com/jay7x/agedd@latest
```

## Usage

Start the daemon:

```bash
agedd --identity /path/to/private.key --socket /run/agedd.sock serve
```

Decrypt a file:

```bash
# Output to stdout
agedd --socket /run/agedd.sock decrypt encrypted.age

# Output to file
agedd --socket /run/agedd.sock decrypt encrypted.age decrypted.txt

# From stdin
cat encrypted.age | agedd --socket /run/agedd.sock decrypt
```

Reload updated identity without restart:

```bash
agedd --socket /run/agedd.sock reload
```

Show version:

```bash
agedd version
```

## Environment Variables

- `AGEDD_IDENTITY_FILE` - Path to private key file
- `AGEDD_SOCKET` - Unix socket path
- `AGEDD_LOG_LEVEL` - Log level (trace, debug, info, warn, error, fatal, panic)