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

help-circle
  • What’s the security model here? An app that gets user account access but gives it up if it can’t find exactly ssh keys?

    My guess is that a malicious package is scanning your home directory for stuff like SSH keys, GPG keys, AWS keys, etc. It would have filesystem access permission already in the MacOS sandbox due to running inside a common interpreter like node or python, but it might be restricted from stuff like attaching to other processes memory, where it could just get the keys out of bitwarden.

    Could also just be obscurity as most infostealers are programmed to grab keys from common locations and not many developers use bitwarden for keys.

    If you want something resistant to a fully compromised system you need to use something hardware backed, whether an external key or an internal secure enclave.



  • I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

    You only have to do it once per machine and I use NixOS a lot so its easy to just add to a module imported by every system. On other Linux systems it’s just putting the pem file somewhere in /etc/ and running a command to reload it. Android cell phones were pretty easy but I forget the exact details.

    Honest question, why not set up a reverse proxy that uses Let’s Encrypt?

    I have multiple of those for public services. Because I don’t want to expose every service to the internet for HTTP-01 and can’t use DNS-01 due to how my nameservers are set up, this makes sense. Other advantages are not needing to distribute DNS update keys to every single server for security reasons and having shorter domains.