Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rekey loop adds multiple -o flags #272

Open
luishfonseca opened this issue Jul 20, 2024 · 0 comments · May be fixed by #292
Open

Rekey loop adds multiple -o flags #272

luishfonseca opened this issue Jul 20, 2024 · 0 comments · May be fixed by #292

Comments

@luishfonseca
Copy link
Contributor

Right now, every iteration of the rekey loop adds a -o flag to DEFAULT_DECRYPT (line 154), causing rage to fail on the second secret with:

error: the argument '--output <OUTPUT>' cannot be used multiple times

This probably caused #245

I think have it working correctly on my fork https://github.com/luishfonseca/agenix/blob/main/pkgs/agenix.sh

ck3d added a commit to ck3d/agenix that referenced this issue Oct 13, 2024
Edit is called multiple times during rekey

fixes ryantm#272
@ck3d ck3d linked a pull request Oct 13, 2024 that will close this issue
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 a pull request may close this issue.

1 participant