[How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
kelebek333
Level 3
Level 3
Posts: 112
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

[How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by kelebek333 » Sat Mar 09, 2019 7:55 am

You can install securely wipe extension for Nemo and Caja file managers from source with following steps.

Steps for installing nemo-wipe extension

1. Install requirements

Code: Select all

sudo apt install build-essential automake autopoint libtool libgtk2.0-dev libnemo-extension-dev libgsecuredelete-dev git
2. Download source file

Code: Select all

git clone git://git.tuxfamily.org/gitroot/wipetools/nautiluswipe.git nemo-wipe
3. Compile and install

Code: Select all

cd nemo-wipe
./autogen.sh
./configure --with-nautilus=nemo
make
sudo make install
4. Restart file manager

Code: Select all

(nemo -q ; nemo-desktop -q &)

Steps for installing caja-wipe extension

1. Install requirements

Code: Select all

sudo apt install build-essential automake autopoint libtool libgtk2.0-dev libcaja-extension-dev libgsecuredelete-dev git
2. Download source file

Code: Select all

git clone git://git.tuxfamily.org/gitroot/wipetools/nautiluswipe.git caja-wipe
3. Compile and install

Code: Select all

cd caja-wipe
./autogen.sh
./configure --with-nautilus=caja
make
sudo make install
4. Restart file manager

Code: Select all

(caja -q &)

Now, you can securely delete file or folder by right-clicking with the wipe option.

Image

You can also securely wipe free disk space with this extension. Attention, this may take a very long time. Do not restart the system until the process is finished.

Image
Last edited by kelebek333 on Wed Mar 13, 2019 3:10 pm, edited 3 times in total.

rene
Level 10
Level 10
Posts: 3416
Joined: Sun Mar 27, 2016 6:58 pm

Re: [How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by rene » Sat Mar 09, 2019 8:23 pm

A warning for SSD users: although it could happen also on HDD, on SSD it is expected that the physical sectors a secure wipe of an individual file/folder would write to are not the physical sectors the supposedly sensitive file occupied, even if the logical sectors are the same. I.e., wear-levelling.

This is to say that secure wipe of individual files is useless on SSD; the actual file data is still there. The only thing that helps is normal delete + wipe of ALL free space so as to ensure you overwrite it. Writing zeroes is moreover fine: fundamentally, but also since in the same manner as above pass N+1 of a secure-wipe algorithm for any specific sector writes to different physical sectors than in pass N.

User avatar
root
Level 1
Level 1
Posts: 8
Joined: Wed Mar 13, 2019 11:57 am
Location: Russia

Re: [How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by root » Wed Mar 13, 2019 12:07 pm

Your solution does not work on my system. I got an error when I execute "make"...

I managed to install it like this (in nemo):

Code: Select all

cd ~/
wget http://download.tuxfamily.org/wipetools/releases/nautilus-wipe/nautilus-wipe-0.3.tar.gz
tar -xvf nautilus-wipe-0.3.tar.gz
cd nautilus-wipe-0.3/
sudo apt install libxml2-utils itstool libnemo-extension-dev libgsecuredelete-dev
./configure --with-nautilus=nemo
make
sudo make install
nemo -q && nemo-desktop -q
cd .. && rm -rf ./nautilus-wipe-0.3 ./nautilus-wipe-0.3.tar.gz
The secret is that I downloaded the program from another place...

User avatar
karlchen
Level 20
Level 20
Posts: 11052
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: [How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by karlchen » Wed Mar 13, 2019 12:20 pm

Hello, root.

Your steps look pretty different from the steps, which kelebek333 had given. So why are you amazed that kelebek333's steps do not work for you, if yo do not follow his steps precisely? :?

Regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

User avatar
root
Level 1
Level 1
Posts: 8
Joined: Wed Mar 13, 2019 11:57 am
Location: Russia

Re: [How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by root » Wed Mar 13, 2019 1:02 pm

Hello, karlchen!

I did exactly the steps from kelebek333's instructions until I got an error when running “make”. I assumed that the problem was in the created Makefile, and I was right, because the same extension, downloaded from another source, was assembled without problems ...

I consulted a friend and he said it

Code: Select all

git clone git://git.tuxfamily.org/gitroot/wipetools/nautiluswipe.git nemo-wipe
loads the old version Secure Wipe Extension... And he offered another link: http://download.tuxfamily.org/wipetools ... 0.3.tar.gz

I ran Linux Mint in virtual box in live mode and empirically determined those dependencies that really were not enough for assembly and installation. I ran

Code: Select all

./configure --with-nautilus=nemo
and

Code: Select all

make
and watched what they lacked, then I installed it and run this

Code: Select all

./configure --with-nautilus=nemo
and

Code: Select all

make
again... Until I figured out that only these packages are needed: libxml2-utils itstool libnemo-extension-dev libgsecuredelete-dev



I apologize for my English if I made mistakes. I did not think that such questions would arise

User avatar
kelebek333
Level 3
Level 3
Posts: 112
Joined: Sat Jun 25, 2011 11:57 am
Location: Türkiye
Contact:

Re: [How to] Install Secure Wipe Extension For Nemo and Caja File Managers

Post by kelebek333 » Wed Mar 13, 2019 3:07 pm

root wrote:
Wed Mar 13, 2019 1:02 pm
I consulted a friend and he said it

Code: Select all

git clone git://git.tuxfamily.org/gitroot/wipetools/nautiluswipe.git nemo-wipe
loads the old version Secure Wipe Extension...
This information is not correct. Git version is updated, also include a fix related libgsecuredelete. https://git.tuxfamily.org/wipetools/nautiluswipe.git/

I added autopoint and libtool package to guide for autogen.sh errors, I noticed this issue when compiling with live media. Now you can install it smoothly.

Post Reply

Return to “Tutorials”