https://github.com/skyghost090/usblock
A service to automatic mount encrypted storage unit
https://github.com/skyghost090/usblock
cryptsetup encryption-decryption linux linux-app security-tools
Last synced: 3 months ago
JSON representation
A service to automatic mount encrypted storage unit
- Host: GitHub
- URL: https://github.com/skyghost090/usblock
- Owner: Skyghost090
- License: bsd-3-clause
- Created: 2024-07-02T01:16:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T22:34:22.000Z (over 1 year ago)
- Last Synced: 2025-01-18T22:46:56.634Z (about 1 year ago)
- Topics: cryptsetup, encryption-decryption, linux, linux-app, security-tools
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔐 UsbLock
**UsbLock** is a service that automatically mounts encrypted storage devices securely and conveniently.
---
## 🚀 Usage
```bash
usblock [DEVICE] [DEVICE ID]
```
### 🖥️ Example
```bash
usblock /dev/sdb /dev/disk/by-id/usb-SanDisk_Cruzer_Blade_4C531001411123119193-0:0
```
---
## 📋 Rules & Recommendations
- 💡 Always **unmount the dm-crypt mount point** before removing the USB physically.
- ⚠️ Only **one device** can be configured at a time.
---
## 🛠️ Build Instructions
To build UsbLock before install cryptsetup and simply run:
```bash
make
```