Comments (14)
@brockallen @AndersAbel 7.0.3-preview.1
works as expected in my setup, i. e. it works with .NET 8 and Load user profile: false
.
Thanks!
from identityserver.
@AndersAbel: Yes, you are right. CryptographicException.HResult
is -2147024894
.
from identityserver.
Thanks for the detailed info @Tobias-08. A couple of questions:
- Are you using automatic key management with the UseX509Certificate enabled, or are you supplying an x509 cert as a manual signing key?
- Do you need to avoid loading the user profile/is this preventing you from upgrading while we investigate?
from identityserver.
@josephdecock Thanks for your response. Regarding your questions:
- We are using automatic key management with
UseX509Certificate
enabled (because we are using RSK's WS-Federation plugin which requires this). - We are not in production yet so we are not blocked for the moment.
from identityserver.
This has been asked about before in another support channel. I think that you are right @Tobias-08 that there is a change in behaviour of the constructor. It looks like the exception type thrown has changed in .NET 8 so we might need to update our code to detect the new exception type.
from identityserver.
It looks like this is due to a changed behaviour from .NET 7 and up: dotnet/runtime@43c4405
Moving to IdentityServer repo to fix it.
from identityserver.
@brockallen @josephdecock The exception type was changed in .NET 7. So technically we should patch IdSrv 6.x. But end of life for .NET 7 is less than two months away. I think a fix for IdSrv 7.x is enough. What do you think?
from identityserver.
@Tobias-08 Do you think you could help me to get a value out of the exception thrown? I would need the value of CryptographicException.HResult
. I assume that it should be 0x80070002
(= -2147024894
), but I would like to verify before creating the patch.
from identityserver.
@Tobias-08 Thank you!
from identityserver.
@Tobias-08 If we merge this and put out a preview on Nuget, would you be able to help us test it?
@brockallen Could we merge this and put out another preview on 7.0.2 to get it tested in a proper environment? It's obviously not testable on a local development setup because the user profile is always available then.
from identityserver.
@AndersAbel Yes, of course.
from identityserver.
We're working on putting out a 7.0.3-preview.1 to test.
from identityserver.
We've pushed a 7.0.3-preview.1 to NuGet with the proposed fix. Please have a look and let us know how it works. Thanks.
from identityserver.
7.0.3 Has been pushed to NuGet. Thanks!
from identityserver.
Related Issues (20)
- Check for empty ClientIds and Types collections in PersistedGrantFilter HOT 2
- Rewrite LicenseValidator.ValidateClient to not use ConcurrentDictionary HOT 1
- Consider post-quantum cryptography sample
- Consider allowing customization of PromptValuesSupported
- Consider allowing multiple IEventSink registrations HOT 2
- Investigate support for X509 Certs and EC Keys HOT 1
- Add logging when DistributedCacheStateDataFormatter returns null HOT 6
- Let EF migrations create default table names
- GetIdentityServerRelativeUrl should take into account when IdentityServer is running at a subpath HOT 1
- Claim Issuer not persisted when using Server Side Sessions HOT 3
- Infinite loop when max_age=0
- IdentityServer Error LogLevel HOT 1
- Identity Server Login and Logout Localization Limitations HOT 6
- Add server side session support for the external cookie scheme HOT 2
- Cookie Expiration with Serverside sessions doesn't revoke tokens
- Consider lowering the ClockSkew in TokenValidator
- Consider letting redirect url respect response_mode after receiving invalid request on authorization endpoint
- Consider extensibility point for sub/sid validation during endsession HOT 1
- Consider adding strict license check for features in dev/test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from identityserver.