TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What do you use for encrypting your personal stuff?

78 pointsby yangikanover 2 years ago
I used to use Truecrypt (file based virtual encrypted disk). But it shut down under mysterious circumstances. Now there is veracrypt based on the same source code, but I am not sure I trust it. Are there better alternatives? What does everyone use?

33 comments

runjakeover 2 years ago
VeraCrypt.<p>The VeraCrypt FAQ addresses your concern: <a href="https:&#x2F;&#x2F;www.veracrypt.fr&#x2F;en&#x2F;FAQ.html" rel="nofollow">https:&#x2F;&#x2F;www.veracrypt.fr&#x2F;en&#x2F;FAQ.html</a><p>Direct link to audit: <a href="https:&#x2F;&#x2F;blog.quarkslab.com&#x2F;security-assessment-of-veracrypt-fixes-and-evolutions-from-truecrypt.html" rel="nofollow">https:&#x2F;&#x2F;blog.quarkslab.com&#x2F;security-assessment-of-veracrypt-...</a>
评论 #33324369 未加载
评论 #33329416 未加载
woodruffwover 2 years ago
I&#x27;m not convinced that whole-disk encryption is sensible for most threat models, but I use the built-in FileVault on macOS (under the reasoning that, at the very least, it can&#x27;t really hurt).<p>On Linux, I use age[1] (specifically, rage[2]) to encrypt sensitive files. I wrote a secret manager that uses the latter as an encryption backend[3], and I use `rage-mount` to mount (read-only) views of encrypted archives.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;FiloSottile&#x2F;age" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;FiloSottile&#x2F;age</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;str4d&#x2F;rage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;str4d&#x2F;rage</a><p>[3]: <a href="https:&#x2F;&#x2F;github.com&#x2F;woodruffw&#x2F;kbs2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;woodruffw&#x2F;kbs2</a>
评论 #33324533 未加载
评论 #33324721 未加载
aborsyover 2 years ago
LUKS is the de facto disk encryption in Linux. For file system encryption, use fscrypt and ZFS native encryption. For backups, use restic or Borg. For encrypted synchronization, use cryptomator, gocryptfs or rclone. File encryption is rarely needed anymore, but GPG works fine for that.<p>Depends what you want to encrypt.
评论 #33324296 未加载
评论 #33324033 未加载
rr808over 2 years ago
I gave up. Old PCs used to die and I could just take the disk and put into a new box and copy what I could. I encrypted a disk and ended up losing everything on there (except photos which were backed up). I realized I really dont have anyhthing worth stealing. I keep tax returns on a usb stick, with a paper copy backed up.
hot_grilover 2 years ago
Encrypted sparse bundle disk images on macOS if I want something individually encrypted. Built-in full disk encryption too. No extra software needed.<p>On Linux, there&#x27;s LUKS as mentioned already.
评论 #33323824 未加载
iLoveOncallover 2 years ago
VeraCrypt and Bitlocker have already been mentioned, so in case they don&#x27;t cover your use case, take a look at Cryptomator.<p>You can have an encrypted folder, put it on Google Drive and then decrypt it from any of your devices. Even iOS will support it natively once you do the setup with the Cryptomator app.
Krisjohnover 2 years ago
I&#x27;m working on this at the moment. Currently I&#x27;m using Bitlocker on a virtual disk. I&#x27;m going to test using Keypass to unlock it soon (which in turn unlocks at the beginning of the session with a long passphrase, but unlocks after that with Windows Hello face recognition). I&#x27;ve identified some potentially sensitive data could be in session logs or screenshots, so I&#x27;ve set up the default location for my logging and screenshot apps to be in the Bitlocker virtual disk. In the case of logs, I was already syncing them between machines using Syncthing, so I&#x27;m now syncing between encrypted volumes. I&#x27;m not syncing the screenshots, but I am also implementing encyrpted backups, so I&#x27;ll probably include the screenshots folders.<p>Meanwhile, I&#x27;ve realised that my scanned receipts should also be encrypted, so I&#x27;ll probably use a similar sync-between-encrypted-virtual-disks process with them. Unfortunately my first virtual disk is too small and I haven&#x27;t yet checked how easy it will be to expand.<p>I&#x27;m mostly Windows, so I only really <i>have</i> to solve for that. Fortunately, Keepass is cross-platform (even works on my Pine Phone, along with Syncthing - same for my Android tablet, but my iPhone is trickier), so if I want to expand this to my Linux or Mac laptops it&#x27;s not hard.<p>I was trying to solve saving authenticator seeds (which is something I regred not doing up to this point) securely outside of my main password manager. That was using an obscure archiver with a password protection option. This turned out to be way to clumsy to be practical. For small stuff like that, It&#x27;s going in the password manager database for now.
neilvover 2 years ago
Always the first question is: what&#x27;s your threat model?<p>For personal stuff, I can&#x27;t do much about sophisticated attackers, pretty much only about random physical thieves who mostly just want the hardware.<p>Most likely scenario involving encryption: a laptop is lost&#x2F;stolen, and some random thief&#x2F;fence&#x2F;buyer snoops around the drive to see if there&#x27;s anything worth stealing. There isn&#x27;t, but I&#x27;d feel violated to have some thief sifting through my personal stuff.<p>So, on laptops, I just use Linux LUKS.<p>On my custom Coreboot laptops, I have even the boot partition encrypted for LUKS, which seemed like a good idea at the time (I was peeved about Intel ME, and on a roll), but it&#x27;s overkill for the random laptop thief threat. It also means I can&#x27;t just move the drive to a system that doesn&#x27;t have Coreboot with that feature set up.<p>Also, in general, try not to deny yourself access to your own data when you need it, in the process of denying it to others.
评论 #33326515 未加载
m-p-3over 2 years ago
Cryptomator for cloud-based storage, as it allows my to encrypt each files inside the vilolume separately, which makes it much more bandwidth friendly to desktop synchronization software.
评论 #33324560 未加载
评论 #33323493 未加载
c7bover 2 years ago
TrueCrypt still works and doesn&#x27;t have any known vulnerabilities afaik. For low-risk files I also sometimes use WinRAR, which according to the docs should have ok encryption (AES-256). Curious for other suggestions too.
评论 #33324683 未加载
schainksover 2 years ago
LUKS on linux works great. Restic can encrypt your backups before they go into whatever cloud will store it the cheapest.
nodesocketover 2 years ago
Built-in macOS FileVault, then for individual files use scrypt[1] by the amazing cpercival.<p>[1] <a href="https:&#x2F;&#x2F;www.tarsnap.com&#x2F;scrypt.html" rel="nofollow">https:&#x2F;&#x2F;www.tarsnap.com&#x2F;scrypt.html</a>
trogover 2 years ago
It sounds like you&#x27;re running Windows?<p>On Windows I just use the built-in Bitlocker encryption.<p>It is a bit annoying understanding what this means between Windows Home and Pro editions though.<p>On Home, it&#x27;s not technically &#x27;Bitlocker&#x27; - it&#x27;s Device Encryption - hit Windows key &amp; type &#x27;device encryption&#x27; - if you see &#x27;Device Encryption Settings&#x27;, you should have it available. If you do not, it&#x27;s probably not available on your device e.g. maybe you don&#x27;t have a TPM, although I&#x27;ve had Windows machines that showed it as not available but then I was able to get it running with a bit of messing around and registry hacking.<p>It is still Bitlocker under the hood, but it&#x27;s missing some features. You can get some of them by logging into your machine with a Microsoft account, but if you&#x27;re running a local account (like I am) you get a more budget experience (e.g. I don&#x27;t think there&#x27;s an easy way to get the Bitlocker encryption key or have it backed up online).<p>If you only want to run local accounts, the easier and probably safer solution is to shell out for Windows Pro and take advantage of the full Bitlocker experience.
TheFlyingFishover 2 years ago
For small one-off encryption use cases (i.e. encrypt a single file) I use age: <a href="https:&#x2F;&#x2F;github.com&#x2F;filosottile&#x2F;age" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;filosottile&#x2F;age</a><p>Especially convenient when you need to transmit the file over some untrusted medium like email, or if you just want to dump it in some cloud storage service and not worry about potential snooping.
netheril96over 2 years ago
I wasn’t satisfied with the options available, so I wrote my own: <a href="https:&#x2F;&#x2F;github.com&#x2F;netheril96&#x2F;securefs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;netheril96&#x2F;securefs</a>. It has authenticated encryption, highest quality of password stretching, and works on both Unix-like and Windows.
Arubisover 2 years ago
Bit rot. If my backups aren’t redundant and I don’t care to access something for long enough, it eventually becomes inaccessible to others.<p>Full-disk encryption from your OS vendor (FileVault, LUKS, whatever windows does) will accelerate this process.
评论 #33323883 未加载
freedombenover 2 years ago
For encrypting files, I use AEScrypt[1]. Cross platform, simple to use, and easy to audit.<p>[1]: <a href="https:&#x2F;&#x2F;www.aescrypt.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.aescrypt.com&#x2F;</a>
评论 #33323741 未加载
评论 #33324379 未加载
dangerfaceover 2 years ago
I use what ever full disk encryption software comes with the os. That might not be enough to prevent law enforcement but my main concern is some one stealing my laptop or needing to send it for repairs which both seem much more likely than law enforcement taking my stuff.<p>I use keepassxc to keep all my sensitive information and syncthing to keep it synchronised between all my devices. Having it across all my devices is super handy and provides redundancy.
johntashover 2 years ago
Built-in full-disk-encryption for MacOS and Windows. Most of my linux servers would be a pain to have to unlock every time they boot, but I do use LUKS on ones with sensitive data.<p>On my home nas, I&#x27;m still using GELI-encrypted zfs&#x2F;zpools. I need to migrate it to a new zfs native encryption.<p>All of my backups get encrypted by restic before being uploaded.<p>For one-off files or things I want to share encrypted with someone, I&#x27;d use gpg.
评论 #33326941 未加载
gigel82over 2 years ago
I use Bitlocker on my laptop but haven&#x27;t really looked into encrypting things on my desktops in a long time (I used BestCrypt back in college when I was living in a dorm and had my PC in a shared space).<p>What is the attack surface you&#x27;re trying to hedge against? Are you afraid of someone gaining physical access to the device and ripping out the hard drive?
GekkePrutserover 2 years ago
On Linux: LUKS. On FreeBSD: GELI. On Mac: FileVault. On windows I guess I would use bitlocker though I rarely need it there.<p>So basically I use the default encryption. When I need to move stuff from one computer to another I encrypt the files individually with GPG (using openPGP keys on smartcard or yubikey)
zeagleover 2 years ago
Seafile&#x27;s library encryption on a VPS. Borg backup of local photos encrypted to said VPS.
e12eover 2 years ago
Generally zfs native encryption these days (as well as native encryption in macos and windows).
nyteskyover 2 years ago
I would trim down what you need encrypted and store it in a password manager (some even handle attachments).<p>For individual files I would just use WinZip AES encryption which is very portable and atomic (so bit rot only impacts that single file no the fs).
gwnywgover 2 years ago
I use dmcrypt with luks since ~2011. This was not common when I was starting to use this, but being part of Arch Linux community helps a lot. Especially back in the time everyone was eager to share opinions and how-to hints...
1letterunixnameover 2 years ago
TrueCrypt died a developer burn-out death a long, long time ago.<p>FreeBSD, Linux, macOS, Windows: VeraCrypt -&gt; (whatever)<p>FreeBSD: geli<p>Linux: XFS -&gt; LVM2 -&gt; LUKSv2 (dm-crypt +? dm-integrity) -&gt; dm-raid (RAID 10) -&gt; (lots of spinning rust)<p>macOS: FileVault 2<p>Windows: BitLocker
allanrboover 2 years ago
I like Gocryptfs. Easy to see and reason about that it is working.
tmalyover 2 years ago
I use a custom implementation of rot13 I implemented in Rust
评论 #33353452 未加载
paulpauperover 2 years ago
zipcrypto...jk<p>I would always be hesitant to disclose what type of crypto you are using, unless I guess you have nothing important. I think veracrypt, 7zip, openssl are good. Probably anything that has been recently audited. Just make sure you are offline when decrypting or encrypting or else it may defeat the purpose.
rmindover 2 years ago
rvault for small documents: <a href="https:&#x2F;&#x2F;github.com&#x2F;rmind&#x2F;rvault" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rmind&#x2F;rvault</a><p>It uses envelope encryption with one-time password (OTP) authentication. I like to store data on the systems I own and just run backups regularly.
nvlnover 2 years ago
I don&#x27;t use full disk encryption, but for individual files I use sops backed by gpg.
sgjohnsonover 2 years ago
All the default options. BitLocker on Windows, FileVault 2 on macOS and LUKS on Linux.
rodolphoarrudaover 2 years ago
LUKS for my main drive. VeraCrypt for everything else.