Sorry for the late reply. I do think repudiation is very important -- I filed an issue¹ almost exactly two years ago about it (and was rather put off by the peanut gallery rejecting the very concept with what seemed to be no thought as to why people might want it to begin with, or discussion on how to limit it to serve the counter use cases while still maintaining enough repudiation to be meaningful). Glad to see the topic come around again.
For what it's worth, I agree it's a lot harder to implement E2EE+repudiation via ActivityPub than it is with a more open protocol like email. There, there's been a number of technologies bolted on to try to catch spoofed addresses, but ultimately it's a protocol without any coordination between many layers including the authentication and encryption (if the latter is used at all). Here, methods for ensuring the reported authorship is correct are baked into the protocol, and we're looking for solutions that don't require manually tying together half a dozen separate technologies. That difficulty we're facing is not even a bad thing given that it stems from the ways we've fixed the many problems of email-and-similar protocols.
As many issues as email has, though, the per-account asymmetric "signing-only" keys lend themselves very easily to repudiation via key rotation: once the supposed sender publishes their private signing key used for the period of time including the supposed message, all barriers are burnt for anybody to forge messages as if from them during that time period.² Any rotation more specific than that reduces the number of people with "authorization" to forge things, and thus weakens the repudiation -- per-conversation OTR means that the people you're talking to could forge "your" messages, but if seeding that key chain requires a signature from your account's main key, you're still putting it on record that you were talking to them.
I do think the MLS and PKD work will go a long way to helping security in general, and the PKD in particular without any inherent conflicts with repudiation. I'd like to wind up with something where we can include a recommendation in their documentation of "periodicly KeyUpdate the signing key to N+1, RevokeKey N, and publish N-1"³ to establish the expectation among implementers that users' keypair will be rotated and can't be treated as long-lasting -- because doing so only breaks nonrepudiation, not encryption. I'd certainly not turn down solutions which target finer grains of repudiation than the account level as compromises of "at least we aren't attesting everything, addressed to anyone, in perpetuity".
These are still two related but distinct problems to solve, though, and I agree that prioritizing the E2EE work is the more important. The only thing I ask is that we don't forget about repudiation while doing so, and that when comparing multiple potential architectural features in service of encryption we give some weight to solutions which avoid unnecessarily making repudiation harder.
re: @soatok@furry.engineer @bengo@mastodon.social
cc: @evan@cosocial.ca
¹: The reply to which by
@evan@cosocial.ca being how I discovered I'd missed this in my feed over here.
²: This is where the dual splits between public/private and signing/encryption keys really shine. Someone can publish their private signing key, but because everything they received was encrypted via their public
encryption key, no actual communication gets revealed. Meanwhile, everything they themself sent used their conversants'
public encryption keys, so with the now-forgability of their signature there's no longer any private knowledge tying them in particular to being the one to have sent it. The PKD is fully compatible so long as we store signing and encryption keys under different
key_ids (or have one key but some more complex algorithm); I'm not up to speed on the MLS discussions, but so long as it doesn't entangle the two cases such that revealing the one breaks the other there's no reason it can't be compatible as well.
³: Or some similar sequence. I'd be perfectly happy to delay
RevokeKey until that private key is published as N-1, for example. Or how the current version of the fedi-e2ee spec can (understandably) only express
AddKey rather than the
KeyUpdate connotations of "the old key might not be revoked and so doesn't have to be
rejected, but is no longer preferred and so should be viewed with some suspicion". I'm also very much not a security engineer. That algorithm sketch is just meant to stand in for the entire category of rotation rather than to identify that specific form.