610 karma · joined Jan 22, 2023 (3y ago) · 265 submissions
email=${me}@unexpl0.red
comment 2y ago · link · parent
Also, if you're using xsalsa20 anyway, why go through the trouble of doing incremental n0nces? One of the main benefits of opting for an extended-n0nce construction is that it simplifies n0nce handling greatly. Why not randomly generate the 24 byte n0nce and forget about the tricky and error prone project of ensuring n0nce uniqueness?
2.
Ask HN: How does WebKit ITP work?
5 points · by d-z-m · 2y ago · 1 comment
3.
Ask HN: Why does Firefox treat 3rd party cookies from Google differently?
7 points · by d-z-m · 2y ago · 3 comments
comment 2y ago · link · parent
[0]: https://taoism.net/wp-content/plugins/wonderplugin-pdf-embed...
comment 2y ago · link · parent
for those of you(like me) wondering where this apparently spooky constant is coming from, it is a bitstring of the coefficients of the lexically first irreducible polynomial of degree b with the minimum possible number of non-zero terms, where b is the block size(in bits) of the underlying block cipher with which CMAC is instantiated. So, nothing up the sleeve here.
comment 2y ago · link · parent
Too late for what? Again, it only makes sense to talk about "security" in the context of a threat model. You can debate the reasonableness of that threat model, but that's another discussion.
My threat model(for the sake of argument :^)) is an attacker with a static public IP address trying to bruteforce access to my service via repeated login attempts.
I'll maintain(for now) that fail2ban can be an effective tool that does provide some security against an attacker of this kind.
comment 2y ago · link · parent
In the previous paragraph:
> Unlike his wife, Hemingway never went ashore at Normandy. On June 6, all he could do was watch from a landing craft as American soldiers fought their way onto Omaha Beach.
> Even though Gellhorn scooped Hemingway, his story ran first. “Voyage to Victory,” proclaimed the cover of Collier’s July 22, 1944, issue. The article identified Hemingway as “Collier’s famed war correspondent” and included a photo of the whiskered writer with Allied soldiers.
Only then does the section conclude with the line in question
> No mention was made of the fact that she was the only female journalist on the ground at Omaha Beach.
You can argue that the author just finds these and other facts interesting, and nothing more. I think that is ignoring the clear subtext present in the writing. The author is certainly making the case that she was not given the recognition she deserved; either because of her sex or her proximity to Hemingway. Because the author himself invoked her sex in the final line, I am inclined to think the former.
comment 2y ago · link · parent
comment 2y ago · link · parent
"Do not belabor wisdom to examine it;"
- Niutou Farong
[0]: https://www.dailyzen.com/journal/song-of-the-mind-xin-ming/comment 2y ago · link · parent
Right, but that doesn't mean that Go doesn't have an opinion about unused variables. Go's opinion is that they are compiler errors.
> my point is that it's not a design choice but a side effect of choosing "we don't have compiler warnings".
What makes you think that? I don't think "we don't have compiler warnings" was behind the choice to make unused variables a compiler error. It seems like a deliberate design decision on the part of the Go team.
comment 2y ago · link · parent
The scenario I'm imagining is: someone opens the TOTP entry UI in their browser, opens devtools, and starts to loop through all possible TOTP codes.
comment 2y ago · link · parent
comment 2y ago · link · parent
You're being too paranoid. If you have a substantive disagreement with the content of the "Too Much Crypto" paper then we can talk about it, but to posit that Aumasson was compromised by a TLA(with no evidence) and that this paper is the result is pure conspiracy thinking.
Aumasson designed BLAKE[0], as well SipHash[1] and SPHINCS+[2](both of which he designed with DJB, btw).
[0]: https://www.blake2.net/#co [1]: https://en.wikipedia.org/wiki/SipHash [2]: https://sphincs.org/