Use up-to-date "now", in case take long time to get Metadata #2063
This release addresses #1743 and, as such, going forward if the SymmetricKey is smaller than the required size for HMAC IdentityModel will throw an ArgumentOutOfRangeException which is the same exception when the SymmetricKey is smaller than the minimum key size for encryption.
6.30.0
Beginning in release 6.28.0 the library stopped throwing SecurityTokenUnableToValidateException. This version (6.30.0) marks the exception type as obsolete to make this change more discoverable. Not including it in the release notes explicitly for 6.28.0 was a mistake. This exception type will be removed completely in the next few months as the team moves towards a major version bump. More information on how to replace the usage going forward can be found here: https://aka.ms/SecurityTokenUnableToValidateException
Indicate that a SecurityTokenDescriptor can create JWS or JWE
See the releases for details on bug fixes and added features.
7.4.1
Bug Fixes:
SamlSecurityTokenHandler and Saml2SecurityTokenHandler now can fetch configuration when validating SAML issuer and signature. See PR #2412
JsonWebToken.ReadToken now correctly checks Dot3 index in JWE. See PR #2501
Engineering Excellence:
Remove reference to Microsoft.IdentityModel.Logging in Microsoft.IdentityModel.Protocols, which already depends on it via Microsoft.IdentityModel.Tokens. See PR #2508
Adjust uppercase json serialization tests to fix an unreliable test method, add consistency to naming. See PR #2512
Disable the 'restore' and 'build' steps of 'build and pack' in build.sh, improving speed. See PR #2521
7.4.0
New Features:
Introduced an injection point for external metadata management and adjusted the issuer Last Known Good (LKG) to maintain the state within the issuer validator. See PR #2480.
Made an internal virtual method public, enabling users to provide signature providers. See PR #2497.
Performance Improvements:
Added a new JsonWebToken constructor that accepts Memory for improved performance, along with enhancements to existing constructors. More information can be found in issue #2487 and in PR #2458.
Fundamentals:
Resolved the issue of duplicated log messages in the source code and made IDX10506 log message more specific. For more details, refer to PR #2481.
Enhanced Json serialization by ensuring the complete object is always read. This improvement can be found in PR #2491.
Engineering Excellence:
Streamlined the build and release process by replacing the dependency on updateAssemblyInfo.ps1 with the Version property. Check out the details in PR #2494.
Excluded the packing of Benchmark and TestApp projects for a more efficient process. Details available in PR #2496.
7.3.1
Bug Fixes:
Replace propertyName with MetadataName constant. See issue #2471 for details.
Fix 6x to 7x regression where mixed cases OIDC json was not correctly process. See #2404 and #2402 for details.
Performance Improvements:
Update the benchmark configuration. See issue #2468.
Documentation:
Update comment for azp in JsonWebToken. See #2475 for details.
Addition of the ClientCertificates property to the HttpRequestData class enables exposure of certificate collection involved in authenticating the client against the server and unlock support of new scenarios within the SDK. See PR #2462 for details.
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/dotnet/roslyn-tools/network/alerts).
Bumps System.IdentityModel.Tokens.Jwt from 6.10.0 to 6.34.0.
Release notes
Sourced from System.IdentityModel.Tokens.Jwt's releases.
... (truncated)
Changelog
Sourced from System.IdentityModel.Tokens.Jwt's changelog.
... (truncated)
Commits
edcac44
release with small r6fac685
skip suffix for release builds2f945a4
update version to 6.34.074cc160
Merged PR 10242: Update Dev6x to fix the release build4845cf1
Merged PR 10239: Commenting out a constant which is not usede06dc84
Merged PR 10213: Set MaximumDeflateSize0b2f269
Merged PR 10182: Don't resolve jku claim by defaultc3e99cd
update build config version (#2350)8ea36a8
Update CHANGELOG.md (#2348)9d9925e
[Log Scrubbing] Clean up log messages in Wilson (#2339) (#2344)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