Skip to content

fix(store): fix some existing and new jwe bugs#2

Open
anisite wants to merge 4 commits intomasterfrom
bugfix/correct-new-jwe-bugs-and-older-ones
Open

fix(store): fix some existing and new jwe bugs#2
anisite wants to merge 4 commits intomasterfrom
bugfix/correct-new-jwe-bugs-and-older-ones

Conversation

@anisite
Copy link
Member

@anisite anisite commented Feb 23, 2025

Fixes JWE Key Handling

  • Resolves issues with key persistence in DatabaseJsonWebKeyStore.cs and FileSystemStore.cs.

Refactors JwtService.cs

  • Improves JWT processing.
  • Enhances error handling in encryption/decryption.

Updates JwtOptions.cs

  • Remove useless new option ExposedKeyType

Normalize

  • Add DefaultRevocationReason everywhere

Enhances Testing

  • Adds new test cases in JwtServiceTest.cs and FileSystemStoreTests.cs.
  • Add DatabaseInMemoryStoreTests
  • Enabled FileSystemStoreTests and fixed build on github
  • Strengthens reliability of JWE storage.

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

Successfully merging this pull request may close these issues.

1 participant

Comments