511 karma · joined Jun 20, 2015 (11y ago) · 248 submissions
https://neilmadden.blog/about
[ my public key: https://keybase.io/neilmadden; my proof: https://keybase.io/neilmadden/sigs/QfrQtB7H1Ni4rhaFpENFBtqqCd-VYDYXqYHKRfojHnk ]
comment 7y ago · link · parent
If you really want non-repudiation then you have to have hardware, legal, and procedural controls in place.
comment 7y ago · link · parent
comment 7y ago · link · parent
So I think the result of removing PGP will be even more plain 'ol email than anything else.
comment 7y ago · link · parent
So while the terminology seems confusing, it’s not actually different. It’s just a different choice of “input” compared to typical algorithm analysis.
comment 7y ago · link · parent
comment 7y ago · link · parent
(It always surprises me when Prolog texts refer to the least Herband model as the “intended model” - it’s definitely not what I intend when I write Prolog!)
So while we can say that an “ancestor” relation in Prolog correctly defines transitive closure within the least Herbrand semantics, at some point we actually have to relate that “semantics” to the real world if we want to know what our programs mean.
Edit: putting this all another way, my understanding of (pure, positive) Prolog’s operational semantics is that the least Herbrand model contains exactly those sentences that are true in all models of the program, whether those models are Herbrand or otherwise. So it’s not quite true to say that Prolog only considers the least Herbrand model, but that it may as well only do so because the (operational) result will be the same. It’s been a while since I’ve looked at this any great depth though.
comment 7y ago · link · parent
comment 7y ago · link · parent
I remember reading a history of Prolog, I think by Kowalski, which mentioned that Robinson always preferred Lisp to Prolog, despite it being built on his ideas. I’ll try and dig out a reference.
Edit: I found the article I was thinking of [1], on Maarten van Emden’s blog. Here is the quote:
> A few years later some excited evangelists brought Robinson the news that resolution had led to a new programming language. Robinson was delighted to see some sample programs and an explanation of how resolution was used to execute them. The evangelists took it for granted that henceforth Robinson would program in Prolog. They were disappointed to learn that no, for Robinson Lisp was the one and only programming language and that it could not even be displaced by an elegant embodiment of his own brain child.
[1]: https://vanemden.wordpress.com/2017/09/08/conceptual-integri...
comment 7y ago · link · parent
comment 7y ago · link · parent
Forcing every intermediate layer in the call stack to catch and rethrow that exception (check and propagate an error code) sounds like a good thing for explicit error handling, but actually in practice introduces a lot of boilerplate code that just provides more opportunities for mistakes (like errors being silently swallowed, or logged multiple times creating confusing log files).
How many times in a code review do you see `if err != nil { return err }` and ask yourself if what it is doing is actually appropriate? Most people just mentally mask out that kind of boilerplate over time.
comment 7y ago · link · parent
Secondly, if I can successfully get you to approve my login request then I not only get logged in but also receive a copy of your private key? That is a really bad failure mode.
comment 8y ago · link · parent
Our current design is basically the same, but we generate and store a random salt server-side and present that to the client along with the challenge. Using a deterministic salt based on the username and domain is a nice idea - we actually do something similar if the client presents an incorrect username to avoid leaking whether the account exists (we send salt = HMAC(secret, username) in that case).
comment 8y ago · link · parent
This means that after the fact either side can claim that the other side fabricated messages that apparently came from them, because they could have done.
The point about losing keys is that if I can plausibly claim that I “lost” control of my key then I can claim that an imposter signed a message that apparently came from me. So even with digital signatures you usually need additional controls (hardware, processes, legal/regulatory etc) to really guarantee non-repudiation.
comment 8y ago · link · parent
Edit: forgot the link https://tools.ietf.org/html/draft-ietf-oauth-signed-http-req...
comment 8y ago · link · parent
238.
Stateless Session Logout with Rolling Bloom Filters(neilmadden.wordpress.com ↗)
2 points · by nmadden · 10y ago · discuss
239.
Solving the GCHQ Christmas Puzzle (part 1) with Constraint Programming(neilmadden.wordpress.com ↗)
2 points · by nmadden · 10y ago · discuss