observantTrapezium

  • 5 Posts
  • 93 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle







  • The fundamental difference between GPG encryption and encrypted partition is that of asymmetric vs. symmetric encryption. Whether you mount encrypted storage or decrypt a file with GPG, there’s some “effort” in putting in the passphrase and in both cases the system’s keyring is briefly aware of it and the plaintext is saved to memory (volatile, unless you have encrypted swap or other edge cases).

    Asymmetric encryption is not normally used for personal stuff but mostly to exchange material with one party holding the private key, and other having access to the public key (which is public). Of course you can act as both parties if you like. If you do, keep in mind:

    1. Asymmetric encryption algorithms may be vulnerable to quantum computing attacks in the coming years. There are quantum-resistant algorithms, but to my understanding they are not necessarily quantum-proof and could potentially be broken in the more distant future.
    2. If you do choose to use GPG, make sure that the plaintext never touches the disk, for example save it to /dev/shm before encryption.
    3. You can also protect your private key with a passphrase.

    Personally I use Joplin. On the clients it’s secure because the database is saved on encrypted storage secured by my login phrase. On the server it’s secure by Joplin encrypting the files saved to WebDAV storage. Is it 100% safe? Probably not, but probably good enough to stop all but a nation-state level actor.



  • I also bought into the Duolingo hype in the early days, watched it enshittified into oblivion, and not shedding a tear for investors punishing it, even if it’s for the wrong reasons.

    I’m now doing comprehensible input (reading + videos) and flash cards in my target language. Even though some people poo poo flash cards, I find it a good complement for CI (when I encounter a word from flash cards in the “wild”, it does click better). I definitely need to work on speaking ability.




  • Episode 1: with expectations at the bottom of the Mariana Trench (because I watched Discovery), I was not too disappointed by this episode. Was it good? Also no. I think the story is fine in principle, it doesn’t unfold in a believable way, but not the worst we’ve seen in Star Trek. Other than that I was irked by what the captain says at 41:55:

    make eh(?) your speed maximum impolt

    Really, impolt, you couldn’t do a second take on that?

    Episode 2: quite a bit worse, the plot progressed for like 3 minutes in total, and there was a lot of that teen drama that wasn’t interesting or amusing.

    Overall felt like these were written by people who know a lot about Star Trek at a very surface level, and have a very TV-idea of what college life is like. I’ll keep watching, for now. Out of franchise loyalty more than actual interest.








  • still it is concerning, that any program can know about the sites I visit

    As other noted, that’s the case in Linux, by default all processes are equal, so if your shell process can access a file, the Firefox process can access that file.

    But there are in fact many ways to sandbox processes and prevent exactly what you are worried about. One way is to install applications via Flatpak (or Snap), that can limit what files the app can see, while still running as your user.

    If there is an app you need and don’t trust that’s not available as a flatpak (or snap), there are ways to sanbox it manually. It does require some tinkering, but people can help you on !linux@lemmy.ml


  • I don’t really need the encryption

    In this case I’d say, LUKS is an overkill and just complicates your life. Try to think of a worst case scenario and what you are trying to protect against. Full disk encryption protects you against someone physically and clandestinely tampering with your server to compromise you by altering your OS, I’d say most selfhosters aren’t at risk of this (I do use LUKS on my laptop, because if I’m not available to decrypt the drive then there’s no reason for it to get decrypted). My approach to the server is to have encrypted directories as needed. For example the SFTP directory, the logic being that some of what’s there may be sensitive, so encryption at rest prevents leakage after the drive is eventually disposed of. But my Git repos (including private ones) and calendar aren’t encrypted at rest. Other services (e.g. Matrix, Borg, Vaultwarden) provide E2E so don’t really need further encryption.