Skip to content

cmd/age-plugin-batchpass: generate passphrases - #726

Open
filippo-claude wants to merge 1 commit into
FiloSottile:mainfrom
filippo-claude:batchpass-autopassphrase
Open

cmd/age-plugin-batchpass: generate passphrases#726
filippo-claude wants to merge 1 commit into
FiloSottile:mainfrom
filippo-claude:batchpass-autopassphrase

Conversation

@filippo-claude

Copy link
Copy Markdown

Adds AGE_PASSPHRASE_GENERATE_FD to generate the same ten-word passphrase as interactive passphrase encryption and write it to an inherited file descriptor.

The passphrase generator is shared between age and age-plugin-batchpass. Generation is encryption-only and mutually exclusive with the existing passphrase inputs.

Tests cover round-trip encryption, invalid combinations, decryption rejection, and output failures.

Fixes #724

Fixes FiloSottile#724

Co-authored-by: Shelley <shelley@exe.dev>
@filippo-claude
filippo-claude force-pushed the batchpass-autopassphrase branch from bfc70d2 to 983182b Compare July 15, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant