An automated encrypted disk manager that locks your disk when unused
You cannot 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.
 
 
 
Mia Raindrops d302af8487
Initial commit
6 months ago
.idea Initial commit 6 months ago
decryptDisk.workflow/Contents Initial commit 6 months ago
icon Initial commit 6 months ago
node_modules Initial commit 6 months ago
.gitignore Initial commit 6 months ago
README.md Initial commit 6 months ago
app.js Initial commit 6 months ago
build.sh Initial commit 6 months ago
index.js Initial commit 6 months ago
logo.icns Initial commit 6 months ago
logo.png Initial commit 6 months ago
package-lock.json Initial commit 6 months ago
package.json Initial commit 6 months ago
start.sh Initial commit 6 months ago
tracking.html Initial commit 6 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