HNHacker News
TopNewBestAskShowJobs

tuxxy

1 karma · joined August 17, 2024

submissionscomments
tuxxy··on Immutable Databases
> ... where instead of using Merkle Trees, other cryptographic primitives could be use to ensure tamper proofness, such as Zero Knowledge Proofs

What would your zero knowledge proof _prove_ exactly without some data structure behind it? In many applications, the zero knowledge proof is being used to prove that something in a data structure is correct/valid/etc. You can't just replace these data structures with zero knowledge proofs arbitrarily.

tuxxy··on A brief introduction to the beauty of Information Theory
It's funny seeing this at the top of HN today. I just wrote a utility in Rust this past weekend to calculate the Shannon and metric entropy of a file (https://github.com/tuxxy/entropy/).

I really love the Shannon entropy equation. I don't know why, but I just find it so fascinating and elegant. I love it so much that I even got it tattooed on my wrist recently haha! (https://twitter.com/__tux/status/1257737842308022275/photo/1)

tuxxy··on Wekan: Open-source, trello-like kanban
It would be really nice to have something like this that can run locally but meant for a single user. I don't want to have to log in to my own instance or host a bunch of backend services (or even run it in a docker container).

Might be a fun weekend project to learn Rust, actually. :)

tuxxy··on Police Are Still Citing the Homeless, Despite CDC and Council Guidance
I'm happy that your experiences with police while homeless were mostly uneventful. However using this anecdotal story as evidence that the police are adequately equipped to play the "social worker" role is exceptionally dangerous.

Nearly all the data in the US points to the fact that police are the exact opposite of your story -- abjectly incapable of handling this role.

> Cops are human. They aren't a monolith.

Yes and no. Cops are indeed humans, but the institution of policing demonstrates that they behave and act homogeneously. E.g. "the thin blue line" or the "Blue wall of silence".

tuxxy··on Police Are Still Citing the Homeless, Despite CDC and Council Guidance
Does this really even need to be said? Police don't care about the health or the safety of the homeless.
tuxxy··on Modern submarine torpedo attacks are not like in the movies
I'm a cryptographer, so I'm inherently curious about secret communication. It just so happens that I'm also very curious about radios, satellite communications, etc.

Do you have a link that provides more information on these "below-noise-floor gold codes"? I tried googling, but I haven't found much technical information that I trust is entirely truthful or relevant.

tuxxy··on The Infinite Scroll
Personally, I find the "infinite scroll" to be one of the most devious forms of control developers and product folks have leveraged against individuals. It's extremely manipulative and extremely easy to build.

It's just so incredibly asymmetric with who it benefits -- and it's clearly not the users.

tuxxy··on Show HN: HiddenVM – Use any desktop OS without leaving a trace
> everyone is in soup since encrypted data is easy enough to detect...

This is only half-true. Any secure encryption is going to result in ciphertext that is indistinguishable from random data.

In cases where the ciphertext is designated by a header or file format, then it's trivial to know that something is encrypted. Then there are cases where we can try to forensically determine that there's encrypted data via the existence of an encryption tool (e.g. VeraCrypt).

