Giter Club home page Giter Club logo

Comments (8)

tlimoncelli avatar tlimoncelli commented on June 13, 2024

The output lists files that were decrypted and are being shredded. For example, if you have many encrypted files but none have been decrypted for editing, you will see an empty list.

I've changed the output to remove the "encrypted files that were unlocked" list. I think it is just confusing.

Tom

from blackbox.

john2x avatar john2x commented on June 13, 2024

Hmm I'm still confused on what the command is for.

What does "shredding" mean in Blackbox terms?

I've changed the output to remove the "encrypted files that were unlocked" list

So it will be like this?

$ blackbox_shred_all_files
========== FILES THAT WILL BE SHREDDED:
========== DONE.

So the way to reverse a post_deploy is just to rm the decrypted files manually?

Thanks.

from blackbox.

tlimoncelli avatar tlimoncelli commented on June 13, 2024

"shred" means to "rm" the file, but doing so in a secure way.

Specifically, it means writing zeros over those blocks of the disk, then unlink()ing the file. Writing zeros over the blocks is kind of difficult because the operating system optimizes disk writes in a way that makes it difficult to make sure the correct blocks are zeroed. To that end, Mac OS X has "srm" and Linux has "shred". The script uses the right tool. If neither exist, "rm" is used as a last resort.

So the way to reverse a post_deploy is just to rm the decrypted files manually?

Either do it manually or run blackbox_shred_all_files.

from blackbox.

john2x avatar john2x commented on June 13, 2024

Hmm ok, thanks. Any idea why blackbox_shred_all_files isn't removing the files decrypted by blackbox_postdeploy for me?

I'm on OS X 10.9, commit da43aea

from blackbox.

tlimoncelli avatar tlimoncelli commented on June 13, 2024

I'm unclear what you are describing.

Is the filename printed in the "FILES THAT WILL BE SHREDDED" list but not being deleted?
or
is the filename listed, but the file is then still on disk after blackbox_shred_all_files is done running?

from blackbox.

john2x avatar john2x commented on June 13, 2024

I'm confused as to why the files are listed under "ENCRYPTED FILES THAT WERE UNLOCKED", but they are not being deleted (i.e. They are not listed under "FILES THAT WILL BE SHREDDED"). The files were unlocked via blackbox_postdeploy. Or does shredding only delete files that were decrypted by the blackbox_edit* commands?

from blackbox.

tlimoncelli avatar tlimoncelli commented on June 13, 2024

The message was misleading. It should have said "Encrypted files".

Get the latest release and you'll see the messages have been reworked.

from blackbox.

john2x avatar john2x commented on June 13, 2024

Updated. Thanks!

from blackbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.