News for hackers. Stuff that matters.
Re:Show HN: No Signup, Yet, Authenticated Posts by wongarsu on Friday December 31, 2021 @06:37PM (#29753676)
From the name I was expecting something like image boards (think 4chan) where you can add a username to your post by specifying a secret, which will set your username to substring(sha(secret)). Instant authentication with no signup.

This isn't that, instead it seems to delegate the registration to some Namecoin-like thing, and I verify my identity but signing the content with my secret key? Did I get that right? I guess the advantage of that approach are human readable user names

Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @06:45PM (#29753767)
You hit the nail pretty much on the head. While you're correct that a 4chan-like mechanism would provide a means of authentication, the hash would not be human-recognizable easily (basically, not meaningful). Using a naming block chain like Handshake, you essentially solve Zooko's Trilemma [1].

[1] https://en.wikipedia.org/wiki/Zooko%27s_triangle

Re:Show HN: No Signup, Yet, Authenticated Posts by sombremesa on Friday December 31, 2021 @06:59PM (#29753870)
> While you're correct that a 4chan-like mechanism would provide a means of authentication, the hash would not be human-recognizable easily (basically, not meaningful)

This part can be addressed easily with avatars such as those Gravatar makes. Using a blockchain instead seems like a huge overkill, and also brings 'login' back into the equation, albeit with a different connotation than traditional login.

Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @07:04PM (#29753899)
> This part can be addressed easily with avatars such as those Gravatar makes. Using a blockchain instead seems like a huge overkill, and also brings 'login' back into the equation because most websites will use something like Metamask, which you have to log into.

A gravatar is great for a profile photo, but in the end, there's no guarantee that the message viewed by a user was actually written by the poster. A site admin could simply inject posts as that user.

With signed messages, only those who possess the key could have created the signature for the signed message. Even a site admin cannot edit the message and get away with it (since the signature wouldn't validate).

Re:Show HN: No Signup, Yet, Authenticated Posts by sombremesa on Friday December 31, 2021 @07:08PM (#29753922)
> in the end, there's no guarantee that the message viewed by a user was actually written by the poster

If you think about it, this is also true for web3 — true enough that it's broken.

We don't live in a world where you can't take things from people, etc.

Ultimately, society works because we don't really need ironclad guarantees — and we don't have any.

Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @07:12PM (#29753948)
> If you think about it, this is also true for web3 — true enough that it's broken.

You absolutely cannot fake a message being cryptographically signed without providing a broken verification function.

> We don't live in a world where you can't take things from people, etc.

The half glass empty approach is one method. The other method is to review the primitives we have in place today and explore different permutations that allow us to route around our adversities. That's the Hacker way. Of course, we do it with code.

> Ultimately, society works because we don't really need ironclad guarantees like that.

The society you live in is very different from mine. Fraud and impersonation are real. [1]

[1] https://www.theverge.com/2016/11/23/13739026/reddit-ceo-stev...

Re:Show HN: No Signup, Yet, Authenticated Posts by jjnoakes on Friday December 31, 2021 @08:13PM (#29754393)
> You absolutely cannot fake a message being cryptographically signed without providing a broken verification function.

How about by obtaining the private key?

Re:Show HN: No Signup, Yet, Authenticated Posts by woojoo666 on Friday December 31, 2021 @09:18PM (#29754788)
Pretty much all of security relies on the user not giving out their passwords or secret keys. Imho it's an implicit assumption when talking about identity and security. If we break that assumption, nothing in the world is secure, and any discussion about security becomes pointless.
Re:Show HN: No Signup, Yet, Authenticated Posts by jjnoakes on Friday December 31, 2021 @10:53PM (#29755352)
In security contexts, you have to make your claims carefully and explicitly. Assumptions don't play nicely there.

And getting access to private keys can happen by means other than the user volunteering them.

Re:Show HN: No Signup, Yet, Authenticated Posts by sombremesa on Friday December 31, 2021 @07:18PM (#29753996)
Between "there's no guarantee that the message viewed by a user was actually written by the poster" and "You absolutely cannot fake a message being cryptographically signed without providing a broken verification function" you moved the goalposts so hard it gave me whiplash and I'm afraid I can't continue this discussion due to my concussion.
Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @07:23PM (#29754032)
> Between "there's no guarantee that the message viewed by a user was actually written by the poster" and "You absolutely cannot fake a message being cryptographically signed without providing a broken verification function" you moved the goalposts so hard it gave me whiplash and I'm afraid I can't continue this discussion due to my concussion.

I think it might be wise to review what signing means to understand that I didn't "move the goalposts" at all [1], but thanks for the discussion, as I merit it will help a lot of people to better understand the power of cryptography as I'm guessing it's a new field here as of yet.

Happy New Year!

[1] https://en.wikipedia.org/wiki/Digital_signature

Re:Show HN: No Signup, Yet, Authenticated Posts by wyattpeak on Friday December 31, 2021 @08:01PM (#29754308)
No, they're absolutely right. You can steal a person's computer. You can get them drunk and ask them to hand over their keys. There are a dozen ways off the top of my head that you can have a message that's not written by the supposed poster without a broken cryptographic function.

As always, there's a relevant XKCD https://xkcd.com/538/

Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @08:12PM (#29754390)
This is solved with key management and security as opposed to with the fact on whether or not the technology has merit. Now, we're really moving goalposts. ;)
Re:Show HN: No Signup, Yet, Authenticated Posts by wyattpeak on Friday December 31, 2021 @08:37PM (#29754559)
Sure, but you're ignoring flaws in the security to make a stronger marketing message for your site. Yes, there is nothing you can do about this, it's not under your purview. But nevertheless you can't make so strong a claim as to say that a message can't be faked without a broken verification function. It simply can't be faked in one particular way.

If Person B published a message under Person A's name, that is, to the non-crypto world, a faked post. They're not going to be impressed by your argument that actually it isn't faked, it's real, Person B just had access to Person A's computer.

Re:Show HN: No Signup, Yet, Authenticated Posts by publiush on Friday December 31, 2021 @08:41PM (#29754582)
Again, this is a security issue and doesn't in any way reduce the proven efficacy of cryptography. It's pedantic at best, and I am going to stop replying to your comments.

Happy new year.

Re:Show HN: No Signup, Yet, Authenticated Posts by wyattpeak on Friday December 31, 2021 @09:11PM (#29754747)
That's fine, I'm not looking to debate, I'm trying to help. You're here presumably looking for input on your new project, but you're not taking any of it, and getting very defensive whenever anyone offers anything other than praise.

I'm not making a comment out of pedantry, I'm telling you how I expect this is going to be seen by regular users. People on the whole are not interested in whether or not some particular security system is theoretically perfect, they're interested in whether or not it actually provides the security that they interpret it to promise. And they will interpret your claims as meaning that messages cannot come from anyone other than the signed user, which is going to be a problem the first time that assumption fails. And it will fail, because people aren't good at keeping secrets secret.

Re:Show HN: No Signup, Yet, Authenticated Posts by woojoo666 on Friday December 31, 2021 @09:28PM (#29754839)
I don't see goalposts being moved. It seems like your base assumptions are just different from most people. Most discussions about security assume that users are taking care of their passwords and private keys, and talk about how secure a system is _given_ that assumption. If start assuming that stealing computers and getting people drunk to steal passwords is reasonable, then there would be no point to any of the security measures on the web
Re:Show HN: No Signup, Yet, Authenticated Posts by woojoo666 on Friday December 31, 2021 @09:32PM (#29754875)
I'm not too familiar with 4chan and handshake, but my current understanding of this is that it's like using public-private key cryptography for creating user identities, and then using blockchain to map public keys to usernames?

So if I wanted to make a post, I first generate a public-private key pair, and then sign posts using my public key?

Re:Show HN: No Signup, Yet, Authenticated Posts by Zababa on Saturday January 01, 2022 @11:33AM (#29759965)
Most tripcodes on 4chan are relatively recognizable, since they are combined with the names: https://en.m.wikipedia.org/wiki/Imageboard