Allowed Identities File #25
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements support for an
allowed_identitiesfile, located in either~/.config/rnsh/or~/.rnsh. Allowed identities from command line options will still be respected. The file is reloaded every time a new client link is established.I'd also like to suggest moving the primary Identity file of
rnshinto the config folder, alongside theallowed_identitiesfile (and potential future config files). I have not implemented anything in this direction yet though, as I'm not sure whether you find it reasonable or not. So just a suggestion for future work :)