Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twilio.AspNet.Core needs updating #140

Open
brckelly opened this issue Nov 14, 2024 · 15 comments
Open

Twilio.AspNet.Core needs updating #140

brckelly opened this issue Nov 14, 2024 · 15 comments

Comments

@brckelly
Copy link

Twilio.AspNet.Core is out of date in a few different ways:

  1. Targets unsupported .NET versions (6 and 7). Please update to 8 and 9.
  2. References package with vulnerabilities indirectly. Twilio references System.IdentityModel.Tokens.Jwt (v6.19.0). This should be updated to the latest.
@MostHostLA
Copy link

@dprothero @Swimburger
Any considerations on this - particularly for core 9 distribution.
It'll probably work as things stand, but there are KNOWN vulnerabilities that have never been addressed (in months).

@Swimburger
Copy link
Contributor

There are no active maintainers for this repo. I no longer have write access to this repo as I don't work for Twilio anymore.
@dprothero assuming you're still working for Twilio, can we find someone to maintain this, or give me write access?

@dprothero
Copy link
Collaborator

I can approve any PRs that look reasonable. I will shop this around inside Twilio to see if someone wants to look into maintaining it.

@sgobiraj
Copy link

If Twilio is not willing to support it then they should stop using this project in their examples like here: https://www.twilio.com/docs/messaging/tutorials/how-to-receive-and-reply/csharp

@MostHostLA
Copy link

It's worse than that;
This is used by paying clients on a paid service, and it has gotten 0 support or updates in ages, making it a risk due to known vulnerabilities and a literal waste of money paid to them to use the service.
I for one will not be paying my bill anymore...

@dprothero
Copy link
Collaborator

Thanks for the feedback @sgobiraj and @MostHostLA. I found some .NET folks here that are willing to look at this specific issue to try to address it. As for the larger support issue, I am opening a risk ticket internally so that leadership is aware. You're right that we need to do a better job of supporting you, even if it's supplying "stock" ASP.NET code examples as opposed to relying on an unsupported library.

@MostHostLA
Copy link

I would love not having to rely on the baked in library if at all possible.
Unfortunately I don't think the twilio 2fa sms system takes regular SOAP like posts (then again I never did look up what the code does internally, and I probably should to extricate my self from the unmaintained code)...

@ltctech
Copy link

ltctech commented Nov 20, 2024

Dependency injection is also broken with the main Twilio library:
twilio/twilio-csharp#768

@dprothero
Copy link
Collaborator

Dependency injection is also broken with the main Twilio library: twilio/twilio-csharp#768

That library is supported (everything in twilio GitHub org is officially supported, whereas this org, twilio-labs, is not.) I am sure the team has that one on their radar, but I have given them a gentle reminder as well.

@Swimburger
Copy link
Contributor

Swimburger commented Nov 23, 2024

DI is added through this library, so not officially supported by Twilio, but it was Twilio that introduced a breaking change again.

@AJLange
Copy link
Collaborator

AJLange commented Dec 3, 2024

Thank you @Swimburger for the new PR. We've gone ahead and pushed the update. We'll keep an eye on maintaining this repo on our end!

@MostHostLA
Copy link

@AJLange
I believe the update hasn't released yet; Regadless:

Can you also make sure to flag the correct .net stuff for it?
It's now missing both .net8.0 dependencies, and obviously .net9.0 dependencies.

Additionally somehow the links from within visual studio (for core6) link back to .net framework stuff from before .net6.0 was a thing, and I'm really not sure how that's even possible short of having set up the distribution for it incorrectly somehow.

@Swimburger
Copy link
Contributor

@MostHostLA I'm not sure what you mean by this.

The source code as is (not released) drops .NET 6, keeps .NET 7 (we should probably remove 7), adds .NET 8 and .NET 9.

The Twilio.AspNet.Core can only be installed on ASP.NET Core, and Twilio.AspNet.Mvc can only be installed on ASP.NET on .NET Framework.

What dependencies is it missing?

@AJLange
Copy link
Collaborator

AJLange commented Dec 9, 2024

@MostHostLA With the new release, we should be up to date. If there's anything you still see missing let us know.

@Swimburger
Copy link
Contributor

I think this issue can be closed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants