HNHacker News
TopNewBestAskShowJobs

doomrobo

2,245 karma · joined October 17, 2012

Recent PhD in cryptography from the University of Maryland

Website: https://mrosenberg.pub Github: https://github.com/rozbb Keybase: https://keybase.io/mrosenberg Email: michael (@) mrosenberg (.) pub

[ my public key: https://keybase.io/mrosenberg; my proof: https://keybase.io/mrosenberg/sigs/dR6U3ijr9MYZyBe0ueW6L90pU8Adb817jaeWietnOH4 ]

submissionscomments
doomrobo··on Blake3 is 10 times faster than SHA-2
It was announced in a lightning talk following that session
doomrobo··on Moonjit – Fork of LuaJIT to Continue Development
What about integers and bitops in 5.3? That seems like a big deal
doomrobo··on Show HN: Url2cite: Transparently convert links to citations in markdown papers
This is not reliable for paywalled links. I can sometimes download paywalled content from my console because I'm behind a university IP block.
doomrobo··on Announcing WT.Social (Formerly WikiTribune)
Background

WT.Social was previously WikiTribune, founded in Aug 2017 by a cofounder of Wikipedia. WikiTribune was a "news wiki where volunteers wrote and curated articles about widely publicised news by proofreading, fact-checking, suggesting possible changes, and adding sources from other, usually long established outlets...Until October 2018, WikiTribune employed journalists with established backgrounds in the profession who researched, syndicated, and reported news...After that volunteers could publish articles without having them checked by professionals."

https://en.wikipedia.org/wiki/WikiTribune

doomrobo··on Show HN: Keycat – A self-hosted end-to-end encrypted password manager
There are multiple issues from over 5 months ago that have no response

https://github.com/keydotcat/keycatd/issues

doomrobo··on Ethical Tech Giving Guide
I like the idea behind this list. But is it seriously suggesting that I buy a Galaxy S3 in 2019? Does it even get OS updates anymore?
doomrobo··on Neat Rust Tricks: Passing Closures to C
Where's the UB? It casts a boxed closure to a raw pointer, and then back to a boxed closure. There's no tricky introspection being done here.
doomrobo··on Show HN: A Markdown Notepad App
If you're looking for something like this with vim bindings and functionality, I really like VimR

https://github.com/qvacua/vimr

doomrobo··on Self-Hosted Dropbox Alternatives
Is there anything that has a client for Linux, Mac, and iOS? Not just a website, but a dedicated app.
doomrobo··on Show HN: Simple Group Email Discussion Lists
Nice! I like the idea of using existing protocols to build something more usable for large groups. How does this compare to TopicBox? https://www.topicbox.com/
doomrobo··on We Need a PBS for Social Media
The theoretical site described in the article requires that every account be tied to a real person (e.g. by driver's license or library card). I think having something like this would produce a climate very different from those on the *chans
doomrobo··on WeWork’s Adam Neumann Steps Down as CEO
Because they have long-term liabilities with short-term income agreements. If there's market downturn, all those companies that were their customers disappear. But the bank doesn't disappear and We still owes them their monthly mortgage payment.
doomrobo··on Anti-handcuffs Protective wear to slow down police speedcuffs
Does National Guard count?

https://en.wikipedia.org/wiki/Kent_State_shootings

doomrobo··on Words that do Handstands
It would also make the search space exponentially bigger
doomrobo··on Telegram introduces feature to prevent users from texting too often in a group
Can you build and run the server locally?
doomrobo··on Telegram introduces feature to prevent users from texting too often in a group
Couldn't a bot do logging?
doomrobo··on Better Encrypted Group Chat
This is pretty close to another question in this thread. I think my answer applies to this as well https://news.ycombinator.com/item?id=20645717
doomrobo··on Better Encrypted Group Chat
Yup, everyone has everyone else's sender key.

This is more or less equivalent to having a single shared group key, but there are some practical reasons why it's split out. I think one of them is that it makes symmetric key ratcheting (for the purposes of perfect forward secrecy) a little less disastrous in the case of out-of-order or failed message delivery. Not totally sure, though.

doomrobo··on Better Encrypted Group Chat
I don't know exactly why this isn't done. Someone else mentioned this, this was my response https://news.ycombinator.com/item?id=20645457

I don't think anyone has to update their keypairs if they get promoted. They would only get promoted if their sibling is blank. In that case, they can just take their parent's keypair and not worry about anyone else having it.

doomrobo··on Better Encrypted Group Chat
Even better, why not have a single symmetric group key that everyone uses to communicate? Assume the delivery service is perfect, so you never get dropped messages, and everyone ratchets the group key forward, thus providing perfect forward secrecy.

A question: if someone leaves the group, how do you determine the new group key?

If there is some one-way function f that determines the new group key, then the removed person can derive the new key K' = f(K), where K is the current key. That means that if they get ahold of the transcript of the group after they leave, they can decrypt everything.

So K' must be derived by some non-deterministic process. There's a group of people who need to arrive at the same value, and they need to use randomness. Whose randomness do they use? A simple answer is "the remover." That is, have the remover include a randomly generated K' in their Remove message to the rest of the group. This doesn't work though, because the removed person can still decrypt the Remove message and get K' just like everyone else.

A viable solution is to randomly generate K' and then encrypt it for everyone _except_ the removed party. But once you're here, you run into the problem of pairwise keys, and your runtime sucks.

This last step is basically where the article starts. Thank you for asking this question!

doomrobo··on Better Encrypted Group Chat
If you don't need PFS you could probably modify MLS to be a bit simpler.

Firstly, no need for sender keys. A single group key will do. When you remove someone from the group, you still do the group update and derive a new group key (unless you don't want post-compromise security either, in which case you can throw out the entire tree concept).

Now when you add someone to the group, you share with them the entire historical group transcript along with all the previous group keys.

Is this roughly what you're looking for?

doomrobo··on Better Encrypted Group Chat
Good point. I don't think it'd be unreasonable to promote everyone to their parent in this example.

One thing that I left out of the post is that the MLS ratchet tree has something called a "tree hash". Every node carries a hash digest, which is the hash of its two children. The root node's hash is used to derive a bunch of group-specific values, so it's important to keep this hash up to date. If you promote every member to their parent, this would require about N log(N) total hash operations, since every path from a leaf to the root would have to have its hashes recalculated.

N log(N) hashes seems like a small price to pay for optimizing a structure that determines how many ECDH operations you end up doing. I'll ask other MLS people about this and see if I'm missing something.

doomrobo··on Better Encrypted Group Chat
Author here. Happy to answer questions!
doomrobo··on RSA is a fragile cryptosystem
My bad, I meant to say that it doesn't use any public key encryption like ElGamal. Or at least, I've only ever seen ECIES implemented with ECDH + symm enc
doomrobo··on RSA is a fragile cryptosystem
I don't think ECIES uses any PKI. The setup is: given a DH pubkey P, generate a DH ephemeral key Q, do the DHKE to derive k, encrypt your message m, then send (Q, E_k(m)).
doomrobo··on Logistic Regression from Bayes’ Theorem
This was a really neat exposition! I have a few questions:

1. Is D a binary random variable? If so, what exactly does it mean to say beta*D + beta_0 is an approximation for log odds? Doesn't this formula only take on 2 possible values?

2. Could you provide intuition for why a linear function of D would be a good approximation for the log odds mentioned?

doomrobo··on Hledger: Robust Plain Text Accounting
Are there any iOS apps that interop with hledger? I've been using iQIF [0] for a bit, but it only exports things in QIF format.

[0] http://www.iqif.info/iQIF/

doomrobo··on H.264 is magic (2016)
If stories like this interest you, I highly recommend Nat Geo's Valley of the Boom. I don't even like "history shows" but it's a funny and self-aware take on SV in the 90s with solid acting and a pretty low budget.
doomrobo··on Rare and strange ICD-10 codes
Like cutting near the bite and trying to suck out blood?
doomrobo··on You’re probably using the wrong dictionary (2014)
(2014)
← PreviousPage 8 of 16Next →