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

NTS: Use shred on tmpramfs/user.key if the system has it. #17

Open
noahbliss opened this issue Jan 11, 2021 · 3 comments
Open

NTS: Use shred on tmpramfs/user.key if the system has it. #17

noahbliss opened this issue Jan 11, 2021 · 3 comments

Comments

@noahbliss
Copy link
Owner

Note to self to investigate using the shred command if the system has it when we are performing the step 3 stage. Practical risk of not using shred should be negligible, we're already using a ramdisk, but if we have it, why not. :shrug:

@noahbliss
Copy link
Owner Author

If someone wants to start working on this, we should probably write a function for both 3- scrips that:

  1. is invoked by trap if the user cancels the script. Otherwise is just called at the end of the script.
  2. uses command -v to see if the system has shred
  3. uses shred on tmpramfs/user.key, and uses rm if shred is not on the system.
  4. Takes care of the rest of the process for collapsing the tmpfs.

@Surowa
Copy link

Surowa commented Jul 5, 2022

Have you already done some work on this?
I might be able to help, if need be.

@noahbliss
Copy link
Owner Author

@Surowa if you want to give it a shot, go for it. Thanks!

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

2 participants