• Joined on 2022-09-15
jaeckel commented on issue mellium/xmpp#346 2023-11-07 14:51:28 +01:00
communique: some servers report invalid channel binding

@aryak please update to most recent ejabberd. The issue is fixed since a few days (not sure if there's already a release that contains that fix).

Alternatively you could disable TLS1.3.

jaeckel commented on pull request mellium/xmpp#385 2023-09-22 11:39:18 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

I thought about re-using the AEAD interface, but that one expects the tag/MAC to be appended and we need it separate, therefore I've created a new one.

jaeckel commented on pull request mellium/xmpp#385 2023-09-21 17:05:24 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

Maybe you could add this stuff to the PR in the omemo repo we've been working on and make it depend on this package?

hmm, that'd mean that we don't have a working test of the encrypt/decrypt…

jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-21 16:46:49 +02:00
99b14de597 sce: implement Stanza Encryption and Decryption
de4c4f4690 sce: add initial version of XEP-0420 Stanza Content Encryption
Compare 2 commits »
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-21 16:42:03 +02:00
3a77b7a9ce sce: implement Stanza Encryption and Decryption
jaeckel commented on pull request mellium/xmpp#385 2023-09-21 16:37:25 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

[...] we shouldn't comment out the .SILENT (you can always do it locally if you need to debug, or we can discuss removing it entirely if you want, but overall I just think it makes the…

jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-21 16:31:17 +02:00
1cbf9f371d sce: implement Stanza Encryption and Decryption
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-21 16:18:02 +02:00
8b39b16fdd sce: implement Stanza Encryption and Decryption
8b59a4adfa sce: add initial version of XEP-0420 Stanza Content Encryption
Compare 2 commits »
jaeckel commented on pull request mellium/xmpp#385 2023-09-19 18:37:39 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

Another thought (that we can worry about later, I just want to put it on the table but it's not important right now): I'm slightly worried that sce has no real adoption [...]

It's a…

jaeckel commented on pull request mellium/xmpp#385 2023-09-19 18:33:27 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

Sure, I'll implement it from scratch, but it's not only going to be two lines ;)

jaeckel commented on pull request mellium/xmpp#385 2023-09-19 18:32:01 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

OK, I'll open a separate PR with only those changes and will base this PR then on top of that one.

jaeckel commented on pull request mellium/xmpp#385 2023-09-19 18:31:04 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

The signatures on these methods will potentially require heap-allocating a new byte slice to return if we can't re-use the input slice and more or less preclude any sort of streaming use.

Mayb…

jaeckel commented on pull request mellium/xmpp#385 2023-09-19 12:01:57 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

I renamed the SceEnvelope to EncryptedEnvelope, better?

jaeckel commented on pull request mellium/xmpp#385 2023-09-19 12:01:12 +02:00
WIP: Implement XEP-0420 Stanza Content Encryption

Yeah, this should be in the omemo module, I've only added it as example here since there's no omemo module yet.

Should I create omemo/omemo2.go and add this there? Or leave it here and…

jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 20:46:08 +02:00
1a523b31a6 all: update dependencies after running go mod tidy -go=1.20
7bed727799 sce: implement Stanza Encryption and Decryption
628cc3e536 sce: add initial version of XEP-0420 Stanza Content Encryption
Compare 3 commits »
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 20:24:32 +02:00
e24979aa01 all: update dependencies after running go mod tidy -go=1.20
9a18798bd7 sce: implement Stanza Encryption and Decryption
Compare 2 commits »
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 19:53:45 +02:00
778e1a74d2 all: update dependencies after running go mod tidy -go=1.20
b82338372f sce: implement Stanza Encryption and Decryption
Compare 2 commits »
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 19:47:53 +02:00
06bbcafc70 all: update dependencies after running go mod tidy -go=1.20
5d5a11536a sce: implement Stanza Encryption and Decryption
6610fdb1da sce: add initial version of XEP-0420 Stanza Content Encryption
Compare 3 commits »
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 18:43:43 +02:00
7eaa494c60 all: update dependencies after running go mod tidy -go=1.20
jaeckel pushed to xep-0420 at mellium/xmpp 2023-09-10 18:33:34 +02:00
60a3933fbf all: update dependencies after running go mod tidy -go=1.20