[–] 1 point 2 months ago (1 child)
  1. Okay, but it sounds like you haven't yet investigated any of the sponsored security audit solutions. These aren't quite the same as a grant.

https://ostif.org/get-an-audit/

But by making yourself closed source, you kill any chances of getting access.

It's not enough for the cryptography to secure. An unverified, unsigned, unhashed index.html that the user still has the same issues outlined in the article above. The supply chain has to be secure as well.

  • source
  • parent
  • context
  • [–] 1 point 2 months ago (5 children)

    There are organizations that audit software for free, for smaller developers.

    But they only do so if it is FOSS.

    You have now essentially killed your project, since you will not be able to afford an audit, and nobody who knows what they are doing will look at an encryption protocol or app that hasn't been audited.

  • source
  • parent
  • context
  • [–] 1 point 2 months ago*

    No, using a directed acyclic graph as a backend for a messaging app makes perfect sense, it's what matrix does!

    A significant portion of matrix's problems stem from the fact that it was originally a blockchain research project that somehow turned into a messaging app.

  • source
  • parent
  • context
  • [–] 2 points 2 months ago* (1 child)

    EDIT no wait, this post is about secure, not hosting/tunneling in general. This comment is off topic ig.

    I would like to avoid paying for a VPS

    Oracle cloud free tier, but it does have a history of randomly killing the VPS's created.

    Public ipv4 addresses are scarce, and becoming more expensive now. You are probably going to have to shell out some cash if you don't already get one as part of your internet plan.

  • source
  • parent
  • context
  • [–] 6 points 2 months ago (2 children)

    Step 1 is communication.

    Talk to your english teacher. Explain to them, why Google Docs, the way they track history and changes, is not a preferred option for you, due to ethical or privacy considerations.

    Explain to them your selected technical alternatives for tracking changes. A few alternatives are (many commenters already covered):

    • LibreOffice Word + it's build in version history
    • Etherpad, onlyoffice, or an open source hosted solution with version history
    • Git: Yes, it is the most technical option. But don't assume that your teacher doesn't know it, or is unwilling to learn it, so it has to be included on the list for a complete set of options.

    Secondly, you need to remember that what your english teacher wants is not "document history", but instead seeing your process (maybe to prove you didn't chatgpt it, in which case, writing it on paper also might prove that). If none of those technical alternatives are viable solutions for them, another alternative is to simply submit documents that encapsulate each stage of the process. For example, a common pattern that my teachers and professors would do for writing assignments is:

    • Annotated Bibliography: Collection of sources, but also annotations, or comments on each one. Why you included them, how they can be used in your essay, and so on.
    • Outline: This can be bullet point like overviews of each paragraph and the topics they will discuss, how, and what sources will be used
    • Rough draft (and various stages of it, as it gets reviewed by you, or others like classmates)
    • Final Draft: self explanatory

    The above setup is nice, because it is not tied to any particular software, and can even be executed on paper. This would mean that future students, similar to you, going through the same class, could write essays with their preferred writing software, instead of only with google docs or whatever solution you get the teacher to learn how to work with (assuming they are nontechnical and teaching the teacher is difficult.

    I only started seeing it done like this in college classes. High school classes only sometimes required an outline, and never required an annotated bibliography. It also is more work then just writing an essay from sources.

    But the two big benefits of this setup are:

    • Even though it is more work initially, it is less work overall, while leading to a better organized and higher quality essay.
    • By assigning due dates to each step of the process, the teacher can eliminate lots of procrastination and doing the entire essay at the last minute.

    Good Luck!

  • source
  • [–] 2 points 2 months ago

    If an attacker wanted to hand me bad code, couldn’t they also hand me a bad signature/certificate/key?

    This is what multi-party key signing is for. Now, multiple people verify code, and also verify build artifacts. Rather than trusting an individual, you trust a process during which developer's continuously verify each other.

    The other thing to note is that the builder is not always the distributor. For example many Linux distro's have mirrors setup, where they share their built artifacts to other institutions and hosters, who then redistribute code.

    Even for a single party, key signing has value because it ensures that everything after the original creation of the artifacts is not compromised, as long as the key distribution system is different than the distribution system of the artifacts.

    But for a solo dev on Github, yes. Signing doesn't really do anything, since the developer and the distribution chain are close enough that it's highly likely the key would be compromised along with the source.

  • source
  • [–] 2 points 2 months ago

    I think the most straigthforward solution for you would be to boot the live ISO installer in a virtual machine, and then connect the USB device to it and then install. This is mostly guaranteed to work, since it is already using the actual ISO.

    Alternatively, the program that most Linux distro's use to install nowadays is called calamares. And yes, you can install it on a non-live system.

    sudo apt install calamares calamares-settings-debian

    This might be easier, but it also might be harder, if say, the installer is not preconfigured with the various settings the live ISO comes with.

  • source
  • [–] 1 point 2 months ago (1 child)

    The current thing I was working on was figuring out if I can do this: https://github.com/NilsIrl/dockerc . This project, compiles a docker image, and runtime to a single container. The interesting thing I find about it, is that it brings the docker container runtime and sandbox along. If I replace a user's login shell with it, the user is now placed inside a sandboxed environment and can't do anything.

    My usecase is I want to replace people's login shells with a container in a defensive cybersecurity competition. But, containers are not a sandbox, and full network access, and so on.

    So my improvement, was to:

    • Use the gvisor/runsc runtime instead of a normal container. Gvisor is a reimplementation of the Linux kernel in Go, and it is as secure as a virtual machine, way more secure than a normal container, BUT I can't guarantee nested virtaulization is enabled
    • Rip out dependencies on user namespaces or fuse for sandboxing or the container runtime, and entirely rely on Gvisor for isolation, just in case machines are old/misconfigured and those components don't work
    • Use Nix to build images and all in one executables instead: Nix has ways to package static programs that avoid pitfalls of above

    I am having trouble meeting all of these requirements, so I suspect one or a few will go, or I will have multiple versions of the project with tradeoffs.

    All of my projects, often involve doing something standard, but with extra constraints, or some kind of "twist". Like a very common thing I find myself doing, is to do something normal, but then rip out one of the underlying components of the system, replacing it with something else.

    I've found that I've learned a lot about how these systems work, without having to spend time building them entirely from scratch. You learn way more about Linux by reconfiguring your init system to enable encryption, than copy pasting from the Arch Linux Installation Guide the whole time, doing the standard setup. And then ignoring the partition layout so that my kernels are restored by BTRFS snapshots, which is not the default configuration.

    That's the way to break out of tutorial hell. You have to not follow the tutorial. You can still follow them most of the way, but you have to pick a few steps, and do something different. I pick something that I think will benefit or make my setup better in some way.

    It is kind of difficult, since I feel like Linux has gotten more popular, and people know write more blog posts, and something that was previously a cool twist, is now something I can find a tutorial for. But with some care, you can ensure you still are learning, and it's made easier by picking projects with twists.

  • source
  • parent
  • context
  • view more: ‹ prev next ›