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

feature: warn about missing files #106

Merged
merged 1 commit into from
Mar 9, 2022
Merged

feature: warn about missing files #106

merged 1 commit into from
Mar 9, 2022

Conversation

ryantm
Copy link
Owner

@ryantm ryantm commented Mar 8, 2022

rage itself does not have good error messages when files are missing,
so add some of our own checks and warnings.

I haven't had a chance to test this yet.

rage itself does not have good error messages when files are missing,
so add some of our own checks and warnings.
@ryantm
Copy link
Owner Author

ryantm commented Mar 8, 2022

I tested missing identity paths on my computer. The warning appears, but also rage fails if only one of the list of identityPaths is missing. Seems like ideally it would only crash if none of the identityPaths can decrypt the secret.

@ryantm
Copy link
Owner Author

ryantm commented Mar 8, 2022

I made an upstream issue report about this str4d/rage#294

Copy link
Collaborator

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

A bit unfortunate that's how rage behaves... But I'd say these warnings are strictly an improvement.

@ryantm ryantm merged commit 764c975 into main Mar 9, 2022
@cole-h cole-h deleted the warnings branch March 9, 2022 20:46
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