erlang-jose icon indicating copy to clipboard operation
erlang-jose copied to clipboard

Add support for Thoas (a yet another JSON library)

Open michaelklishin opened this issue 2 years ago • 5 comments

@ericmj sorry to ping you directly but this turned out to be an unexpected blocker for Thoas adoption in RabbitMQ :) If you agree to accept this PR, we'd appreciate a new tag we can depend on.

michaelklishin avatar Jul 29 '22 21:07 michaelklishin

The failures are due to git clone/TCP connection timeouts, GitHub is having a rough day it seems. I run into the same issue locally.

michaelklishin avatar Jul 29 '22 21:07 michaelklishin

@ericmj is this something you'd be interested in accepting or should Team RabbitMQ use our own fork? Thank you 🙏

michaelklishin avatar Aug 01 '22 06:08 michaelklishin

I want to include this but it's blocked by CI failing due to the no longer supported git:// protocol: https://github.com/talklittle/erlang-libdecaf/blob/otp-23-remove-erl-interface/c_src/Makefile#L107.

I don't really have the time or knowledge of this library to fully maintain it. I can only merge PRs that I confirm to work by CI passing and make new releases until @potatosalad comes back or someone else is willing to take over and do proper maintainership. If you want this merged I unfortunately must ask you or another contributor to first fix CI.

We may be able to change the libdecaf dependency back to https://github.com/potatosalad/erlang-libdecaf but it needs to be updated or forked to use a supported git protocol.

ericmj avatar Aug 02 '22 11:08 ericmj

I can take a look at this soon.

potatosalad avatar Aug 02 '22 14:08 potatosalad

@potatosalad thank you. If you'd like someone to help out with this library, I'd be happy to. I am not a crypto expert but I'm sure there are issues that either won't require much knowledge (like this one) or, given enough motivation, new maintainers can meaningfully help with.

michaelklishin avatar Aug 03 '22 04:08 michaelklishin

It's been more than two weeks, any updates on this? It's a pretty low risk change :)

michaelklishin avatar Aug 19 '22 05:08 michaelklishin

It's been close to a month now, @potatosalad should I assume that JOSE maintainers are not interested in this PR and RabbitMQ should run a fork of JOSE from now on?

michaelklishin avatar Aug 29 '22 10:08 michaelklishin

Rebased on top of main

michaelklishin avatar Aug 29 '22 11:08 michaelklishin

We can merge this if you also fix CI. That can be done in a separate PR or in this PR. Feel free to fork libdecaf if you need to.

ericmj avatar Aug 29 '22 14:08 ericmj

@ericmj I got libdecaf 2.1.0 released yesterday which should fix the CI issues there, currently working on getting libsodium functional again on modern OTP so that this project's CI can work again.

potatosalad avatar Aug 29 '22 14:08 potatosalad

@potatosalad Thank you very much. Greatly appreciated!

ericmj avatar Aug 29 '22 14:08 ericmj