Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

dynamotn/expect-age

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

expect-age

Effortless non-interactive decryption with age


Warning

This project is deprecated. age now natively supports non-interactive password input via the age-plugin-batchpass plugin. Use that instead.


❓ Why

age is a modern encryption tool, but it doesn’t natively support non-interactive password input. expect-age bridges this gap, letting you decrypt age-encrypted files automatically—perfect for scripts and automation.

Curious why this is needed? See the discussion here.

🚀 Quick start

First, make sure you have expect installed:

# Debian/Ubuntu
sudo apt install expect

# Arch Linux
sudo pacman -S expect

# Fedora
sudo dnf install expect

# macOS
brew install expect

Next, add expect-age to your PATH and make it executable. Now you can decrypt files non-interactively:

expect-age "your-password" "/path/to/your/encrypted_file.age" "/path/to/your/output_file.txt"

Automate your workflows with ease ⏩!

About

Decrypt age encrypted files with passphrase from scripts/CLI

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors