Professional Documents
Culture Documents
LAB5
LAB5
## Overview
This lab focuses on various methods to enhance the security of Linux services and applications
through encryption. The exercises cover GPG key creation, file encryption, signing, and using tools
like eCryptfs and VeraCrypt.
#### Steps:
1. **Install GPG**:
```sh
```
```sh
gpg --gen-key
```
```sh
gpg --list-keys
```
#### Steps:
1. **Encrypt a File**:
```sh
```
```sh
```
#### Steps:
```sh
```
```sh
```
3. **Encrypt File**:
```sh
```
4. **Decrypt File**:
```sh
```
#### Steps:
1. **Sign a File**:
```sh
```sh
```
#### Steps:
1. **Install eCryptfs**:
```sh
```
```sh
```
```sh
su - <username>
```
#### Steps:
```sh
```
#### Steps:
```sh
wget https://www.veracrypt.fr/download/Veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb
```
2. **Install VeraCrypt**:
```sh
```
```sh
```
#### Steps:
```sh
```
```sh
```
```
---