[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 4
Level 4
Posts: 339
Joined: Sat Jun 25, 2011 11:57 am

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

Post by kelebek333 »

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

A. Manually install
B. Installation from the PPA repository

A. Manually install

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 &)

B. Installation from the PPA repository

You can install from the PPA repository with following commands.

Nemo Wipe

Code: Select all

sudo add-apt-repository ppa:kelebek333/tools
sudo apt-get update
sudo apt install nemo-wipe
Caja Wipe

Code: Select all

sudo add-apt-repository ppa:kelebek333/tools
sudo apt-get update
sudo apt install caja-wipe

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 Mon Nov 11, 2019 8:39 am, edited 4 times in total.
rene
Level 17
Level 17
Posts: 7543
Joined: Sun Mar 27, 2016 6:58 pm

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

Post by rene »

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 2
Level 2
Posts: 73
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 »

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 21
Level 21
Posts: 14423
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 »

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.3 64-bit Cinnamon, Total Commander 10.00 64-bit
The Prophet's Song
User avatar
root
Level 2
Level 2
Posts: 73
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 »

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 4
Level 4
Posts: 339
Joined: Sat Jun 25, 2011 11:57 am

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

Post by kelebek333 »

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.
User avatar
kelebek333
Level 4
Level 4
Posts: 339
Joined: Sat Jun 25, 2011 11:57 am

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

Post by kelebek333 »

You can now install from ppa repository too. Supported for Linux Mint 19.x series.

Nemo Wipe

Code: Select all

sudo add-apt-repository ppa:kelebek333/tools
sudo apt-get update
sudo apt install nemo-wipe
Caja Wipe

Code: Select all

sudo add-apt-repository ppa:kelebek333/tools
sudo apt-get update
sudo apt install caja-wipe
rene
Level 17
Level 17
Posts: 7543
Joined: Sun Mar 27, 2016 6:58 pm

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

Post by rene »

rene wrote:
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.
Given the lack of acknowledgement I feel I want to repeat the above for possibly unsuspecting users.
Post Reply