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.
|
6 months ago | |
---|---|---|
.idea | 6 months ago | |
decryptDisk.workflow/Contents | 6 months ago | |
icon | 6 months ago | |
node_modules | 6 months ago | |
.gitignore | 6 months ago | |
README.md | 6 months ago | |
app.js | 6 months ago | |
build.sh | 6 months ago | |
index.js | 6 months ago | |
logo.icns | 6 months ago | |
logo.png | 6 months ago | |
package-lock.json | 6 months ago | |
package.json | 6 months ago | |
start.sh | 6 months ago | |
tracking.html | 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