An automated encrypted disk manager that locks your disk when unused
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Raindrops d302af8487
Initial commit
2 months ago
.idea Initial commit 2 months ago
decryptDisk.workflow/Contents Initial commit 2 months ago
icon Initial commit 2 months ago
node_modules Initial commit 2 months ago
.gitignore Initial commit 2 months ago
README.md Initial commit 2 months ago
app.js Initial commit 2 months ago
build.sh Initial commit 2 months ago
index.js Initial commit 2 months ago
logo.icns Initial commit 2 months ago
logo.png Initial commit 2 months ago
package-lock.json Initial commit 2 months ago
package.json Initial commit 2 months ago
start.sh Initial commit 2 months ago
tracking.html Initial commit 2 months ago

README.md

TempDisk

Requirements

macOS

  • Run sudo visudo and add this line at the very bottom:
    • <username> ALL = (root) NOPASSWD: /usr/sbin/diskutil apfs unlockVolume <disk path> -stdinpassphrase

Linux

  • cryptsetup (sudo apt install cryptsetup-bin)
  • base64
  • zenity (sudo apt install zenity)
  • Run sudo visudo and add these 4 lines at the very bottom:
    • <username> ALL = (root) NOPASSWD: /usr/sbin/cryptsetup luksOpen <disk path> tempdisk
    • <username> ALL = (root) NOPASSWD: /usr/sbin/cryptsetup luckClose /dev/mapper/tempdisk
    • <username> ALL = (root) NOPASSWD: /usr/bin/mount /dev/mapper/tempdisk /home/<username>/.tempdisk
    • <username> ALL = (root) NOPASSWD: /usr/bin/umount /home/<username>/.tempdisk