Err(()).unwrap()

Partisanship is a cancer. Inaction is a choice.

Singular they. Or whatever you like, I won’t take offence.
100% win rate in Highguard. Proud member of the Banned By Tesseract Club.

  • 2 Posts
  • 188 Comments
Joined 3 years ago
cake
Cake day: June 24th, 2023

help-circle

  • The encryption that SSL/TLS provides (that puts the “secure” in HTTPS) uses a public–private key pair and a specific mathematical function. Generating the key pair requires a cryptographically secure random number that is impossible or very difficult to guess, which must be kept secret at all times. If this random number is leaked or guessed by a malicious actor, the private key can be reconstructed and used to impersonate a website or break the encryption.

    The security of the encryption comes from the fact that the function is easy to calculate one way, but difficult to calculate its inverse. To demonstrate: multiplying the prime numbers 88117 and 44543 is easy, but the inverse, factorizing the semiprime 3924995531, is extremely lengthy in comparison.

    One of the factors that determine the security of the key is the size of the number, i.e. the number of digits. In this case, a proper key should’ve had a length of 384 bits (or 116 decimal digits). In reality, the keys that eMudhra used had eight bits, which can only represent 256 possible values, and can be easily guessed even by brute force. The specific private keys were the numbers 4, 56, 66, 115, 155, 156, 230, and 237.



  • No, we were taught about HTTP, the fundamentals of hypertext and how it gets rendered, how embedded code (Flash at the time; yes, I’m old) runs in the browser, and the concept of the digital footprint. The cybersecurity implications were obvious.

    Actually, I have to correct myself. Some of this was taught in the 7th or 8th year of primary school, around ages 12-14. I was fortunate to be born in a country, at the right time, where the public education system was still worth something. My heart bleeds when I hear of what goes on across the ocean.





  • One obstacle you might encounter is carrier-grade NAT or CGNAT. Some ISPs put residential subscribers behind an additional layer of IPv4 NAT, which makes your public address inaccessible from the internet. In that case, you’ll either need Tailscale or a similar service, or a VPS to act as a relay.

    Then there’s Vodafone who have unilaterally removed both the port-forward feature and bridge mode from their residential cable modems, and I hate them, and wish them a hammer to balls.




  • Err(()).unwrap()@lemmy.worldtoSelfhosted@lemmy.world•*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    14 days ago

    you’re conflating me with the author of Cliparr

    My mistake, I’ve edited the comment to reflect this. Although I don’t understand, then, why you even brought Cliparr up. You’re not involved, and only taking offence on someone else’s behalf.

    That also means that the lovely message of “Ipso facto, for all the AI “Akshually” pedants, I’ve tagged this as AIP. Politely go fuck yourselves :)” was precipitated by a single negative interaction and a handful of downvotes. Regardless of linguistic and cultural differences, that’s just being a dick, and it should be pointed out. Perhaps you should reexamine how you handle criticism.


  • Err(()).unwrap()@lemmy.worldtoSelfhosted@lemmy.world•*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    2
    ·
    edit-2
    14 days ago

    I don’t see how you were “dunked on”. There was one (1) person who went farther than voicing legitimate concerns… and then you were a twat and a half about it in the edited post. “Politely go fuck yourself” with a smile is worth a downvote.

    Developers have been getting criticism for using particular tools for decades. For using Electron, for using systemd, for developing in Rust, for not developing in Rust, for using GTK or Qt… but when LLMs get involved, it’s suddenly verboten and you get to take some reductive moral high ground because “it’s just a tool”?

    (edit) Just to answer the actual question:

    • If you don’t need to use AI, don’t. Messy, undocumented, human-authored code deserves more respect than clean code with dubious authorship.
    • Show how the sausage is made. Don’t just push your project as a single squashed commit; it makes you look like you have something to hide. (edit 2) If a commit contains AI-generated anything, mark it as such.
    • Again, don’t be a twat when you inevitably get pushback. As a developer of supposedly 25 years, you should be familiar with that of no particular renown, you should learn how to handle it gracefully before a reputation develops around you.




  • CUPS didn’t work for me as I can’t see an upload option on the web UI.

    And you won’t. For the purpose of printing, CUPS is a print server, not a web front-end. It facilitates communication between client devices and downstream printers through a unified open protocol that isn’t manufacturer-dependent.

    Printing is implemented through IPP, which is an HTTP-based protocol. You have to add the URL of the printer as it appears on the web UI (e.g. https://print.mydomain.net/printers/PRINTER_NAME) as a printer in the client device’s printer manager. It’s plug-and-play on Linux and Mac, and needs a driver (even if it’s the generic PostScript driver) on Windows.





  • As others have said, Tailscale is the most pragmatic solution. It’s a mesh VPN based on Wireguard. It’s implemented in such a way that you don’t need a static IP and don’t need to open any ports on your firewall. The caveat is that you either need to register an account on tailscale.com (it’s free for small-scale use) or set up a self-hosted alternative like Headscale on a VPS. Then you have to install the Tailscale client on each of the hosts you want to access and log into your account.

    Tailscale nodes will be accessible using an internal, private address in the 100.64.0.0/10 address space. You can also set up a split DNS that allows you to access your hosts using a DNS name like hostname.your-tailnet-name.ts.net.