Skip to content

Pass SOPS_AGE_RECIPIENT environment variable to SOPS_AGE_KEY_CMD#2045

Merged
felixfontein merged 2 commits intogetsops:mainfrom
Defelo:push-vovokoqwurlz
Feb 4, 2026
Merged

Pass SOPS_AGE_RECIPIENT environment variable to SOPS_AGE_KEY_CMD#2045
felixfontein merged 2 commits intogetsops:mainfrom
Defelo:push-vovokoqwurlz

Conversation

@Defelo
Copy link
Copy Markdown
Contributor

@Defelo Defelo commented Jan 21, 2026

This allows one to set SOPS_AGE_KEY_CMD to something like bash -c 'secret-tool lookup age-public-key "$SOPS_AGE_RECIPIENT"' to fetch an age identity e.g. from a password manager using the recipient.

@Defelo Defelo force-pushed the push-vovokoqwurlz branch from 1265053 to ec00a56 Compare January 21, 2026 22:49
Copy link
Copy Markdown
Contributor

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. I think this is a reasonable feature.

Comment thread README.rst Outdated
Comment thread age/keysource_test.go
@Defelo Defelo force-pushed the push-vovokoqwurlz branch from 70d3d58 to 386b20d Compare January 22, 2026 23:15
@Defelo Defelo force-pushed the push-vovokoqwurlz branch from 386b20d to e86db7c Compare January 22, 2026 23:26
@Defelo
Copy link
Copy Markdown
Contributor Author

Defelo commented Jan 22, 2026

Hey @felixfontein, thanks for the quick review! I applied and squashed your suggestions

@felixfontein felixfontein merged commit 28cf425 into getsops:main Feb 4, 2026
16 checks passed
@felixfontein
Copy link
Copy Markdown
Contributor

@Defelo thanks for your contribution!

@Defelo Defelo deleted the push-vovokoqwurlz branch February 4, 2026 22:27
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.

2 participants