If you wipe a disk with random data, for example, then it would be relatively difficult to determine whether or not the disk is encrypted (implying that there are no headers on it). In fact, one method of wiping disks is to generate a random encryption key and encrypt a stream from /dev/zero to fill the disk (https://wiki.archlinux.org/index.php/Dm-crypt/Drive_preparat...).

This tool is making use of a VeraCrypt hidden volume which is a rather really interesting application of plausible deniability in cryptography. Essentially, this let's you have two volumes where both are encrypted, but each has a different key. In this setup, you'd put some files on one of the volumes to make it appear that it's your "used" volume. On the other "hidden" volume, you'd place the real files you want to keep safe.

In a case where the government is demanding that you release your encryption keys, you would give up the keys to the "fake" volume. Unless you divulge the keys to the "real" volume, the attackers wouldn't necessarily know that it exists.

Unless there's evidence of you using one (maybe chat logs or google searches asking for help on using it, for example), there's no reason for anyone to suspect you use it.

The VeraCrypt documentation explains the technical details (https://www.veracrypt.fr/en/Hidden%20Volume.html) well enough.

tuxxy··on Show HN: Userbase – Add user accounts and persistence to your static site
Old is entirely a valid critique of crypto; it demonstrates the authors aren't familiar with modern privacy tooling which tells me a lot.
tuxxy··on Show HN: Userbase – Add user accounts and persistence to your static site
I took a cursory look at the crypto on the backend, and it was mildly concerning. It appears to not be using modern asymmetric primitives. At first glance, it's not insecure or anything... just old[0].

Rather than using something like libsodium's public-key box API, which is wonderful, it's using a 2048-bit Diffie-Hellman Prime group. This isn't really great. You should definitely upgrade to more modern primitives. I can highly suggest libsodium as a drop-in replacement.

The other thing about this that's more concerning is that I have no idea if there is any validation going on to prevent small subgroup confinement attacks on this, but I don't really want to spend anymore free time checking this out and I'll leave it as an exercise for the reader/author.

Personally, I wouldn't use this product until a few cryptography design decisions were changed. If you're marketing this as a privacy-centric product, there's a lot of work to be done--not just on the Diffie-Hellman usage.

0. https://github.com/encrypted-dev/userbase/blob/master/src/us...

tuxxy··on Why Your Static Website Needs HTTPS (2018)
What does a static site abusing tor user look like?
tuxxy··on Xiaomi camera playing on Google home hub sends stills from other people's homes
> because i don't care who can look at my front lawn

This is extremely selfish. What about your neighbors who walk/drive by your front lawn? You're doing your neighborhood a surveillance disservice.

tuxxy··on Ask HN: Successful one-person online businesses?
I've always been curious about where these DIY operators market themselves. Where did you find marketing successful for you?
tuxxy··on Ask HN: Germany vs. Canada for Tech Jobs?
Just moved to Berlin over a month and a half ago. You don't _need_ German, but it makes everything way easier.

Tech scene is smaller, of course, but there's lots going on. I can definitely recommend living here, especially if you're into art or music.

tuxxy··on Handshake: Decentralizing DNS to Improve the Security of the Internet
What inherently requires an identity to register a domain name?
tuxxy··on .su
If anyone is interested, registering a domain is $29.99/year and requires the submission of an identity document (passport, driver's license, etc).
tuxxy··on The Plot to Assassinate Orwell
> ... anarchists allied with trotskyist militias to fight against fascism and authoritarian communism.

This is not true. The Soviet backed militias forced Anarchists to either fight for their militias or be part of their purge. The Soviets used force to squash the growing (and large) anti-authoritarian sentiment among the Spanish Civil War Republicans.

tuxxy··on Vinyl set to outsell CDs for first time since 1986
Don't worry. If the music you listen to is sold in vinyl format at a Walmart, then you're not hipster enough to call yourself a hipster. :P
tuxxy··on Don’t Cheat on Interviews. It’s Obvious When You Do
Funny that the Author says counting sort is O(n) when it's really O(n+r). It's almost like making interviews around the knowledge of some case specific sorting algorithm is a bad idea...
tuxxy··on Homomorphic encryption
This is mostly a research library, so we haven't put our limited effort into CPU operations yet, but it's definitely possible if someone wanted to take the time to expose it in the library.
tuxxy··on Homomorphic encryption
Hi, I've been replying to other people in this thread. I work at NuCypher doing some research and cryptography engineering. I work on Proxy Re-Encryption and Fully Homomorphic Encryption.

Do you mind sending me an email with your use case and needs? I'd love to have a chat with you.

john@nucypher.com

tuxxy··on Homomorphic encryption
In most situations, yes. Like I said there are methods and exceptions, but it's complex to get into.
tuxxy··on Homomorphic encryption
You can do this with a TFHE implementation, if I understand your use case correcltly. You encrypt bits and then you can operate/manipulate on those individual encrypted bits.

I referenced NuFHE in a comment, but you should give it a try and see if it will do what you're wanting. See https://github.com/nucypher/nufhe/. We also have a discord channel where you can ask questions on using it in the #nufhe channel -- https://discord.gg/rmSafk

tuxxy··on Homomorphic encryption
Unfortunately, FHE doesn't work this way. You're operating on encrypted data, so performing some branched operations doesn't work due to the security (IND-CPA) security.

IE: You have a value that you need to do `if <condition> then <statement> else <other statement>`

Problematically, if that condition could work, then it would violate the confidentiality of the encrypted value, thus breaking the CPA security. Now there are some workarounds and methods to getting around this problem sometimes, but in many cases it's not possible.

tuxxy··on Homomorphic encryption
If anyone is interested in playing with Fully Homomorphic Encryption, we (NuCypher YC S16) built NuFHE (https://github.com/nucypher/nufhe/). It's written in Python and has excellent documentation, so you can try building some circuits and playing around with it. It requires a GPU to run, but it's also the fastest implementation of FHE in the world (that I know of).

Let me know what you think! :)

tuxxy··on Alarming surge in drug-resistant HIV uncovered
This is why PrEP is so important and everyone at risk should be on it. We need to spread PrEP use as far and wide as possible.
tuxxy··on Employee happiness and business success are linked
Come on, it's incredibly disingenuous to suggest that all folks living paycheck-to-paycheck don't have a valuable skill set. It's also incredibly offensive and elitist, too.
tuxxy··on 'Five Eyes' nations discuss backdoor access to WhatsApp
This. That entire period should be examined as a lapse in judgement, not a time when things were better.

Because of our state-of-the-art security, we're now able to do more things online in less secure environments. A secure, distributed internet is normal. One that is insecure by design is not.

tuxxy··on The art of interrupting software engineers
I've been reading a lot on focused work and this sounds like the exact opposite of what's supposed to happen. I can't recommend Cal Newport's book "Deep Work: Rules for focused success in a distracted world" enough.

He goes through a lot of psychology and science of how people work better when they're not distracted. It seems that all of the "Extreme Programming" guidelines go quite the opposite of what the science, per Cal Newport, suggests.

He also points out that collaboration is perfectly acceptable during deep and focused work, but this doesn't sound like how it should be at all.

tuxxy··on The Library Card Project: The Ease of Forming Anonymous Companies in the U.S.
There is absolutely _not_ too much tolerance of anonymous corporations. If anything, there's not enough. The majority of them are likely used for lawful reasons. What an absurd, anti-privacy statement.
← PreviousPage 2 of 11Next →