Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File encryption migration #822

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/nav/2_software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ items:
- type: link
title: File Encryption Tools
icon: fad fa-file-certificate
file: legacy_pages/software/file-encryption.html
file: _evergreen/encryption-software.md
- type: link
title: File Sharing and Sync
icon: fad fa-file-user
Expand Down
10 changes: 10 additions & 0 deletions _data/software/encryption-browser-based/1_hat-sh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: hat.sh
type: Recommendation
logo: /assets/img/encryption-software/hat-sh.png
logo_dark: /assets/img/encryption-software/hat-sh-dark.png
description: |
**Hat.sh** is a web application that provides secure client-side file encryption in your browser. It can also be selfhosted and is useful if you need to encrypt a file but cannot install any software on your device due to organizational policies.
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://hat.sh'
downloads:
- icon: fab fa-github
url: 'https://github.com/sh-dv/hat.sh'
16 changes: 16 additions & 0 deletions _data/software/encryption-commandline/1_kryptor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: Kryptor
type: Recommendation
logo: /assets/img/encryption-software/kryptor.png
description: |
**Kryptor** is a free and open source file encryption and signing tool that makes use of modern and secure cryptographic algorithms. It aims to be a better version of [age](https://github.com/FiloSottile/age) and [Minisign](https://jedisct1.github.io/minisign/) to provide a simple, user friendly alternative to GPG.
privacy_policy: ''
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://www.kryptor.co.uk'
downloads:
- icon: fab fa-windows
url: 'https://www.kryptor.co.uk'
- icon: fab fa-apple
url: 'https://www.kryptor.co.uk'
- icon: fab fa-linux
url: 'https://www.kryptor.co.uk'
- icon: fab fa-github
url: 'https://github.com/samuel-lucas6/Kryptor'
9 changes: 9 additions & 0 deletions _data/software/encryption-commandline/2_tomb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: Tomb
type: Recommendation
logo: /assets/img/encryption-software/tomb.png
description: |
**Tomb** is an is a commandline shell wrapper around LUKS. It includes uses some [third party tools](https://github.com/dyne/Tomb#how-does-it-work) to provide [steganography](https://en.wikipedia.org/wiki/Steganography).
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://www.dyne.org/software/tomb'
downloads:
- icon: fab fa-github
url: 'https://github.com/dyne/Tomb'
16 changes: 16 additions & 0 deletions _data/software/encryption-multi-platform/1_veracrypt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: VeraCrypt
type: Recommendation
logo: /assets/img/encryption-software/veracrypt.svg
description: |
**VeraCrypt** is a source-available freeware utility used for on-the-fly encryption. It can create a virtual encrypted disk within a file, encrypt a partition, or encrypt the entire storage device with pre-boot authentication. VeraCrypt is a fork of the discontinued TrueCrypt project. According to its developers, security improvements have been implemented and issues raised by the initial TrueCrypt code audit have been addressed.
dngray marked this conversation as resolved.
Show resolved Hide resolved
privacy_policy: ''
website: 'https://veracrypt.fr'
downloads:
- icon: fab fa-windows
url: 'https://www.veracrypt.fr/en/Downloads.html'
- icon: fab fa-apple
url: 'https://www.veracrypt.fr/en/Downloads.html'
- icon: fab fa-linux
url: 'https://www.veracrypt.fr/en/Downloads.html'
- icon: fab fa-github
url: 'https://www.veracrypt.fr/code'
26 changes: 26 additions & 0 deletions _data/software/encryption-multi-platform/2_gnupg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
title: GNU Privacy Guard
type: Recommendation
logo: /assets/img/encryption-software/gnupg.svg
description: |
**GnuPG** is a GPL-licensed alternative to the PGP suite of cryptographic software. GnuPG is compliant with RFC 4880, which is the current IETF standards track specification of OpenPGP. Current versions of PGP (and Veridis' Filecrypt) are interoperable with GnuPG and other OpenPGP-compliant systems. GnuPG is a part of the Free Software Foundation's GNU software project, and has received major funding from the German government.
dngray marked this conversation as resolved.
Show resolved Hide resolved
privacy_policy: 'https://gnupg.org/privacy-policy.html'
website: 'https://gnupg.org'
downloads:
- icon: fab fa-windows
url: 'https://gpg4win.org/download.html'
- icon: fab fa-apple
url: 'https://gpgtools.org'
- icon: fab fa-linux
url: 'https://gnupg.org/download/index.html#binary'
- icon: fab fa-freebsd
url: 'https://www.freshports.org/security/gnupg'
- icon: pg-openbsd
url: 'http://openports.se/security/gnupg'
- icon: pg-netbsd
url: 'http://pkgsrc.se/security/gnupg'
- icon: fab fa-google-play
url: 'https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain'
- icon: pg-f-droid
url: 'https://f-droid.org/app/org.sufficientlysecure.keychain'
- icon: fab fa-git
url: 'https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git'
22 changes: 22 additions & 0 deletions _data/software/encryption-multi-platform/3_cryptomator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
title: Cryptomator
type: Recommendation
logo: /assets/img/encryption-software/cryptomator.svg
description: |
**Cryptomator** makes it easy for you to upload files to the cloud in a virtual encrypted filesystem. The software was [audited](https://cryptomator.org/open-source/) by [cure53](https://cryptomator.org/audits/2017-11-27%20crypto%20cure53.pdf).
dngray marked this conversation as resolved.
Show resolved Hide resolved
privacy_policy: 'https://cryptomator.org/privacy'
website: 'https://cryptomator.org'
downloads:
- icon: fab fa-windows
url: 'https://cryptomator.org/downloads/'
- icon: fab fa-apple
url: 'https://cryptomator.org/downloads/'
- icon: fab fa-linux
url: 'https://cryptomator.org/downloads/'
- icon: fab fa-google-play
url: 'https://play.google.com/store/apps/details?id=org.cryptomator'
- icon: fab fa-app-store-ios
url: 'https://apps.apple.com/us/app/cryptomator-2/id1560822163'
- icon: fab fa-android
url: 'https://cryptomator.org/android'
- icon: fab fa-github
url: 'https://github.com/cryptomator'
17 changes: 17 additions & 0 deletions _data/software/encryption-multi-platform/4_picocrypt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title: Picocrypt
type: Recommendation
logo: /assets/img/encryption-software/picocrypt.svg
description: |
**Picocrypt** is a small and simple encryption tool that provides modern encryption. Picocrypt uses the secure XChaCha20 cipher and the Argon2id key derivation function to provide a high level of security. It uses Go's standard x/crypto modules for its encryption features.

We think the best usecase for this is if you need to encrypt some files, or archives.
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://github.com/HACKERALERT/Picocrypt'
downloads:
- icon: fab fa-windows
url: 'https://github.com/HACKERALERT/Picocrypt/releases'
dngray marked this conversation as resolved.
Show resolved Hide resolved
- icon: fab fa-apple
url: 'https://github.com/HACKERALERT/Picocrypt/releases'
- icon: fab fa-linux
url: 'https://github.com/HACKERALERT/Picocrypt/releases'
- icon: fab fa-github
url: 'https://github.com/HACKERALERT/Picocrypt'
6 changes: 6 additions & 0 deletions _data/software/encryption-operating-system/1_bitlocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Bitlocker
dngray marked this conversation as resolved.
Show resolved Hide resolved
type: Recommendation
logo: /assets/img/encryption-software/bitlocker.png
description: |
**Bitlocker** is the default full volume encryption that comes with Microsoft Windows. The main reason we recommend it is because of its [use of TPM](https://docs.microsoft.com/en-us/windows/security/information-protection/tpm/how-windows-uses-the-tpm). [Elcomsoft](https://en.wikipedia.org/wiki/ElcomSoft), a forensics company, has written about it: [Understanding BitLocker TPM Protection](https://blog.elcomsoft.com/2021/01/understanding-bitlocker-tpm-protection/).
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/bitlocker-overview'
6 changes: 6 additions & 0 deletions _data/software/encryption-operating-system/2_filevault.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Filevault
dngray marked this conversation as resolved.
Show resolved Hide resolved
type: Recommendation
logo: /assets/img/encryption-software/filevault.png
description: |
**Filevault** is the on-the-fly disk encryption that comes with MacOS. We recommend it because tightly intergrates with the [Apple T2 Security Chip](https://support.apple.com/guide/security/volume-encryption-with-filevault-sec4c6dc1b6e/1/web/1).
dngray marked this conversation as resolved.
Show resolved Hide resolved
website: 'https://support.apple.com/en-us/HT204837'
30 changes: 30 additions & 0 deletions _data/software/encryption-operating-system/3_luks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
title: Linux Unified Key Setup (LUKS)
type: Recommendation
logo: /assets/img/encryption-software/luks.png
description: |
**LUKS** is the default full disk encryption method for Linux. It can be used to encrypt full volumes, partitions, or create encrypted containers.

## Creating encrypted containers
<pre class=terminal>
dd if=/dev/urandom of=/path-to-file bs=1M count=1024 status=progress
sudo cryptsetup luksFormat /path-to-file
</pre>

## Opening encrypted containers
We recommend opening containers and volumes with `udisksctl` as this uses [Polkit](https://en.wikipedia.org/wiki/Polkit). Most file managers, such as those included with popular desktop environments, can now unlock encrypted files. Tools like [udiskie](https://github.com/coldfix/udiskie) can run in the system tray and provide a helpful user interface.

<pre class=terminal>
udisksctl loop-setup -f /path-to-file
udisksctl unlock -b /dev/loop0
</pre>

## Backup of volume headers
We recommend you always [backup your LUKS headers](https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#Backup_and_restore) in case of partial drive failure. This can be done with:
dngray marked this conversation as resolved.
Show resolved Hide resolved

<pre class=terminal>
cryptsetup luksHeaderBackup /dev/device --header-backup-file /mnt/backup/file.img
</pre>
website: 'https://gitlab.com/cryptsetup/cryptsetup'
downloads:
- icon: fab fa-gitlab
url: 'https://gitlab.com/cryptsetup/cryptsetup'
44 changes: 0 additions & 44 deletions _includes/legacy/sections/file-encryption.html

This file was deleted.

Binary file added assets/img/encryption-software/bitlocker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/img/encryption-software/cryptomator.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/filevault.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/hat-sh-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/hat-sh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/kryptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/luks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/img/encryption-software/picocrypt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/encryption-software/tomb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading