microsoft / WhatTheHack

A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
MIT License
1.77k stars 874 forks source link

Bump System.IdentityModel.Tokens.Jwt from 4.0.4.403061554 to 5.7.0 in /002-IntroToAzureAI/Student/Resources/Challenge-2.3-Logging-Chat-Conversations/code/core-Middleware #861

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps System.IdentityModel.Tokens.Jwt from 4.0.4.403061554 to 5.7.0.

Release notes

Sourced from System.IdentityModel.Tokens.Jwt's releases.

5.7.0

Security fixes

See https://aka.ms/IdentityModel/Jan2024/zip and https://aka.ms/IdentityModel/Jan2024/jku for details.

5.6.0

Features

  • JWTs can now be created from both SecurityTokenDescriptor.Subject and SecurityTokenDescriptor.Claims (#1193).
  • Added support for 'typ' header claim validation to JwtSecurityTokenHandler and JsonWebTokenHandler (#1220).
  • Added support for creating unsigned JWTs in JsonWebTokenHandler (#1204).
  • Added support for creating custom JWT header claims in JsonWebTokenHandler (#1210).
  • Added support for creating a JWT with an empty payload in JsonWebTokenHandler (#1237).
  • Added a setter for the AuthenticationProtocolMessage.Script property (#1193).

Bug Fixes

  • The OpenIdConnectConfiguration.SigningKeys property is no longer used during JSON serialization and deserialization (#1242).
  • RSACryptoServiceProviderProxy now properly disposes an RSA instance (#1240).
  • DtdProcessing.Prohibit is now explicitly set when creating an XmlReader (#1258).
  • JsonWebTokenHandler.CreateToken() now adds iat, nbf, and exp as longs not strings (#1207).
  • DateTime claim processing is now corrected and consistent (#1261).
  • Various improvements to the documentation.

Click here for a full list of issues that were fixed in this release.

5.5.0

Features

  • SignatureProvider caching is turned ON by default.
  • Added support for JWE decompression in JwtSecurityTokenHandler.
  • Added support for RSA-PSS.
  • Added support for reading and writing multiple signatures in XML envelopes.
  • Saml(2)SecurityTokenHandlers can consume a token using an XmlReader.
  • Improved support for converting JsonWebKey to SecurityKey for crypto operations.
  • Support for ECDSA keys from JsonWebKeySet.
  • Added GetClaim() and TryGetClaim() methods to JsonWebToken.
  • Improved exception messages.

Build and Test

  • Added performance and stress test framework.
  • Published symbol packages to the NuGet.org symbol server, hence reducing size of main NuGet packages.
  • Reduced the netstandard 2.0 dependency graph.

Bug Fixes

  • Intermittent signature validation failures in multi-threaded environments when SignatureProvider caching is enabled.

Click here for a full list of issues that were fixed.

5.4.0

Features

Improvements to non-windows platforms

  • RSACryptoServiceProviderProxy is only available on .Net Desktop.
  • Support JsonWebKey.CreateECDsa on non-windows platforms.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/WhatTheHack/network/alerts).