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

Add checking md5 of .autoxsh file #9

Open
anki-code opened this issue Feb 24, 2021 · 0 comments
Open

Add checking md5 of .autoxsh file #9

anki-code opened this issue Feb 24, 2021 · 0 comments

Comments

@anki-code
Copy link
Contributor

anki-code commented Feb 24, 2021

Hi! Great xontrib!

To increase security:

  1. Save md5 hash and approval date of .autoxsh file with the path
  2. Check md5 hash before running
  3. If there is mismatch of hash then show prompt: with the time of change, the way to see the diff.

Example:

cd /project
# The autoxsh file in this directory was approved 2 months ago but was changed 5 days ago. 
# What's next? [Approve / Decline / Show diff / Skip autoxshing]

Thanks!

@anki-code anki-code changed the title Add checking md5 and date of .autoxsh file Add checking md5 of .autoxsh file Feb 24, 2021
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

No branches or pull requests

1 participant